buildworld stops at gnu/usr.bin/perl/library/B

YONETANI Tomokazu qhwt+dragonfly-bugs at les.ath.cx
Thu Apr 1 04:32:50 PST 2004


On Thu, Apr 01, 2004 at 02:19:55AM +0900, YONETANI Tomokazu wrote:
> Hello.
> I've been unable to do buildworld since the recent changes to
> /usr/src/Makefile and /usr/src/Makefile.inc1; it stops at somewhere
> in the stage 1:
> 
> ===> gnu/usr.bin/perl/library/B
> [snip]
> cc -o /usr/obj/home/source/dragonfly/src/btools_i386/home/source/dragonfly/src/gnu/usr.bin/perl/library/B/build/B/auto/B/B.so  -Wl,-E -shared -lperl -lm B.o -lm
> /usr/libexec/binutils214/elf/ld: cannot find -lperl
> *** Error code 1
> 
> Stop in /usr/obj/home/source/dragonfly/src/btools_i386/home/source/dragonfly/src/gnu/usr.bin/perl/library/B/ext/B.
> *** Error code 1
> 
> Stop in /home/source/dragonfly/src/gnu/usr.bin/perl/library/B.
> *** Error code 1
> [snip]
> 
> I tried reverting Makefile from 1.5 to 1.3, Makefile.inc1 from 1.21 to 1.20,
> and the buildworld proceeded to stage 3, where I pressed ctrl+c to write
> this message. The last successful buildworld was on 18th.
> 
> The minimum build procedure to reproduce this is as follows:
> 
> $ cd /usr/src
> $ rm -rf $(make -V MAKEOBJDIRPREFIX)/
> $ __MAKE_CONF=/dev/null NOCLEAN=yes \
>     make NO_CPU_CFLAGS=yes NO_CPU_COPTFLAGS=yes buildworld
> 
> The only unusual thing I can think of is that I'm using the following
> NO_* flags when I do installworld, and the only libperl is from ports,
> but I've had no problem with this.

Turned out that if I yanked out gnu/usr.bin/perl from bootstrap-tools
and buildworld made it to the last. And since everything is built
during buildworld, I think it no longer requires perl as a bootstrap tool,
right? If not, libperl should be built prior to building perl, unless we
can rely on the building environment to have libperl installed.

Index: Makefile.inc1
===================================================================
RCS file: /home/source/dragonfly/cvs/src/Makefile.inc1,v
retrieving revision 1.26
diff -u -r1.26 Makefile.inc1
--- Makefile.inc1	25 Mar 2004 20:52:43 -0000	1.26
+++ Makefile.inc1	1 Apr 2004 04:04:19 -0000
@@ -644,7 +644,7 @@
     usr.sbin/btxld usr.sbin/pwd_mkdb usr.sbin/zic usr.sbin/makewhatis \
     gnu/usr.bin/gperf gnu/usr.bin/groff gnu/usr.bin/texinfo \
     gnu/usr.bin/grep gnu/usr.bin/sort gnu/usr.bin/patch \
-    gnu/usr.bin/gzip gnu/usr.bin/perl
+    gnu/usr.bin/gzip
 	${ECHODIR} "===> ${_tool} (bootstrap-tools)"; \
 		cd ${.CURDIR}/${_tool}; \
 		${MAKE} DIRPRFX=${_tool}/ obj; \





More information about the Bugs mailing list