Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56292 - gnet 2.0.5 emerge error
Summary: gnet 2.0.5 emerge error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 17:59 UTC by Alexander Hsia
Modified: 2004-07-07 13:16 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 Alexander Hsia 2004-07-06 17:59:33 UTC
Emerging gnet-2.0.5 ends in an error. Here's a snippet of the output 

gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon -O2 -pipe -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -o .libs/sdr sdr.o  ../src/.libs/libgnet-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lresolv -lnsl -pthread
creating sdr
make[2]: Leaving directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5/examples'
Making all in tests
make[2]: Entering directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5/tests'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5/doc'
*** Scanning header files ***
if grep -l '^..*$' ./gnet.types > /dev/null ; then \
    CC="/bin/sh ../libtool --mode=compile gcc" LD="/bin/sh ../libtool --mode=link gcc" CFLAGS="" LDFLAGS="" gtkdoc-scangobj --module=gnet --output-dir=. ; \
else \
    cd . ; \
    for i in gnet.args gnet.hierarchy gnet.interfaces gnet.prerequisites gnet.signals ; do \
               test -f $i || touch $i ; \
    done \
fi
cd . && \
  gtkdoc-scan --module=gnet --source-dir=../src --ignore-headers="acconfig.h config.h gnetconfig.h gnet-private.h socks-private.h scheduler.h usagi_ifaddrs.h"
/bin/sh: line 1: gtkdoc-scan: command not found
make[2]: *** [scan-build.stamp] Error 127
make[2]: Leaving directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnet-2.0.5/work/gnet-2.0.5'
make: *** [all] Error 2

!!! ERROR: net-libs/gnet-2.0.5 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1. su root
2. emerge gnet
3.

Actual Results:  
At the beginning of the emerge this error flashes by. It then continues until
the error message posted above
 
>>> Unpacking gnet-2.0.5.tar.gz to /var/tmp/portage/gnet-2.0.5/work
 * Applying gnet-2.0.5-gtkdoc_fix.patch...                                [ ok
]>>> Source unpacked.
 * Patching ${S}/ltmain.sh...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.
 * Cannot apply any patch, running libtoolize...
You should update your `aclocal.m4' by running aclocal.
doc
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.


Expected Results:  
Successful compilation and merge

emerge info:
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.tucdemonic.org/gentoo/ http://mirror.datapipe.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi aim alsa apm avi berkdb cddb cdr chroot crypt cscope cups
dio divx4linux djbfft dnd doc dv dvd dvdr encode erandom esd evms2 evo exif f77
faac faad fam fbcon fftw flac foomaticdb freetype ftp gb gd gdbm gif gimp
gimpprint gnome gnuplot gphoto2 gpm gstreamer gtk gtk2 hbci hdf5 icq ieee1394
imagemagick imap imlib ipv6 irda jabber jack jack-tmpfs java javascript jikes
jpeg kde lcms libwww lirc lufsusermount mad maildir matroska mcal mikmod mmx
monkey motif mozilla mozsvg mpeg mpeg4 mpi mplayer mysql mysqli ncurses nls nptl
nvidia ofx oggvorbis openal opengl opie oss pam pda pdflib perl pic plotutils
png posix ppds python qt quicktime readline samba scanner sdl slang spell sse
ssl svg svga tcltk tcpd tetex theora tiff transcode truetype usb v4l v4l2 wmf
x86 xfs xinerama xml xml2 xmms xosd xprint xrandr xv xvid zlib"
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2004-07-07 13:16:42 UTC
The problem here is that, for some reason, your system doesn't have gtkdoc-scan, which is part of the `gtk-doc' package, which should be listed as a dependency for gnet (due to the glib dependency).

Anyway, I've included the gtk-doc dependency explicitly in the gnet ebuild, so this shouldn't be an issue anymore.

Thank you for your report.