Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 20072
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Wout Mertens (RETIRED) <wmertens@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jon Hull <jonmeag@frontiernet.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20072 depends on: Show dependency tree
Bug 20072 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-27 18:31 0000
Every time I try to emerge tpctl, it fails.  Thinkpad-4.1 is installled and did
build correctly. And I was able to make and install tpctl-4.4 the old fashioned
way (make all, make install). 
BTW, thinkpad-4.3 and tpctl-4.4 have been released.

Reproducible: Always
Steps to Reproduce:
1.emerge tpctl
2.
3.

Actual Results:  
root@sasha init.d # emerge tpctl
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/tpctl-4.2 to /
>>> md5 ;-) tpctl_4.2.tar.gz
>>> Unpacking source...
>>> Unpacking tpctl_4.2.tar.gz to /var/tmp/portage/tpctl-4.2/work
>>> Source unpacked.
make: Entering directory `/var/tmp/portage/tpctl-4.2/work/tpctl-4.2/lib'
gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -I../include -fPIC -DLINUX -o
smapidev.o -c smapidev.c
ld -shared -lc -soname libsmapidev.so.2 -o libsmapidev.so.2.0 smapidev.o
ln -sf libsmapidev.so.2.0 libsmapidev.so.2
ln -sf libsmapidev.so.2 libsmapidev.so
make: Leaving directory `/var/tmp/portage/tpctl-4.2/work/tpctl-4.2/lib'
make: Entering directory `/var/tmp/portage/tpctl-4.2/work/tpctl-4.2/tpctl'
gcc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -L../lib
-I../include -DLINUX -o tpctl.o -c tpctl.c
gcc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -L../lib
-I../include -DLINUX -o tpctl tpctl.o -lncurses -lsmapidev
tpctl.o(.text+0x24): In function `ioctl_thinkpad':
: undefined reference to `errno'
tpctl.o(.text+0x65): In function `ioctl_superio':
: undefined reference to `errno'
tpctl.o(.text+0xa5): In function `ioctl_rtcmosram':
: undefined reference to `errno'
tpctl.o(.text+0xe8): In function `ioctl_thinkpadpm':
: undefined reference to `errno'
tpctl.o(.text+0x7cc2): In function `main':
: undefined reference to `errno'
tpctl.o(.text+0x7d17): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tpctl] Error 1
make: Leaving directory `/var/tmp/portage/tpctl-4.2/work/tpctl-4.2/tpctl'

!!! ERROR: sys-apps/tpctl-4.2 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! tpctl make failed



root@sasha init.d # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r3 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif libg++ libwww mikmod mmx mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms zlib gtkhtml gdbm berkdb slang
readline bonobo svga tcltk guile sdl tcpd pam ssl perl python esd imlib
oggvorbis motif opengl cdr X kde qt -gtk -gnome alsa apm arts cups dvd gpm gtk2
java jpeg mozilla mysql pcmcia samba usb xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache distcc"

------- Comment #1 From Wout Mertens (RETIRED) 2003-05-04 07:34:38 0000 -------
This looks like one of those errno gcc-isms, see bug #16267. There's a good
chance that it's 
fixed in a later version, so I'll be updating the ebuilds shortly. 


------- Comment #2 From Wout Mertens (RETIRED) 2003-05-04 09:20:49 0000 -------
This should be fixed now with the version bump. Please test, so I can close the
bug. 

------- Comment #3 From Jon Hull 2003-05-04 22:22:22 0000 -------
Works for me now. Thanks for the help.

------- Comment #4 From Wout Mertens (RETIRED) 2003-05-05 06:19:07 0000 -------
Cool, closing :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug