Opened 19 years ago

Closed 18 years ago

#3694 closed defect (fixed)

BUG: libgnome fails to build w/incompatible array elem type in gnome-gconf.c

Reported by: eatmorepossom@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: rhwood@…, markd@…
Port:

Description

I've now switched gears, and am trying to install target gnome-desktop. It gets as far as libgnome, and fails with the error illustrated below in port -v install output.

I'm on 10.4.1, XCode 2.1. I am actually installing from a relatively virgin environment (root). I nuked /opt/local and reinstalled DP from the .dmg; this should be about as generic as it gets. I do have some custom stuff in /usr/local, but that's not referenced in root's environment (listed below).

dhcp-x-x-x-x:~ root# printenv SHELL=/bin/sh TERM=xterm USER=root PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin PWD=/var/root SHLVL=1 HOME=/var/root _=/usr/bin/printenv dhcp-x-x-x-x:~ root#

dhcp-x-x-x-x:~ root# port install -v gnome-desktop ---> Building libgnome with target 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 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnome/work/libgnome-2.10.0" && make all" returned error 2 Command output: 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

Warning: the following items did not execute (for libgnome): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: The following dependencies failed to build: gnome-themes startup-notification libgnomeui gnome-keyring gnome-icon-theme libbonoboui libgnomecanvas libglade2 libgnome dhcp-x-x-x-x:~ root#

Attachments (1)

Portfile.diff (1.3 KB) - added by markd@… 18 years ago.
Portfile diff

Download all attachments as: .zip

Change History (7)

comment:1 Changed 19 years ago by pguyot (Paul Guyot)

Cc: darwinports-bugs@… added
Component: basedports
Owner: changed from darwinports-bugs@… to gnome-darwinports@…

When filing a bug related to a port, please:

  • set the component to dports
  • assign the bug to the port's maintainer(s).

comment:2 Changed 19 years ago by mww@…

Summary: libgnome fails to build w/incompatible array elem type in gnome-gconf.cBUG: libgnome fails to build w/incompatible array elem type in gnome-gconf.c

comment:3 Changed 18 years ago by rhwood@…

Cc: darwinports-bugs@… removed
Status: newassigned

Is this bug still reproducable?

Changed 18 years ago by markd@…

Attachment: Portfile.diff added

Portfile diff

comment:4 Changed 18 years ago by markd@…

(In reply to comment #3)

Created an attachment (id=6762) [edit] Portfile diff

Oops. Please ignore this attachment. I attached this to the wrong bug.

comment:5 Changed 18 years ago by markd@…

Cc: rhwood@… markd@… added

(In reply to comment #2)

Is this bug still reproducable?

No. It installs fine so this can be closed.

comment:6 Changed 18 years ago by rhwood@…

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