Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105424 - Cannot emerge net-misc/slidentd-1.0.0
Summary: Cannot emerge net-misc/slidentd-1.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 14:09 UTC by Tassilo Horn
Modified: 2005-09-25 06:04 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 Tassilo Horn 2005-09-09 14:09:37 UTC
root@inspiron> LC_ALL="en_US" emerge slidentd  
Calculating dependencies ...done!  
>>> emerge (1 of 1) net-misc/slidentd-1.0.0 to /  
>>> md5 files   ;-) slidentd-1.0.0.ebuild  
>>> md5 files   ;-) files/slidentd-run  
>>> md5 files   ;-) files/digest-slidentd-1.0.0  
>>> md5 src_uri ;-) slidentd-1.0.0.tar.gz  
>>> Unpacking source...  
>>> Unpacking slidentd-1.0.0.tar.gz to /var/tmp/portage/slidentd-1.0.0/work  
>>> Source unpacked.  
cc    -c -o slid_chroot.o slid_chroot.c  
In file included from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_die.h:24:22: stralloc.h: No such file or directory  
In file included from slidentd.h:31,  
                 from slid_remote_info.h:28,  
                 from slid_die.h:27,  
                 from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_log.h:25:20: buffer.h: No such file or directory  
In file included from slidentd.h:31,  
                 from slid_remote_info.h:28,  
                 from slid_die.h:27,  
                 from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_log.h:27: error: parse error before '*' token  
slid_log.h:28: error: parse error before '*' token  
slid_log.h:28: warning: data definition has no type or storage class  
In file included from slidentd.h:38,  
                 from slid_remote_info.h:28,  
                 from slid_die.h:27,  
                 from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_datestamp.h:30: error: parse error before '*' token  
slid_datestamp.h:31: error: parse error before '*' token  
In file included from slid_die.h:27,  
                 from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_remote_info.h:30: error: parse error before '*' token  
slid_remote_info.h:30: warning: data definition has no type or storage class  
slid_remote_info.h:31: error: parse error before '*' token  
slid_remote_info.h:31: warning: data definition has no type or storage class  
In file included from slid_chroot.h:26,  
                 from slid_chroot.c:22:  
slid_die.h:30: error: parse error before "err_msg_prealloc"  
slid_die.h:30: warning: data definition has no type or storage class  
slid_chroot.c:33:18: byte.h: No such file or directory  
slid_chroot.c:35:17: str.h: No such file or directory  
slid_chroot.c: In function `slid_chroot':  
slid_chroot.c:44: error: `buffer' undeclared (first use in this function)  
slid_chroot.c:44: error: (Each undeclared identifier is reported only once  
slid_chroot.c:44: error: for each function it appears in.)  
slid_chroot.c:44: error: `log_buffer' undeclared (first use in this function)  
slid_chroot.c:48: error: `stralloc' undeclared (first use in this function)  
slid_chroot.c:48: error: parse error before "path"  
slid_chroot.c:50: error: `path' undeclared (first use in this function)  
slid_chroot.c: At top level:  
slid_chroot.c:76: error: parse error before "else"  
slid_chroot.c: In function `slid_unique_chroot':  
slid_chroot.c:91: error: `buffer' undeclared (first use in this function)  
slid_chroot.c:91: error: `log_buffer' undeclared (first use in this function)  
slid_chroot.c:92: error: `stralloc' undeclared (first use in this function)  
slid_chroot.c:92: error: parse error before "path"  
slid_chroot.c:97: error: `path' undeclared (first use in this function)  
make: *** [slid_chroot.o] Error 1  
  
!!! ERROR: net-misc/slidentd-1.0.0 failed.  
!!! Function src_compile, Line 29, Exitcode 2  
!!! (no error message)  
!!! If you need support, post the topmost build error, NOT this status message.  
  
The problem is the sed-expression in the makefile. After its evaluation the 
Makefile in /var/tmp/portage/slidentd-1.0.0/work/slidentd-1.0.0 has this wronh 
line: 
 
    normal_cflags-DNDEBUG -march=i686 -mtune=pentium4m -Os -pipe 
-fomit-frame-pointer -I/usr/include/libowfat 
 
Correctly it should look like: 
 
    normal_cflags= -DNDEBUG -march=i686 -mtune=pentium4m -Os -pipe 
-fomit-frame-pointer -I/usr/include/libowfat 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tassilo Horn 2005-09-09 14:41:19 UTC
But even if I correct the Makefile I get linker errors:  
  
cc -DNDEBUG -march=i686 -mtune=pentium4m -Os -pipe -fomit-frame-pointer  
-I/usr/include/libowfat   -c -o slidentd.o slidentd.c  
cc slid_chroot.o slid_datestamp.o slid_die.o slid_fmt_xlong0.o slid_get_input.o  
slid_log.o slid_random.o slid_read.o slid_remote_info.o slid_setuid.o  
slid_tcptable.o -o slidentd slidentd.o  -lowfat  
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:  
errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS  
reference  
in /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libowfat.a(buffer_stubborn.o)  
/lib/libc.so.6: could not read symbols: Bad value  
collect2: ld returned 1 exit status  
make: *** [slidentd] Error 1  
  
!!! ERROR: net-misc/slidentd-1.0.0 failed.  
!!! Function src_compile, Line 29, Exitcode 2  
!!! (no error message)  
!!! If you need support, post the topmost build error, NOT this status message. 
 
root@inspiron> emerge info                                             /usr/lib 
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-nitro2 i686) 
================================================================= 
System uname: 2.6.12-nitro2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz 
Gentoo Base System version 1.12.0_pre8 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.12 
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 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=i686 -mtune=pentium4m -Os -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=i686 -mtune=pentium4m -Os -pipe -fomit-frame-pointer 
-fvisibility-inlines-hidden" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict 
userpriv usersandbox" 
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://mirror.etf.bg.ac.yu/gentoo 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.lug.ro/gentoo/ 
http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/" 
LANG="de_DE@euro" 
LC_ALL="de_DE@euro" 
LDFLAGS="-Wl,-O1" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 X aac alsa aotuv auctex avi bash-completion berkdb browserplugin bzip2 
c++ cdparanoia cdr crypt css cups curl dbus dga divx4linux dvd emacs encode fam 
fbcon ffmpeg flac foomaticdb freetype gdbm gif glibc-omitfp glut glx gnutls 
gpgme gpm graphviz gsl gstreamer gtk gtk2 hal haskell iconv imagemagick imap 
imlib imlib2 ipv6 jack java jpeg jpeg2k junit justify kde kdeenablefinal libg++ 
libwww live lzo mad mikmod mmx mmxext mng motif mozsvg mp3 mpeg mpeg2 mpeg4 
ncurses nls no-old-linux nptl nptlonly nvidia offensive ogg oggvorbis opengl 
pam pcmcia pcre pdf pdflib pic png pnp postgres qt quicktime readline real rtc 
ruby samba sdl slang smtp sox speex spell sse sse2 ssl startup-notification 
subversion svg svgz tcpd tetex theora threads tiff truetype truetype-fonts 
type1-fonts unicode userlocales uudeview visualization vorbis win32codecs wmf 
xine xinetd xml2 xosd xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LINGUAS 
Comment 2 SpanKY gentoo-dev 2005-09-25 03:46:03 UTC
fixed broken sed expression

the error you mention is a libowfat bug, not slidentd, so please file a new bug
Comment 3 Tassilo Horn 2005-09-25 06:04:02 UTC
Ok, I'll do so. Thanks.