Opened 18 years ago
Closed 17 years ago
#69 closed defect (fixed)
Clean build aborts in PERL2ARB
| Reported by: | guest | Owned by: | westram |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | no idea | Version: | stable-2007 |
| Keywords: | perl build | Cc: | epruesse@…, baderk |
Description
The first "make all" on a clean arbsrc.tgz aborts in the directory PERL2ARB
make -f Makefile.old clean > /dev/null 2>&1 /bin/sh -c true
/usr/bin/perl Makefile.PL
Warning: -L../ARBDB2 changed to -L/megx/home/epruesse/arb/munich_i386/PERL2ARB/../ARBDB2
Writing Makefile for ARB
=⇒ Your Makefile has been rebuilt. ⇐=
=⇒ Please rerun the make command. ⇐=
false
Change History (7)
comment:1 Changed 18 years ago by baderk
comment:2 Changed 18 years ago by westram
- Cc baderk added
- Owner changed from devel to westram
- Priority changed from normal to blocker
- Status changed from new to assigned
- @Kai: your error has to do with $_ in the perl call. Somehow it is interpreted by make or the shell. I get the same error when I change '$$_' into '$_'. Could you please try whether changing double to single quotes fixes the
for you?
comment:3 follow-up: ↓ 4 Changed 18 years ago by baderk
@Ralf: make all (clean checkout) succeeds if I change double to single quotes. A non-blocker is produced by rm having problems removing a file:
[...]
-------- end of MakeMaker-Makefile
make[2]: Verlasse Verzeichnis '/tmp/ARB/PERL2ARB'
umask 002;makedepend -f- -- -O2 -g -g3 -DDEBUG -DDEVEL_KAI -DARB_OPENGL -DFAKE_VTAB_PTR=char -I. -Y/tmp/ARB/INCLUDE -- ARB.c 2>/dev/null | \
perl -ne 's/ARB.o/depends.stamp/g; print $_;' > .depends
make[1]: Verlasse Verzeichnis '/tmp/ARB/PERL2ARB'
make[1]: Betrete Verzeichnis '/tmp/ARB/PERL2ARB'
touch depends.stamp
cp perlmain_source.c perlmain.c
cp ARB.pm /tmp/ARB/lib/ARB.pm
rm blib/arch/auto/ARB/ARB.so
rm: Entfernen von „blib/arch/auto/ARB/ARB.so“ nicht möglich: No such file or directory
make[1]: [blib/arch/auto/ARB/ARB.so] Fehler 1 (ignoriert)
-------- calling MakeMaker-Makefile
[...]
comment:4 in reply to: ↑ 3 Changed 18 years ago by westram
Replying to baderk:
A non-blocker is produced by rm having problems removing a file:
rm blib/arch/auto/ARB/ARB.so rm: Entfernen von „blib/arch/auto/ARB/ARB.so“ nicht möglich: No such file or directory make[1]: [blib/arch/auto/ARB/ARB.so] Fehler 1 (ignoriert)
Such "errors" are ok. Here it's necessary for "non-first" compilations, where the file is present and has to be removed. Otherwise an out-of-date version may remain in case of error. (Alles voll IMO)
comment:5 Changed 18 years ago by westram
- @Elmar: I can't find any clue why Makefile.old gets used in your case. The only occurrance seems to be target 'clean' in PERL2ARB/Makefile.main.
- Could you please post a bigger part of the build log here?
- I tried make links perl from http://download.arb-home.de/latest_build/2007_10_29/arbsrc.tgz - works
comment:6 Changed 18 years ago by westram
- Priority changed from blocker to minor
comment:7 Changed 17 years ago by westram
- Resolution set to fixed
- Status changed from assigned to closed
- most likely fixed by hack [5778]

Reproducible under Kubuntu 7.10 (Gutsy Gibbon) with a clean CVS checkout:
-------------------------------------------------------------------------------- Make everything in PERL2ARB make[2]: Betrete Verzeichnis '/tmp/ARB/PERL2ARB' Makefile.main:84: .depends: No such file or directory touch depends.stamp test -f ARB.c || make -f Makefile.main "AUTODEPENDS=0" ARB.c make[3]: Betrete Verzeichnis '/tmp/ARB/PERL2ARB' ( PATH=/usr/arb/bin:/tmp/ARB/bin:/home/baderk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games; \ export PATH; \ echo calling perl LINUX.PL; \ perl LINUX.PL ) calling perl LINUX.PL Warning: -L../ARBDB2 changed to -L/tmp/ARB/PERL2ARB/../ARBDB2 Writing Makefile for ARB cat /tmp/ARB/ARBDB/ad_prot.h /tmp/ARB/ARBDB/ad_t_prot.h > proto.h LD_LIBRARY_PATH=/tmp/ARB/lib:/usr/local/lib:/tmp/ARB/lib: /tmp/ARB/bin/arb_proto_2_xsub proto.h ARB.xs.default > ARB.xs echo "#undef DEBUG" > debug.h echo "#undef NDEBUG" >> debug.h echo "#define DEBUG" >> debug.h cp -p LINUX.PL Makefile.PL -------- calling MakeMaker-Makefile (to get depends) make "dflags=-DDEBUG" ARB.c make[4]: Betrete Verzeichnis '/tmp/ARB/PERL2ARB' /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap ARB.xs > ARB.xsc && mv ARB.xsc ARB.c make[4]: Verlasse Verzeichnis '/tmp/ARB/PERL2ARB' -------- end of MakeMaker-Makefile make[3]: Verlasse Verzeichnis '/tmp/ARB/PERL2ARB' umask 002;makedepend -f- -- -O2 -g -g3 -DDEBUG -DFAKE_VTAB_PTR=char -I. -Y/tmp/ARB/INCLUDE -- ARB.c 2>/dev/null | \ perl -ne "s/ARB.o/depends.stamp/g; print $_;" > .depends Bareword found where operator expected at -e line 1, near "/usr/bin" (Missing operator before bin?) syntax error at -e line 1, near "/usr/bin" Execution of -e aborted due to compilation errors. make[2]: *** [.depends] Fehler 255 make[2]: Verlasse Verzeichnis '/tmp/ARB/PERL2ARB' make[1]: *** [perl] Fehler 2 make[1]: Verlasse Verzeichnis '/tmp/ARB' make: *** [all] Fehler 2Running make all a second time succeeds.