Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261794 - dev-python/libgtop-python emerge fails with compilation error in gtop.c, missing header files
Summary: dev-python/libgtop-python emerge fails with compilation error in gtop.c, miss...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 02:10 UTC by Trevor Bowen
Modified: 2009-03-09 16:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Bowen 2009-03-09 02:10:14 UTC
I recently synced and am trying to update world (emerge -uDN world).  In doing so, I ran into the following crash during gnome update.

Am I doing something wrong?  Am I missing a dependency?

Thanks!

# emerge -uDNpvt world
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[nomerge      ] gnome-base/gnome-2.22.3  USE="cdr cups dvdr esd ldap mono -accessibility" 
[nomerge      ]  gnome-extra/gnome-games-2.22.3  USE="X opengl -artworkextra -debug -guile" 
[nomerge      ]   dev-python/gnome-python-desktop-2.22.0-r10 [2.22.0] USE="(-X%*) (-debug%) (-doc%) (-eds%)" 
[nomerge      ]    dev-python/libgtop-python-2.22.0  USE="-debug" 
[blocks b     ]     <dev-python/gnome-python-desktop-2.22.0-r10 ("<dev-python/gnome-python-desktop-2.22.0-r10" is blocking dev-python/bug-buddy-python-2.22.0, dev-python/libgtop-python-2.22.0)
[ebuild     U ]      dev-python/gnome-python-desktop-2.22.0-r10 [2.22.0] USE="(-X%*) (-debug%) (-doc%) (-eds%)" 0 kB
[ebuild  N    ]       dev-python/bug-buddy-python-2.22.0  USE="-debug" 0 kB
[ebuild  N    ]       dev-python/libgtop-python-2.22.0  USE="-debug" 0 kB
Total: 3 packages (1 upgrade, 2 new), Size of downloads: 0 kB
Conflict: 1 block

# emerge -uDN world
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) dev-python/libgtop-python-2.22.0
 * gnome-python-desktop-2.22.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 * gnome-python-desktop-2.22.0-split.patch.gz RMD160 SHA1 SHA256 size ;-) ...                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking gnome-python-desktop-2.22.0.tar.bz2 to /var/tmp/portage/dev-python/libgtop-python-2.22.0/work
>>> Unpacking gnome-python-desktop-2.22.0-split.patch.gz to /var/tmp/portage/dev-python/libgtop-python-2.22.0/work
 * Fixing OMF Makefiles ...                                                                                               [ ok ]
 * Running elibtoolize in: gnome-python-desktop-2.22.0
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 * Applying gnome-python-desktop-2.22.0-split.patch ...                                                                   [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0' ...
 * Running aclocal ...                                                                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                                                                       [ ok ]
 * Running aclocal ...                                                                                                    [ ok ]
 * Running autoconf ...                                                                                                   [ ok ]
 * Running autoheader ...                                                                                                 [ ok ]
 * Running automake --add-missing --copy ...                                                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-python/libgtop-python-2.22.0/work
>>> Compiling source in /var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0 ...
 * econf: updating gnome-python-desktop-2.22.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnome-python-desktop-2.22.0/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-allbindings --enable-gtop --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
...
config.status: creating config.h
config.status: executing depfiles commands

The following modules will be built:

gtop

The following modules will NOT be built:

gnomeapplet
gnomeprint
gnomeprint.ui
gtksourceview
wnck
totem.plparser
nautilusburn
mediaprofiles
metacity
rsvg
gnomekeyring
gnomedesktop
bugbuddy
evolution
evolution ecal support
*****************************************************************************
*** WARNING: You are using a deprecated build system (autotools).
***          You should be using WAF instead; see the file INSTALL.WAF.
***          The autotools build system will be removed in a future version.
*****************************************************************************
make -j5 
cd . && /bin/sh /var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0'
Making all in docs
make[2]: Entering directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/docs'
make[3]: Entering directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/docs'
make[2]: Leaving directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/docs'
Making all in gtop
make[2]: Entering directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/gtop'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pygtk-2.0      -march=nocona -O2 -pipe -Wall -std=c9x -fno-strict-aliasing -MT gtop.lo -MD -MP -MF .deps/gtop.Tpo -c -o gtop.lo gtop.c
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pygtk-2.0 -march=nocona -O2 -pipe -Wall -std=c9x -fno-strict-aliasing -MT gtop.lo -MD -MP -MF .deps/gtop.Tpo -c gtop.c  -fPIC -DPIC -o .libs/gtop.o
In file included from gtop.c:43:
/usr/include/libgtop-2.0/glibtop/union.h:31:32: error: glibtop/msg_limits.h: No such file or directory
/usr/include/libgtop-2.0/glibtop/union.h:44:35: error: glibtop/procopenfiles.h: No such file or directory
In file included from gtop.c:43:
/usr/include/libgtop-2.0/glibtop/union.h:66: error: expected specifier-qualifier-list before 'glibtop_msg_limits'
gtop.c:1211: warning: type defaults to 'int' in declaration of 'glibtop_open_files_entry'
gtop.c:1211: error: expected ';', ',' or ')' before '*' token
gtop.c: In function 'gtop_proc_open_files':
gtop.c:1242: error: 'glibtop_proc_open_files' undeclared (first use in this function)
gtop.c:1242: error: (Each undeclared identifier is reported only once
gtop.c:1242: error: for each function it appears in.)
gtop.c:1242: error: expected ';' before 'buf'
gtop.c:1244: error: 'glibtop_open_files_entry' undeclared (first use in this function)
gtop.c:1244: error: 'entries' undeclared (first use in this function)
gtop.c:1250: warning: implicit declaration of function 'glibtop_get_proc_open_files'
gtop.c:1250: error: 'buf' undeclared (first use in this function)
gtop.c:1252: error: 'open_files_entry_to_Struct' undeclared (first use in this function)
gtop.c: In function 'register_constants':
gtop.c:1356: error: 'GLIBTOP_FILE_TYPE_FILE' undeclared (first use in this function)
gtop.c:1357: error: 'GLIBTOP_FILE_TYPE_PIPE' undeclared (first use in this function)
gtop.c:1358: error: 'GLIBTOP_FILE_TYPE_INETSOCKET' undeclared (first use in this function)
gtop.c:1359: error: 'GLIBTOP_FILE_TYPE_LOCALSOCKET' undeclared (first use in this function)
make[2]: *** [gtop.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0/gtop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/libgtop-python-2.22.0/work/gnome-python-desktop-2.22.0'
make: *** [all] Error 2
 * 
 * ERROR: dev-python/libgtop-python-2.22.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3452:  Called gnome2_src_compile
 *             environment, line 2623:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/libgtop-python-2.22.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/libgtop-python-2.22.0/temp/environment'.
 * 

>>> Failed to emerge dev-python/libgtop-python-2.22.0, Log file:

>>>  '/var/tmp/portage/dev-python/libgtop-python-2.22.0/temp/build.log'


Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-redhat-5-CentOS5
Timestamp of tree: Mon, 09 Mar 2009 00:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="X a52 aac aalib acl acpi alsa amd64 apache2 apm arts artswrappersuid audiofile avahi avi bash-completion berkdb bidi bitmap-fonts bonobo bzip2 cairo cdda cddb cdio cdr cgi clamav cli cracklib crypt ctype cups dbus directfb dri dts dv dvd dvdr emacs encode esd exif expat faac fam fbcon ffmpeg filter firefox flac font-server fortran freetype gdbm gif gnome gpm gstreamer gtk gtk2 hal hash iconv imap imlib ipv6 isdnlog jack java javascript jpeg kde kerberos ldap libg++ libsamplerate libwww live lm_sensors mad maildir matroska mbox mdnsresponder-compat midi mikmod mmx mng mono motif mp3 mpeg mplayer mssql mudflap multilib mysql ncurses networkmanager nls nntp nonfsv4 nptl nptlonly nsplugin nvidia odbc ofx ogg oggvorbis openal openexr opengl openmp pam pcre pda pdf pdflib perl php plotutils pmu png pop3d portaudio posix pppd python qmail-spp qt qt3 qt3support qt4 quicktime rdesktop readline reflection ruby samba sasl scanner sdl session simplexml slang snmp speex spell spl sse sse2 ssl stream svg sysfs tcl tcltk tcpd theora threads tidy tiff tk tokenizer truetype truetype-fonts type1 type1-fonts unicode usb vcd vhosts vim-syntax vlm vorbis wxwindows x264 xcomposite xemacs xinerama xml xmlrpc xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="mia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-09 07:26:02 UTC
do you have libgtop installed, if so which version ?
Comment 2 Trevor Bowen 2009-03-09 14:39:06 UTC
Yes.

# emerge -pvt libgtop
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild   R   ] gnome-base/libgtop-2.22.3  USE="-debug" 759 kB
Total: 1 package (1 reinstall), Size of downloads: 759 kB

Thanks!

BTW, I have done a revdep-rebuild and python-updater, but neither of these commands have helped.
Comment 3 Trevor Bowen 2009-03-09 14:45:20 UTC
Gilles, based on your comment, I re-emerged libgtop.  It was already installed, but I re-emerged it anyway.

It recompiled no problems.

Then, I updated world again (emerge -uDN world), and libgtop-python emerged fine with no problems.

I don't know what to make of this.  If someone wants to investigate it further, that's fine with me, but I am content to close the issue.  I don't understand what was wrong, much less how to fix it.  I am content to chock it up to "weirdness" and move on.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-09 15:33:04 UTC
well only thing I can think of it some damage to your filesystem (because files don't disappear by themselves generally :)). I'll close this invalid and I suggest you to run some fsck or badblocks on your disk to check it's not dying slowly or anything. Thanks for reporting anyway.
Comment 5 Trevor Bowen 2009-03-09 16:28:36 UTC
works for me - thanks!