#18120 closed defect (fixed)
gdbm portfile should disable ccache
Reported by: | garribald@… | Owned by: | digdog@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | gdbm ccache | Cc: | |
Port: | gdbm |
Description
If ccache is globally enabled in macports.conf, the current gdbm port throws up an error on my Mac (OS X 10.4.11, MacPorts 1.7). On a local portfile with the line "configure.ccache no" or globally disabled ccache it compiles and installs fine. Hence i suggest adding
configure.ccache no
to the portfile as far as the following log doesn't indicate some totally different problem of whatever sort.
I'll attach the full log, but quote here the last part, which points to ccache:
/bin/sh ./libtool --mode=link ccache /usr/bin/gcc-4.0 -o libgdbm.la -rpath /opt/local/lib \ -version-info 3 0 0 gdbmopen.lo gdbmdelete.lo gdbmfetch.lo gdbmstore.lo gdbmclose.lo gdbmreorg.lo gdbmseq.lo gdbmsync.lo gdbmerrno.lo gdbmexists.lo gdbmfdesc.lo gdbmsetopt.lo bucket.lo falloc.lo findkey.lo global.lo hash.lo update.lo version.lo rm -fr .libs/libgdbm.la .libs/libgdbm.* .libs/libgdbm.* ccache -dynamiclib -flat_namespace -undefined suppress -o .libs/libgdbm.3.0.0.dylib gdbmopen.lo gdbmdelete.lo gdbmfetch.lo gdbmstore.lo gdbmclose.lo gdbmreorg.lo gdbmseq.lo gdbmsync.lo gdbmerrno.lo gdbmexists.lo gdbmfdesc.lo gdbmsetopt.lo bucket.lo falloc.lo findkey.lo global.lo hash.lo update.lo version.lo -lc -install_name /opt/local/lib/libgdbm.3.dylib -compatibility_version 4 -current_version 4.0 ccache: illegal option -- d ccache, a compiler cache. Version 2.4 Copyright Andrew Tridgell, 2002 Usage: ccache [options] ccache compiler [compile options] compiler [compile options] (via symbolic link) Options: -s show statistics summary -z zero statistics -c run a cache cleanup -C clear the cache completely -F <maxfiles> set maximum files in cache -M <maxsize> set maximum size of cache (use G, M or K) -h this help page -V print version number make: *** [libgdbm.la] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_gdbm/work/gdbm-1.8.3" && nice -n 18 make all " returned error 2 Command output: rm -f gdbm.h cp ./gdbm.proto gdbm.h chmod +w gdbm.h grep _ ./gdbmerrno.h >> gdbm.h cat ./gdbm.proto2 >> gdbm.h chmod -w gdbm.h rm -f libgdbm.la /bin/sh ./libtool --mode=link ccache /usr/bin/gcc-4.0 -o libgdbm.la -rpath /opt/local/lib \ -version-info 3 0 0 gdbmopen.lo gdbmdelete.lo gdbmfetch.lo gdbmstore.lo gdbmclose.lo gdbmreorg.lo gdbmseq.lo gdbmsync.lo gdbmerrno.lo gdbmexists.lo gdbmfdesc.lo gdbmsetopt.lo bucket.lo falloc.lo findkey.lo global.lo hash.lo update.lo version.lo rm -fr .libs/libgdbm.la .libs/libgdbm.* .libs/libgdbm.* ccache -dynamiclib -flat_namespace -undefined suppress -o .libs/libgdbm.3.0.0.dylib gdbmopen.lo gdbmdelete.lo gdbmfetch.lo gdbmstore.lo gdbmclose.lo gdbmreorg.lo gdbmseq.lo gdbmsync.lo gdbmerrno.lo gdbmexists.lo gdbmfdesc.lo gdbmsetopt.lo bucket.lo falloc.lo findkey.lo global.lo hash.lo update.lo version.lo -lc -install_name /opt/local/lib/libgdbm.3.dylib -compatibility_version 4 -current_version 4.0 ccache: illegal option -- d ccache, a compiler cache. Version 2.4 Copyright Andrew Tridgell, 2002 Usage: ccache [options] ccache compiler [compile options] compiler [compile options] (via symbolic link) Options: -s show statistics summary -z zero statistics -c run a cache cleanup -C clear the cache completely -F <maxfiles> set maximum files in cache -M <maxsize> set maximum size of cache (use G, M or K) -h this help page -V print version number make: *** [libgdbm.la] Error 1 Warning: the following items did not execute (for gdbm): org.macports.destroot org.macports.build DEBUG: invalid command name "::ui_init" while executing "::ui_init $priority $prefix $channels $message" ("uplevel" body line 2) invoked from within "uplevel 1 $body" Error: Unable to upgrade port: 1
Attachments (1)
Change History (4)
Changed 16 years ago by garribald@…
Attachment: | gdbm-log.txt added |
---|
comment:1 Changed 16 years ago by blb@…
Owner: | changed from macports-tickets@… to digdog@… |
---|
comment:2 Changed 16 years ago by digdog@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
fixed in r45747