Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170722 - dev-util/ltrace-0.4-r1: parallel build fails
Summary: dev-util/ltrace-0.4-r1: parallel build fails
Status: RESOLVED DUPLICATE of bug 103941
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 12:57 UTC by Martin von Gagern
Modified: 2007-03-13 17:37 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 Martin von Gagern 2007-03-13 12:57:00 UTC
With MAKEOPTS=-j1 ltrace compiles all right, but otherwise I get different errors for different runs, like the following two. Reproducing this seems easy enough; on three runs I got three failures here.

make[1]: Entering directory `/var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu'
cat i386/arch.h > sysdep.h
In file included from ltrace.c:15:
ltrace.h:12:20: error: sysdep.h: No such file or directory
In file included from ltrace.c:15:
ltrace.h:26: error: 'BREAKPOINT_LENGTH' undeclared here (not in a function)
In file included from options.c:20:
ltrace.h:12:20: error: sysdep.h: No such file or directorymake: *** [ltrace.o] Error 1
cp i386/signalent.h signalent.h

make: In file included from options.c:20:
ltrace.h:26: error: 'BREAKPOINT_LENGTH' undeclared here (not in a function)
options.c:58: error: 'PLTs_INIT_BY_HERE' undeclared here (not in a function)
cp i386/syscallent.h syscallent.h
*** Waiting for unfinished jobs....
if [ -f i386/signalent1.h ]; then \
                        cp i386/signalent1.h signalent1.h; \
                else \  
                        > signalent1.h; \
                fi
if [ -f i386/syscallent1.h ]; then \
                        cp i386/syscallent1.h syscallent1.h; \
                else \  
                        > syscallent1.h; \
                fi
make: *** [options.o] Error 1

Or the second variation:

In file included from ltrace.c:15:
ltrace.h:26: error: 'BREAKPOINT_LENGTH' undeclared here (not in a function)
i686-pc-linux-gnu-gcc -Wall -march=prescott -O2 -iquote /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4 -iquote /var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\"  -I/var/tmp/portage/dev-util/ltrace-0.4-r1/work/ltrace-0.4/sysdeps/linux-gnu/i386  -c -o breakpoint.o breakpoint.c
make -C i386
make: *** [ltrace.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-03-13 17:37:08 UTC
I wonder why I can't reproduce this on my Core 2 machine. Any I just closed bug 103941 see https://bugs.gentoo.org/show_bug.cgi?id=103941#c11 so will reopen that one and dup this one against that.

*** This bug has been marked as a duplicate of bug 103941 ***