Opened 19 years ago

Closed 19 years ago

#3463 closed defect (fixed)

BUG: libgnome fails to build

Reported by: cjr@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Mac OS X 10.4.1 and Xcode 2.1:

$ sudo port -vdf install Password: DEBUG: Changing to port directory: /Users/cjr/Documents/Projects/darwinports/dports/gnome/ libgnome DEBUG: Requested variant powerpc is not provided by port libgnome. DEBUG: Requested variant darwin is not provided by port libgnome. DEBUG: Requested variant macosx is not provided by port libgnome. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/audio/esound DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/audio/esound DEBUG: Searching for dependency: esound DEBUG: Found Dependency: receipt exists for esound DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gnome-vfs DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gnome-vfs DEBUG: Searching for dependency: gnome-vfs DEBUG: Found Dependency: receipt exists for gnome-vfs DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/scrollkeeper DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/scrollkeeper DEBUG: Searching for dependency: scrollkeeper DEBUG: Found Dependency: receipt exists for scrollkeeper DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/libiconv DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Skipping completed com.apple.main (libgnome) DEBUG: Skipping completed com.apple.unarchive (libgnome) DEBUG: Skipping completed com.apple.fetch (libgnome) DEBUG: Skipping completed com.apple.checksum (libgnome) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed com.apple.extract (libgnome) DEBUG: Skipping completed com.apple.patch (libgnome) DEBUG: Skipping completed com.apple.configure (libgnome) ---> Building libgnome with target all DEBUG: Executing com.apple.build (libgnome) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._Users_cjr_Documents_Projects_darwinports_dports_gnome_libgnome/work/libgnome-2.10.0" && make all' make all-recursive Making all in libgnome make all-am if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -Wall -Wmissing- prototypes -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/bonobo- activation-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/ orbit-2.0 -I/opt/local/include -DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\""/opt/local"\" - DLIBGNOME_LIBDIR=\""/opt/local/lib"\" -DLIBGNOME_DATADIR=\""/opt/local/share"\" - DLIBGNOME_BINDIR=\""/opt/local/bin"\" -DLIBGNOME_LOCALSTATEDIR=\""/opt/local/var"\" - DLIBGNOME_SYSCONFDIR=\""/opt/local/etc"\" -DVERSION=\""2.10.0"\" -DGNOMEVFSVERSION= \"2.10.0\" -DG_LOG_DOMAIN=\"Gnome\" -L/opt/local/lib -I/opt/local/include -flat_namespace - undefined suppress -MT gnome-gconf.lo -MD -MP -MF ".deps/gnome-gconf.Tpo" \

-c -o gnome-gconf.lo test -f 'gnome-gconf.c' || echo './'gnome-gconf.c; \

then mv -f ".deps/gnome-gconf.Tpo" ".deps/gnome-gconf.Plo"; \ else rm -f ".deps/gnome-gconf.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -Wall -Wmissing-prototypes -DORBIT2=1 -I/opt/local/

include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/ lib/gnome-vfs-2.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/ libbonobo-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include - DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/opt/local\" -DLIBGNOME_LIBDIR=\"/opt/local/lib\" -DLIBGNOME_DATADIR=\"/opt/local/share\" -DLIBGNOME_BINDIR=\"/opt/local/bin\" - DLIBGNOME_LOCALSTATEDIR=\"/opt/local/var\" -DLIBGNOME_SYSCONFDIR=\"/opt/local/etc\" - DVERSION=\"2.10.0\" -DGNOMEVFSVERSION=\"2.10.0\" -DG_LOG_DOMAIN=\"Gnome\" -L/opt/local/ lib -I/opt/local/include -flat_namespace -undefined suppress -MT gnome-gconf.lo -MD -MP - MF .deps/gnome-gconf.Tpo -c gnome-gconf.c -fno-common -DPIC -o .libs/gnome-gconf.o gnome-gconf.c:33: error: array type has incomplete element type In file included from ../libgnome/gnome-program.h:35,

from ../libgnome/libgnome.h:29, from gnome-gconf.c:37:

/opt/local/include/popt.h:444: warning: type qualifiers ignored on function return type make[3]: * [gnome-gconf.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

$ port installed | grep popt

popt 1.7_3 (active)

Change History (6)

comment:1 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

fixed, thanks

comment:2 Changed 19 years ago by m@…

I just did 'port sync' and 'port selfupdate' but it still fails to build with the same error.

comment:3 Changed 19 years ago by m@…

gnome-gconf.c:33: error: array type has incomplete element type In file included from ../libgnome/gnome-program.h:35,

from ../libgnome/libgnome.h:29, from gnome-gconf.c:37:

/opt/local/include/popt.h:444: warning: type qualifiers ignored on function return type make[3]: * [gnome-gconf.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

As I said before, I have sync'd recently as the new fix for AquaLess (#3626) showed up. So maybe it is not fixed yet?

comment:4 Changed 19 years ago by olegb@…

Resolution: fixed
Status: closedreopened

I cannot reproduce this (not on 10.3 or 10.4), have you cleaned the workdir ?

please try to clean, and add a full debug'ed log. Also are you on 10.4 or 10.3 ?

comment:5 Changed 19 years ago by m@…

(In reply to comment #4)

I cannot reproduce this (not on 10.3 or 10.4), have you cleaned the workdir ?

please try to clean, and add a full debug'ed log. Also are you on 10.4 or 10.3 ?

I am sorry, I never did clean it. I thought selfupdate cleaned, but I did a clean -all and it built fine.

Thank you!

comment:6 Changed 19 years ago by olegb@…

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.