Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28121 - Ltrace-0.3.31 paralell makes failure on Athlon XP
Summary: Ltrace-0.3.31 paralell makes failure on Athlon XP
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 bug wranglers
URL: http://epita.fr/~bevand_m/pub/gentoo/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-07 11:15 UTC by Marc Bevand
Modified: 2003-10-02 17:13 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 Marc Bevand 2003-09-07 11:15:27 UTC
On my system (Athlon XP 3000+), emerging ltrace (ltrace-0.3.31.ebuild)
sometimes fails. I have been able to fix the problem by specifying "-j1"
in MAKEOPTS.


Reproducible: Sometimes
Steps to Reproduce:
1. $ emerge =dev-util/ltrace-0.3.31

Actual Results:  
Emerge fails with the following error:

>>> emerge (1 of 1) dev-util/ltrace-0.3.31 to /
[...]
gcc -Wall -mcpu=athlon -O3 -pipe -DSYSCONFDIR=\"/etc\"
-I/var/tmp/portage/ltrace-0.3.31/work/ltrace-0.3.31/sysdeps/linux-gnu/i386
-I/var/tmp/portage/ltrace-0.3.31/work/ltrace-0.3.31
-I/var/tmp/portage/ltrace-0.3.31/work/ltrace-0.3.31/sysdeps/linux-gnu -I-
-DHAVE_CONFIG_H  -c -o trace.o trace.c
:
/var/tmp/portage/ltrace-0.3.31/work/ltrace-0.3.31/ltrace.h:12:20: sysdep.h: No
such file or directory
In file included from ltrace.c:15:
/var/tmp/portage/ltrace-0.3.31/work/ltrace-0.3.31/ltrace.h:22:
`BREAKPOINT_LENGTH' undeclared here (not in a function)
make: *** [ltrace.o] Error 1
make: *** Waiting for unfinished jobs....
[...]
!!! ERROR: dev-util/ltrace-0.3.31 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)


Expected Results:  
Emerge should not fail.


See [1] for a log of the error with the current buggy ebuild.
See [2] for a log of a successful emerge with the new ebuild.
See [3] for the new ebuild fixing the bug.

[1] http://epita.fr/~bevand_m/pub/gentoo/ltrace-0.3.31/log.failure
[2] http://epita.fr/~bevand_m/pub/gentoo/ltrace-0.3.31/log.success
[3] http://epita.fr/~bevand_m/pub/gentoo/ltrace-0.3.31/ltrace-0.3.31-r1.ebuild

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22_pre2-gss)
=================================================================
System uname: 2.4.22_pre2-gss i686 AMD Athlon(TM) XP 3000+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm crypt cups encode foomaticdb gif imlib jpeg libg++ libwww mad
mikmod mmx mpeg ncurses nls pdflib png qt slang spell truetype xml2 xmms xv zlib
gdbm berkdb readline svga ruby X sdl gpm tcpd pam ssl perl python oggvorbis gtk
opengl mozilla dvd avi -quicktime -gnome -kde -arts -alsa -motif -java"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-02 17:13:35 UTC
I couldn't replicate the error, but I added a sub-statement: || make all
|| die