Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

#11838 closed defect (fixed)

libgii doesn't build in clean environment

Reported by: kballard (Lily Ballard) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.4.3
Keywords: Cc: simon@…
Port: libgii

Description

I have a completely clean MacPorts environment and libgii failed to build. I believe it to be missing a dependency.

--->  Fetching libgii
--->  Attempting to fetch libgii-0.9.1.src.tar.bz2 from http://www.ggi-project.org/ftp/ggi/v2.1/
--->  Verifying checksum(s) for libgii
--->  Extracting libgii
--->  Configuring libgii
--->  Building libgii with target all
Error: Target com.apple.build returned: shell command " cd "/Users/kevin/opt/local/var/db/dports/build/_Users_kevin_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_libgii/work/libgii-0.9.1" && make all " returned error 2
Command output: then mv -f ".deps/xsendbut.Tpo" ".deps/xsendbut.Po"; else rm -f ".deps/xsendbut.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/Users/kevin/opt/local/lib -o xsendbut  xsendbut.o -L/usr/X11R6/lib -lX11  
gcc -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -o xsendbut xsendbut.o  -L/Users/kevin/opt/local/lib -L/usr/X11R6/lib -lX11
/usr/bin/ld: warning -L: directory name (/Users/kevin/opt/local/lib) does not exist
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I..  -I/usr/X11R6/include  -I/Users/kevin/opt/local/include  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT demo.o -MD -MP -MF ".deps/demo.Tpo" -c -o demo.o demo.c; \
then mv -f ".deps/demo.Tpo" ".deps/demo.Po"; else rm -f ".deps/demo.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/Users/kevin/opt/local/lib -o demo  demo.o ../gii/libgii.la 
gcc -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -o demo demo.o  -L/Users/kevin/opt/local/lib -L../gii/.libs -lgii -L/Users/kevin/opt/local/var/db/dports/build/_Users_kevin_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_libgii/work/libgii-0.9.1/gg/.libs -lgg -lpthread
/usr/bin/ld: warning -L: directory name (/Users/kevin/opt/local/lib) does not exist
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I..  -I/usr/X11R6/include  -I/Users/kevin/opt/local/include  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT inputinfo.o -MD -MP -MF ".deps/inputinfo.Tpo" -c -o inputinfo.o inputinfo.c; \
then mv -f ".deps/inputinfo.Tpo" ".deps/inputinfo.Po"; else rm -f ".deps/inputinfo.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/Users/kevin/opt/local/lib -o inputinfo  inputinfo.o ../gii/libgii.la 
gcc -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -o inputinfo inputinfo.o  -L/Users/kevin/opt/local/lib -L../gii/.libs -lgii -L/Users/kevin/opt/local/var/db/dports/build/_Users_kevin_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_libgii/work/libgii-0.9.1/gg/.libs -lgg -lpthread
/usr/bin/ld: warning -L: directory name (/Users/kevin/opt/local/lib) does not exist
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I..  -I/usr/X11R6/include  -I/Users/kevin/opt/local/include  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT filter.o -MD -MP -MF ".deps/filter.Tpo" -c -o filter.o filter.c; \
then mv -f ".deps/filter.Tpo" ".deps/filter.Po"; else rm -f ".deps/filter.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/Users/kevin/opt/local/lib -o filter  filter.o ../gii/libgii.la 
gcc -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -o filter filter.o  -L/Users/kevin/opt/local/lib -L../gii/.libs -lgii -L/Users/kevin/opt/local/var/db/dports/build/_Users_kevin_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_libgii/work/libgii-0.9.1/gg/.libs -lgg -lpthread
/usr/bin/ld: warning -L: directory name (/Users/kevin/opt/local/lib) does not exist
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I..  -I/usr/X11R6/include  -I/Users/kevin/opt/local/include  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\" -MT cpuinfo.o -MD -MP -MF ".deps/cpuinfo.Tpo" -c -o cpuinfo.o cpuinfo.c; \
then mv -f ".deps/cpuinfo.Tpo" ".deps/cpuinfo.Po"; else rm -f ".deps/cpuinfo.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -D__PRETTY_FUNCTION__=\"?\"  -L/Users/kevin/opt/local/lib -o cpuinfo  cpuinfo.o ../gg/libgg.la 
gcc -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration "-D__PRETTY_FUNCTION__=\"?\"" -o cpuinfo cpuinfo.o  -L/Users/kevin/opt/local/lib -L../gg/.libs -lgg -lpthread
/usr/bin/ld: warning -L: directory name (/Users/kevin/opt/local/lib) does not exist
/usr/bin/ld: Undefined symbols:
_ggGetSwarType
collect2: ld returned 1 exit status
make[2]: *** [cpuinfo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (5)

comment:1 Changed 17 years ago by simon@…

I just tested it and it works fine on PowerPC computers, it only fails on Intel (which I can also confirm).

Hope this helps, Simon

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: simon@… added

simon updated libgii to 1.0.2 in r30911, but on Mac OS X 10.4.11 Intel with Xcode 2.4.1, I still cannot build it.

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Port: libgii added
Priority: HighNormal

comment:4 Changed 16 years ago by tobypeterson

Resolution: fixed
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.