Modify

Opened 7 years ago

Closed 3 years ago

#9857 closed defect (wontfix)

Appweb fails to build with ccache enabled

Reported by: EqUaTe Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by jogo)

make[3]: Entering directory `/home/equate/source/openwrt/trunk/feeds/packages/net/appweb'
make -C /home/equate/source/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/appweb-3.2.2-1 AR=mips-openwrt-linux-uclibc-ar AS="ccache mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="ccache mips-openwrt-linux-uclibc-gcc" GCC="ccache mips-openwrt-linux-uclibc-gcc" CXX="ccache mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size
make[4]: Entering directory `/home/equate/source/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/appweb-3.2.2-1'
    [Notice] Building Embedthis Appweb 3.2.2. For command details, use "make TRACE=1".

    #
    #  Cross building for mips-openwrt-linux 
    #
   [Compile] src/mpr/http.c
Cleaned cache
/usr/bin/ccache: invalid option -- 'D'
Usage:
    ccache [options]
    ccache compiler [compiler options]
    compiler [compiler options]          (via symbolic link)

Options:
    -c, --cleanup         delete old files and recalculate size counters
                          (normally not needed as this is done automatically)
    -C, --clear           clear the cache completely
    -F, --max-files=N     set maximum number of files in cache to N (use 0 for
                          no limit)
    -M, --max-size=SIZE   set maximum size of cache to SIZE (use 0 for no
                          limit; available suffixes: G, M and K; default
                          suffix: G)
    -s, --show-stats      show statistics summary
    -z, --zero-stats      zero statistics counters

    -h, --help            print this help text
    -V, --version         print version and copyright information

See also <http://ccache.samba.org>.
   [DETAILS] /usr/bin/ccache -c   -DBUILDING_CROSS=1 -DPIC -I/home/equate/source/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/equate/source/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/equate/source/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/home/equate/source/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include    -Wall -Os -fPIC -G 0  -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float      -I../.. -I../../src/include http.c -o ../../obj/mips-openwrt-linux/http.o\n
make[8]: *** [../../obj/mips-openwrt-linux/http.o] Error 255
make[7]: *** [compileFirst] Error 2
make[6]: *** [compileDirs] Error 2
make[5]: *** [compileDirs] Error 2
make[4]: *** [compile] Error 255
make[4]: Leaving directory `/home/equate/source/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/appweb-3.2.2-1'
make[3]: *** [/home/equate/source/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/appweb-3.2.2-1/.built] Error 2
make[3]: Leaving directory `/home/equate/source/openwrt/trunk/feeds/packages/net/appweb'

If you turn ccache off and do make package/appweb/{clean,compile} it works fine.
This is on r27840

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by jogo

  • Description modified (diff)

comment:2 Changed 7 years ago by EqUaTe

Thanks for reformatting jogo. I should have mentioned that this is on ar71xx, I've not checked if it's platform-specific.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

Appweb is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.