Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145722 - gnome-extra/gtop-1.0.13-r2 fails on gcc 4.1.1 at mdi.c
Summary: gnome-extra/gtop-1.0.13-r2 fails on gcc 4.1.1 at mdi.c
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 117482 gnome1-removal
  Show dependency tree
 
Reported: 2006-08-31 09:13 UTC by simon
Modified: 2006-11-26 08:32 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This makes the declarations consistent. (gtop-1.0.13-mdi-static.patch,869 bytes, patch)
2006-11-10 12:53 UTC, Gordon Oliver
Details | Diff
An ebuild including the mdi-static patch. (gtop-1.0.13-r3.ebuild,1.12 KB, text/plain)
2006-11-10 12:55 UTC, Gordon Oliver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2006-08-31 09:13:26 UTC
gnome-extra/gtop-1.0.13-r2 fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include						-I./intl -I./intl		-DGNOMELOCALEDIR=\""/usr/share/locale"\" 		-DLOCALEDIR=\"/usr/share/locale\"			-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -pipe -march=athlon-xp -fomit-frame-pointer -Wall -Wunused  -c mdi.c
mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static declaration
mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static declaration
mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static declaration
mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
mdi.c: In function 'drag_data_received':
mdi.c:262: warning: pointer targets in passing argument 1 of 'gtop_page_create_from_config' differ in signedness
make[2]: *** [mdi.o] Error 1

I don't know if there's a version in upstream that  fixes this. Hope I'm right here.

------------
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/nfs_portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cddb cdparanoia cdr cjk cli crypt cups dlloader dri dts dvd dvdr eds emboss encode f77 fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 idn imlib ipv6 isdnlog jpeg kde libg++ libwww mad md5sum mikmod mmx mmxext motif mp3 mpeg musepack ncurses nls nptl nptlonly nvidia offensive ogg opengl oss pam pcre pdflib perl png postgres pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sse ssl tcl tcltk tcpd tiff tk truetype truetype-fonts type1-fonts udev usb vorbis win32codecs x264 xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diogo Tridapalli 2006-09-14 13:56:12 UTC
similar error here, but in fromtop.c.

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                                 -I./intl -I./intl                -DGNOMELOCALEDIR=\""/usr/share/locale"\"       -DLOCALEDIR=\"/usr/share/locale\"                -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3 -Wall -Wunused  -c fromtop.c
mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static declaration
mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static declaration
mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static declaration
mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
mdi.c: In function 'drag_data_received':
mdi.c:262: warning: pointer targets in passing argument 1 of 'gtop_page_create_from_config' differ in signedness
make[2]: *** [mdi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtop-1.0.13-r2.ebuild, line 42:   Called die


----------------------
Gentoo Base System version 1.12.4
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r5 i686)
=================================================================
System uname: 2.6.17-gentoo-r5 i686 AMD Athlon(tm)64 X2 Dual Core Processor  3800+
Last Sync: Wed, 13 Sep 2006 18:30:07 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pt_BR en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acpi alsa arts audiofile bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cddb cdparanoia cdr cli crypt cups dbus dga divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd fam firefox foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux ldap libg++ linguas_en linguas_pt_BR live mad mikmod mjpeg mmx mmxext mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf pdflib perl pic png ppds pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl svg sysfs tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia video_cards_vesa vorbis win32codecs wmf xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 adam turner 2006-09-18 10:20:08 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                                 -I./intl -I./intl                -DGNOMELOCALEDIR=\""/usr/share/locale"\"       -DLOCALEDIR=\"/usr/share/locale\"                        -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -Wunused  -c mdi.c
mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static declaration
mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static declaration
mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static declaration
mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
mdi.c: In function 'drag_data_received':
mdi.c:262: warning: pointer targets in passing argument 1 of 'gtop_page_create_from_config' differ in signedness
make[2]: *** [mdi.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtop-1.0.13-r2.ebuild, line 42:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 adam turner 2006-09-18 10:21:54 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                                 -I./intl -I./intl                -DGNOMELOCALEDIR=\""/usr/share/locale"\"       -DLOCALEDIR=\"/usr/share/locale\"                        -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -Wunused  -c mdi.c
mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static declaration
mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static declaration
mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static declaration
mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
mdi.c: In function 'drag_data_received':
mdi.c:262: warning: pointer targets in passing argument 1 of 'gtop_page_create_from_config' differ in signedness
make[2]: *** [mdi.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtop-1.0.13-r2.ebuild, line 42:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
(In reply to comment #2)
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                                
> -I./intl -I./intl                -DGNOMELOCALEDIR=\""/usr/share/locale"\"      
> -DLOCALEDIR=\"/usr/share/locale\"                       
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
> -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP
> -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include  -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall
> -Wunused  -c mdi.c
> mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static
> declaration
> mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
> mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static
> declaration
> mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
> mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static
> declaration
> mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
> mdi.c: In function 'drag_data_received':
> mdi.c:262: warning: pointer targets in passing argument 1 of
> 'gtop_page_create_from_config' differ in signedness
> make[2]: *** [mdi.o] Error 1
> make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
> make: *** [all-recursive-am] Error 2
> 
> !!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_compile
>   ebuild.sh, line 937:   Called src_compile
>   gtop-1.0.13-r2.ebuild, line 42:   Called die
> 
> !!! (no error message)
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> 

oh yea...

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 12:00:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa bitmap-fonts bzip2 cdr cli crypt cups divx dlloader dri elibc_glibc ethereal exif firefox flac gd gif gmedia gnome gtk gtk2 hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 java jikes jpeg kerberos kernel_linux krb4 lcms ldap ldapsam libg++ libwww mad mmx mmxext mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf perl png python quicktime rdesktop readline real reflection sdl session skins soap sockets spell spl sse sse-filters sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vlm vorbis win32codecs wmp wxwindows xml xmms xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 daryl 2006-10-22 07:48:27 UTC
gnome-extra/gtop-1.0.13-r2 fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                                          -I./intl -I./intl               -DGNOMELOCALEDIR=\""/usr/share/locale"\"            -DLOCALEDIR=\"/usr/share/locale\"                       -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP -DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O3 -march=pentium4 -pipe -Wall -Wunused  -c procview.c
mdi.c:49: error: non-static declaration of 'addProcChildMenu' follows static declaration
mdi.c:16: error: previous declaration of 'addProcChildMenu' was here
mdi.c:63: error: non-static declaration of 'addMemChildMenu' follows static declaration
mdi.c:14: error: previous declaration of 'addMemChildMenu' was here
mdi.c:92: error: non-static declaration of 'addFsChildMenu' follows static declaration
mdi.c:15: error: previous declaration of 'addFsChildMenu' was here
mdi.c: In function 'drag_data_received':
mdi.c:262: warning: pointer targets in passing argument 1 of 'gtop_page_create_from_config' differ in signedness
make[2]: *** [mdi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtop-1.0.13-r2.ebuild, line 42:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

 emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-no2 i686)
=================================================================
System uname: 2.6.18-no2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 21 Oct 2006 18:00:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acpi aim aimextras alsa amr apache2 apm applet arts artworkextra asf audacious audiofile authfile berkdb binary-drivers bitmap-fonts bittorrent bzip2 cdda cddb cdinstall cdio cdparanoia cdr cdrom cli cpudetection cracklib crypt css cups dlloader dnotify dpms dri dvd dvdr dvdread eds elibc_glibc emboss encode escreen esd exif fam fame ffmpeg firefox flac flash foomaticdb fortran ftp gaim gdbm geoip gg gif gimp gimpprint gnome gnome-print gpm gstreamer gtalk gtk gtk2 gzip hal hddtemp high-ints hou html http httpd icecast icons icp icq id3 idn ifsession imagemagick imap imlib infopipe input_devices_keyboard input_devices_mouse ipv6 irc isdnlog jabber java javascript john jpeg jpeg2k kde kdm kerberos kernel_linux lame libg++ libwww linguas_en live lm_sensors logitech-mouse logrotate lzo lzw mad matroska md5sum meanwhile mikmod mime mjpeg mmap mmx mmxext mng motif mozsvg mp3 mp4 mp4live mpeg mpeg2 mppe-mppc mschap msn msnextras multiuser musicbrainz nautilus ncurses network new-login nls nptl nptlonly nsplugin offensive ogg opengl opensslcrypt oss pam pcre pdf perl php pic png pppd pwdb python qt3 qt4 quicktime rar rdesktop readline real reflection reiserfs rewrite samba sametime sdl search sendfile sensord session shape silc sitemisc smp sndfile snmp softquota sou spell spl sse sse2 ssl svg svga svgz szip tagwriting tcltk tcpd tga theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_nv vidix vnc vorbis win32codecs winbind wma wmf wxwindows xine xml xmms xorg xosd xpm xscreensaver xv xvid xvmc yahoo yv12 zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Gordon Oliver 2006-11-10 12:53:49 UTC
Created attachment 101626 [details, diff]
This makes the declarations consistent.

Here's a patch to fix it. I'll also attach a modified e-build (-r3) that will use it.
Comment 6 Gordon Oliver 2006-11-10 12:55:03 UTC
Created attachment 101627 [details]
An ebuild including the mdi-static patch.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 08:32:21 UTC
p.masked for gnome-1 removal -> WONTFIX.