Opened 20 years ago

Closed 20 years ago

#2566 closed defect (worksforme)

pkgconfig-0.15.0 does not compile

Reported by: kfisher1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

code586:/Users/kfisher/darwinports/base root# port clean pkgconfig ---> Cleaning pkgconfig code586:/Users/kfisher/darwinports/base root# port install pkgconfig ---> Fetching pkgconfig ---> Verifying checksum(s) for pkgconfig ---> Extracting pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig with target all Error: Target com.apple.build returned: shell command "cd "/Users/kfisher/darwinports/dports/devel/ pkgconfig/work/pkgconfig-0.15.0" && make all" returned error 2 Command output: /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c -o gcompletion.o echo timestamp > gcompletion.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c -o gdataset.o echo timestamp > gdataset.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c -o gdate.o echo timestamp > gdate.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c -o gerror.o echo timestamp > gerror.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c -o ghash.o echo timestamp > ghash.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c -o ghook.o echo timestamp > ghook.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c -o giochannel.o echo timestamp > giochannel.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c -o giounix.o giounix.c:233: only 1 arg to macro 'g_warning' (2 expected) cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[4]: * [giounix.lo] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all-recursive-am] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

code586:/Users/kfisher/darwinports/base root# gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

I updated darwinports from CVS yesterday at 1pm EST, and installed the November 2004 gcc 3.3 Updater from Apple. I read that someone else (http://www.opendarwin.org/pipermail/darwinports/ 2004-June/021395.html) had a similar problem which was caused by a 'permissions issue' (http:// www.opendarwin.org/pipermail/darwinports/2004-June/021428.html), but I'm not sure if this is possible while running as root. I also had the package checksum error (http://bugzilla.opendarwin.org/ show_bug.cgi?id=2565), which prompted the update of darwinports. The update eliminated that problem and introduced this one.

Change History (1)

comment:1 Changed 20 years ago by kfisher1@…

Resolution: worksforme
Status: newclosed

Interesting, it builds now. As the listing below shows, I tried to install it, got a compile error, checked the compiler version, tried the install again, and now it works.

code586:/Users/kfisher/darwinports/base root# port clean pkgconfig ---> Cleaning pkgconfig code586:/Users/kfisher/darwinports/base root# port install pkgconfig ---> Fetching pkgconfig ---> Verifying checksum(s) for pkgconfig ---> Extracting pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig with target all Error: Target com.apple.build returned: shell command "cd "/Users/kfisher/darwinports/dports/devel/ pkgconfig/work/pkgconfig-0.15.0" && make all" returned error 2 Command output: /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c -o gcompletion.o echo timestamp > gcompletion.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c -o gdataset.o echo timestamp > gdataset.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c -o gdate.o echo timestamp > gdate.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c -o gerror.o echo timestamp > gerror.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c -o ghash.o echo timestamp > ghash.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c -o ghook.o echo timestamp > ghook.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c -o giochannel.o echo timestamp > giochannel.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c -o giounix.o giounix.c:233: only 1 arg to macro 'g_warning' (2 expected) cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[4]: * [giounix.lo] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all-recursive-am] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

code586:/Users/kfisher/darwinports/base root# gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1671) code586:/Users/kfisher/darwinports/base root# port install pkgconfig ---> Building pkgconfig with target all ---> Staging pkgconfig into destroot ---> Packaging cpgz archive for pkgconfig 0.15.0_4 ---> Installing pkgconfig 0.15.0_4 ---> Activating pkgconfig 0.15.0_4 ---> Cleaning pkgconfig code586:/Users/kfisher/darwinports/base root#

Note: See TracTickets for help on using tickets.