Opened 15 years ago

Closed 15 years ago

#21165 closed defect (fixed)

libgtop fails to build while installing gnome on snow leopard

Reported by: thedoobs@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snow-leopard Cc:
Port: libgtop

Description

Output of "sudo port install gnome":

--->  Computing dependencies for gnome
--->  Building libgtop
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgtop/work/libgtop-2.26.1" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in po
make[2]: Nothing to be done for `all'.
Making all in misc
make[2]: Nothing to be done for `all'.
Making all in include
Making all in glibtop
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in sysdeps
Making all in common
make[3]: Nothing to be done for `all'.
Making all in darwin
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -Winline 	-Wall 	-std=gnu89 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare 	-O2 -arch x86_64  -L/opt/local/lib -o libgtop_sysdeps-2.0.la  nosuid.lo siglist.lo sysinfo.lo  
/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/darwin -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include -I/opt/local/include/libgtop-2.0 -DHAVE_GLIBTOP_MACHINE_H -DHAVE_LIBGTOP_SYSINFO -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include  -Winline 	-Wall 	-std=gnu89 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith 	-Wcast-align -Wsign-compare 	-O2 -arch x86_64 -MT proclist.lo -MD -MP -MF .deps/proclist.Tpo -c -o proclist.lo proclist.c
ar cru .libs/libgtop_sysdeps-2.0.a .libs/nosuid.o .libs/siglist.o .libs/sysinfo.o
ranlib .libs/libgtop_sysdeps-2.0.a
creating libgtop_sysdeps-2.0.la
(cd .libs && rm -f libgtop_sysdeps-2.0.la && ln -s ../libgtop_sysdeps-2.0.la libgtop_sysdeps-2.0.la)
/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/darwin -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include -I/opt/local/include/libgtop-2.0 -DHAVE_GLIBTOP_MACHINE_H -DHAVE_LIBGTOP_SYSINFO -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include  -Winline 	-Wall 	-std=gnu89 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith 	-Wcast-align -Wsign-compare 	-O2 -arch x86_64 -MT procuid.lo -MD -MP -MF .deps/procuid.Tpo -c -o procuid.lo procuid.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/darwin -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/libgtop-2.0 -DHAVE_GLIBTOP_MACHINE_H -DHAVE_LIBGTOP_SYSINFO -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -arch x86_64 -MT proclist.lo -MD -MP -MF .deps/proclist.Tpo -c proclist.c  -fno-common -DPIC -o .libs/proclist.o
proclist.c:47: error: conflicting types for 'glibtop_get_proclist_p'
../../include/glibtop/proclist.h:81: error: previous declaration of 'glibtop_get_proclist_p' was here
make[3]: *** [proclist.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/darwin -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/libgtop-2.0 -DHAVE_GLIBTOP_MACHINE_H -DHAVE_LIBGTOP_SYSINFO -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -arch x86_64 -MT procuid.lo -MD -MP -MF .deps/procuid.Tpo -c procuid.c  -fno-common -DPIC -o .libs/procuid.o
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/darwin -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/libgtop-2.0 -DHAVE_GLIBTOP_MACHINE_H -DHAVE_LIBGTOP_SYSINFO -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -arch x86_64 -MT procuid.lo -MD -MP -MF .deps/procuid.Tpo -c procuid.c -o procuid.o >/dev/null 2>&1
mv -f .deps/procuid.Tpo .deps/procuid.Plo
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gnome-desktop-suite bug-buddy libgtop dasher at-spi libwnck xorg-libXres xorg-resourceproto empathy enchant hunspell gnome-panel librsvg libcroco libgsf policykit-gnome gst-plugins-bad XviD dirac cppunit exempi faac mp4v2 faad2 gst-plugins-base gstreamer gzip libogg liboil libtheora libvorbis jack libsndfile flac libdca libexif libmms libmodplug libmpcdec neon schroedinger soundtouch gst-plugins-good aalib libcaca libcdio libcddb libdv libshout2 speex taglib wavpack libcanberra libnotify telepathy-farsight farsight2 gst-plugins-farsight libnice gst-python telepathy-glib telepathy-haze pidgin libao telepathy-mission-control libtelepathy eog epiphany py25-gnome py25-orbit xulrunner findutils heimdal evince libspectre nautilus libunique poppler openjpeg poppler-data file-roller gcalctool gconf-editor gdm libxklavier gedit gtksourceview2 py25-pygtksourceview gnome-applets gnome-settings-daemon libgnomekbd xmodmap gucharmap gnome-backgrounds gnome-control-center metacity zenity gnome-games ggz-client-libs libggz gnome-python-desktop gnome-media gtksourceview gnuregex libgnomeprint libgnomecups libgnomeprintui totem-pl-parser guile libsdl_mixer libsdl smpeg gnome-mag gnome-netstatus gnome-session gnome-sharp2 gtk-sharp2 mono icu libgdiplus gnome-speech gnome-system-monitor gtkmm cairomm libsigcxx2 glibmm pangomm gnome-terminal vte gnome-user-docs gnome-utils libgail-gnome libgtkhtml3 liboobs system-tools-backends p5-net-dbus p5-xml-twig seahorse seahorse-plugins totem gst-ffmpeg gmake gst-plugins-ugly a52dec lame libdvdread libdvdcss libid3tag libmad libmpeg2 xorg-libXv xorg-videoproto twolame x264 vino yelp gnome-platform-suite gnome-vfs-monikers
Error: Status 1 encountered during processing.

Attachments (1)

patch-sysdeps__darwin__proclist.c (345 bytes) - added by tobypeterson 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by blb@…

Keywords: libgtop removed
Owner: changed from macports-tickets@… to devans@…
Port: libgtop added

Changed 15 years ago by tobypeterson

comment:2 Changed 15 years ago by tobypeterson

attached should probably do it - didn't test though

comment:3 Changed 15 years ago by smibrahim@…

any update ? is the patch applied ? i am still getting error.

comment:4 in reply to:  3 Changed 15 years ago by thedoobs@…

Replying to smibrahim@…:

any update ? is the patch applied ? i am still getting error.

I manually applied the patch and got libgtop to compile, but gnome now fails at exempi (which is different problem).

comment:5 Changed 15 years ago by dbevans (David B. Evans)

Status: newassigned

comment:6 Changed 15 years ago by dbevans (David B. Evans)

Keywords: snow-leopard added; gnome removed
Summary: gnome install fails at libgtoplibgtop fails to build while installing gnome on snow leopard

Please specify which version of the OS and architecture you are using. Looks like snow leopard.

comment:7 Changed 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Patch committed in r57576.

Note: See TracTickets for help on using tickets.