Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47056 - gnome-base/libgtop from 2.0.8 to 2.5.2: bad include files compability ?
Summary: gnome-base/libgtop from 2.0.8 to 2.5.2: bad include files compability ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 02:47 UTC by Sergiy Borodych
Modified: 2004-04-29 01:37 UTC (History)
1 user (show)

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 Sergiy Borodych 2004-04-07 02:47:49 UTC
After upgrading
[ebuild     U ] gnome-base/libgtop-2.5.2 [2.0.8]  0 kB
I have error after restarting apache (with mod_perl and load GTop module)
Syntax error on line 222 of /etc/apache/conf/apache.conf:
Can't load '/usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/auto/GTop/GTop.so' for module GTop: libgtop-2.0.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.3/i686-linux-thread-multi/DynaLoader.pm line 229.
 at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/GTop.pm line 12

After I try rebuild GTop perl module with 3 ways: from 'cpan', from g-cpan.pl and from my ebuild file
but I have similar errors:
root@work portage # emerge -vD GTop
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/GTop-0.12 to /
>>> md5 src_uri ;-) GTop-0.12.tar.gz
>>> Unpacking source...
>>> Unpacking GTop-0.12.tar.gz to /var/tmp/portage/GTop-0.12/work
>>> Source unpacked.
Using INC:  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Using LIBS:  -L/usr/lib -L/usr/X11R6/lib -lXau -lgtop-2.0 -lglib-2.0
Checking if your kit is complete...
Looks good
Writing Makefile for GTop::Server
Writing Makefile for GTop
cp lib/GTop.pm blib/lib/GTop.pm
cp GTop.pod blib/lib/GTop.pod
make[1]: Entering directory `/var/tmp/portage/GTop-0.12/work/GTop-0.12/Server'
cp Server.pm ../blib/lib/GTop/Server.pm
gcc -c  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -fexpensive-optimizations -ffast-math -mfpmath=sse,387   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE"   io.c
In file included from /usr/include/libgtop-2.0/glibtop.h:29,
                 from daemon.h:27,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop_server.h:152: error: syntax error before "G_END_DECLS"
In file included from daemon.h:27,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop.h:40: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop.h:42,
                 from daemon.h:27,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/sysdeps.h:59: error: syntax error before "typedef"
In file included from daemon.h:27,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop.h:44: error: syntax error before "struct"
In file included from daemon.h:28,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/error.h:40: error: syntax error before "void"
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:27,
                 from /usr/include/libgtop-2.0/glibtop/gnuserv.h:113,
                 from daemon.h:29,
                 from io.c:24:
/usr/include/bits/uio.h:42: error: syntax error before "struct"
In file included from /usr/include/libgtop-2.0/glibtop/open.h:26,
                 from daemon.h:31,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/read.h:34: error: syntax error before "void"
In file included from daemon.h:31,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/open.h:29: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/open.h:54: error: syntax error before "void"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:27,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/cpu.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/cpu.h:51: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:28,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/mem.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/mem.h:43: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:29,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/swap.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/swap.h:40: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:30,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/uptime.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/uptime.h:38: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:31,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/loadavg.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/loadavg.h:39: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:32,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/shm_limits.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/shm_limits.h:40: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:33,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/msg_limits.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/msg_limits.h:42: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:34,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/sem_limits.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/sem_limits.h:45: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:35,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/proclist.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/proclist.h:55: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:37,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procstate.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procstate.h:51: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:38,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procuid.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procuid.h:53: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:39,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procmem.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procmem.h:41: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:40,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/proctime.h:31: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/proctime.h:47: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:41,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procsignal.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procsignal.h:39: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:42,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/prockernel.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/prockernel.h:44: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:43,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procsegment.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procsegment.h:43: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:44,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procargs.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procargs.h:36: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:45,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/procmap.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/procmap.h:56: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:47,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/mountlist.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/mountlist.h:38: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:48,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/fsusage.h:29: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/fsusage.h:41: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:50,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/netload.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/netload.h:49: error: syntax error before "typedef"
In file included from /usr/include/libgtop-2.0/glibtop/union.h:51,
                 from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/ppp.h:30: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/ppp.h:38: error: syntax error before "typedef"
In file included from daemon.h:32,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/union.h:53: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/union.h:55: error: syntax error before "typedef"
In file included from io.c:24:
daemon.h:33:29: glibtop/xmalloc.h: No such file or directory
In file included from /usr/include/libgtop-2.0/glibtop/version.h:28,
                 from daemon.h:34,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/command.h:31: error: syntax error before "G_BEGIN_DECLS"
/usr/include/libgtop-2.0/glibtop/command.h:65: error: syntax error before "typedef"
In file included from daemon.h:34,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/version.h:32: error: syntax error before "G_BEGIN_DECLS"
In file included from daemon.h:36,
                 from io.c:24:
/usr/include/libgtop-2.0/glibtop/parameter.h:41: error: syntax error before "size_t"
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:31,
                 from daemon.h:39,
                 from io.c:24:
/usr/include/bits/resource.h:32: error: syntax error before "enum"
In file included from io.c:24:
daemon.h:67: error: syntax error before "int"
io.c:26: error: syntax error before "void"
make[1]: *** [io.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/GTop-0.12/work/GTop-0.12/Server'
make: *** [subdirs] Error 2
 
!!! ERROR: dev-perl/GTop-0.12 failed.
!!! Function perl-module_src_compile, Line 50, Exitcode 2
!!! compilation failed

Any ideas ?
Comment 1 Sergiy Borodych 2004-04-07 02:49:49 UTC
And also my
root@work portage # emerge info
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -fexpensive-optimizations -ffast-math -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -fexpensive-optimizations -ffast-math -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage"
USE="X alsa apm avi berkdb cdr crypt cups encode fluidsynth foomaticdb freetype gd gdbm gif gnome gpm gtk gtk2 guile imlib jack jpeg libg++ libwww mad mbox mikmod milter mirror mmx motif mozilla mpeg mysql ncurses nls nowin nptl oggvorbis opengl oss pam pdflib perl pic png pnp postgres quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd threads truetype unicode utf8 vim-with-x x86 xml xml2 xmms xv zlib"
Comment 2 foser (RETIRED) gentoo-dev 2004-04-09 10:10:29 UTC
i think they broke compatability.. this shouldn't happen in the gnome releases, but apperantly it did. I'll try and reach one of the maintainers.

The only solution is to fix the perl module to build with the new version.
Comment 3 Sergiy Borodych 2004-04-29 00:34:39 UTC
I think - I need to say
GTop-0.13 released what fix it bug ;)

0.13 - Wed Apr 28 12:36:59 PDT 2004

- Solaris doesn't have a typedef for u_int64_t, try to add one [Pete
  Geenhuizen <pgeenhuizen@carolina.rr.com>]

- Makefile.PL cleanups by Radoslaw Zielinski <radek@karnet.pl>.

- adjust the build/source to support glibtop 2.5+. Thanks to Radoslaw
  Zielinski <radek@karnet.pl> for the help and patches.

- include the t/threads.t in the distro

closed
Comment 4 foser (RETIRED) gentoo-dev 2004-04-29 01:37:47 UTC
yep, thanks for the notification