Opened 17 years ago
Closed 16 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 17 years ago by baderk
comment:2 Changed 17 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 17 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 17 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 17 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 17 years ago by westram
- Priority changed from blocker to minor
comment:7 Changed 16 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:
Running make all a second time succeeds.