Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 17744
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Pullin <pullin@caltech.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 17744 depends on: 16267 Show dependency tree
Bug 17744 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-03-18 05:25 0000
if I do emerge pm3, it fails. here is part of the output where it starts having
problems:


as -o Main_m.o  Main.ms
gcc    -c -o _m3main.o _m3main.c
gcc
-Wl,--wrap,adjtime,--wrap,getdirentries,--wrap,readv,--wrap,utimes,--wrap,wait3
-o m3build Main_m.o _m3main.o ../../m3config/LINUXLIBC6/libm3config.a ../../
m3templates/LINUXLIBC6/libm3templates.a ../../m3driver/LINUXLIBC6/libm3driver.a 
../../m3front/LINUXLIBC6/libm3front.a ../../m3linker/LINUXLIBC6/libm3link.a ../.
./m3quake/LINUXLIBC6/libm3quake.a ../../m3middle/LINUXLIBC6/libm3middle.a ../../
libm3/LINUXLIBC6/libm3.a ../../m3core/LINUXLIBC6/libm3core.a  -lm
../../m3core/LINUXLIBC6/libm3core.a(Uerror_m.o)(.text+0x31): In function `Uerror
__GetFrom_sys_errlist':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
../../libm3/LINUXLIBC6/libm3.a(ProcessPosix_m.o)(.text+0x21b): In function `Proc
ess__Create':
: undefined reference to `errno'
../../libm3/LINUXLIBC6/libm3.a(ProcessPosix_m.o)(.text+0x233): In function `Proc
ess__Create':
: undefined reference to `errno'
../../libm3/LINUXLIBC6/libm3.a(ProcessPosix_m.o)(.text+0x934): In function `Proc
essPosix__ExecChild__SetFd.0':
: undefined reference to `errno'
../../libm3/LINUXLIBC6/libm3.a(ProcessPosix_m.o)(.text+0xa62): In function `Proc
essPosix__ExecChild':
: undefined reference to `errno'
../../libm3/LINUXLIBC6/libm3.a(FSPosix_m.o)(.text+0x38b): In function `FSPosix__
CheckLink':
: undefined reference to `errno'
../../libm3/LINUXLIBC6/libm3.a(FilePosix_m.o)(.text+0x4df): more undefined refer
ences to `errno' follow
collect2: ld returned 1 exit status
make[1]: *** [m3build] Error 1
make[1]: Leaving directory `/var/tmp/portage/pm3-1.1.15/work/pm3/boot-LINUXLIBC6
/m3build/LINUXLIBC6'
make: *** [boot] Error 2

!!! ERROR: dev-lang/pm3-1.1.15 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)


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

Actual Results:  
it failed again, same thing
I also tried it with CFLAGS=" " and it still did not work

Expected Results:  
I was hoping it'd install...

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
GENTOO_MIRRORS="http://toughguy.caltech.edu/pub/linux/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=""
USE="3dnow crypt encode gif libg++ libwww mikmod mmx nls pdflib png spell
truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tcltk guile sdl gpm
tcpd pam ssl perl python esd imlib oggvorbis qt motif opengl X gtk gnome alsa
oss apm cups dvd java mozilla mpeg jpeg avi ncurses oengl quicktime svga kde x86
sse sse2"
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"

------- Comment #1 From SpanKY 2003-04-15 06:19:50 0000 -------
way to steal my bug :) ... i'm also looking at cm3 since its been updated
recently ...

------- Comment #2 From Alastair Tse (RETIRED) 2003-04-15 06:24:39 0000 -------
thank god! i was going to have nightmares about assembly :)

------- Comment #3 From SpanKY 2003-04-15 09:28:58 0000 -------
could you guys try out 1.1.15-r1 ?  i added a patch to hopefully fix this ...
tell me how it goes so i can close this bug ;)

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-lang/pm3/pm3-1.1.15-r1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-lang/pm3/files/1.1.15-errno.patch?rev=1.1&content-type=text/vnd.viewcvs-markup

------- Comment #4 From Andrew Pullin 2003-04-15 15:50:51 0000 -------
I rsynced and tried emerging it and I still get the same errors... :( 

------- Comment #5 From SpanKY 2003-04-29 22:49:55 0000 -------
would you try out dev-lang/cm3 ?
it is another m3 compiler and it should not have the errno problem ...

i talked to the dev's upstream and they fixed errno in their cvs, they just havent made a release ...
ill see what i can do ...

------- Comment #6 From Andrew Pullin 2003-04-30 23:28:23 0000 -------
I tried building cm3, and after a while I get this error: 
 
 
=== package /var/tmp/portage/cm3-5.2.4/work/m3-sys/m3cgcat === 
 +++ cm3 -build -override -DROOT='/var/tmp/portage/cm3-5.2.4/work'  +++ 
new source -> compiling Main.m3 
 -> linking m3cgcat 
/var/tmp/portage/cm3-5.2.4/work/m3-libs/libm3/LINUXLIBC6/libm3.so: undefined 
reference to `errno' 
collect2: ld returned 1 exit status 
Fatal Error: package build failed 
 *** execution of  failed *** 
 
!!! ERROR: dev-lang/cm3-5.2.4 failed. 
!!! Function src_compile, Line 58, Exitcode 1 
!!! failed on do-cm3-core 
 

------- Comment #7 From SpanKY 2003-05-01 01:40:56 0000 -------
ok, so latest cm3 has errno issues too ;)

again ... the cvs version is fixed ... bleh

------- Comment #8 From Zeek 2003-06-22 19:19:15 0000 -------
This really is a problem with glibc.  This entry in the RH bug tracker puts out
the issues:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90002

------- Comment #9 From SpanKY 2003-06-22 19:31:02 0000 -------
its not a glibc error really ... 
 
its an error with people who used glibc incorrectly ;) 

------- Comment #10 From SpanKY 2003-07-17 10:24:30 0000 -------
cm3 5.2.6 is now in portage ... it has all the errno fixes ...
i'd suggest using that for now since pm3 probably wont be releasing the next
ver for some time ...

ive been talking to the cm3 maintainer and he's been actively working on cm3 so
i'd support that over pm3 for now

i installed 2 scripts in addition to cm3 (m3build and m3ship) so as to support
older packages that expect them.  they're really just running `cm3 -build ${@}`
and `cm3 -ship ${@}` ;)

------- Comment #11 From SpanKY 2003-08-06 00:49:48 0000 -------
alright, we got cm3 in portage ... it works fine (afaik) as a replacement for
pm3 ...

pm3 will be updated whenever the upstream guys get around to making a release
... but i wont bother back porting cvs to 1.1.5 since cvs has changed so very
radically

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