bin/136071: 8.0-CURRENT fails to build boot_crunch binaries (make release.4)

Scot Hetzel swhetzel at gmail.com
Fri Jun 26 16:00:06 UTC 2009


>Number:         136071
>Category:       bin
>Synopsis:       8.0-CURRENT  fails to build boot_crunch binaries (make release.4)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 26 16:00:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD hp010.hetzel.org 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Thu Jun 25 23:09:40 CDT 2009     root at hp010.hetzel.org:/usr/obj/usr/src/8x-zfs/sys/DV8135NR  amd64

>Description:
While performing a 'make release ...', the build failed when generating the boot_crunch binary (release.4) because jail_getid and jail_errmsg  were not found in any of the required libraries used to link ifconfig.lo to the boot_crunch binary.  The cause of the build failure was due to a missing dependency on the jail library in the /usr/src/release/{arch}/boot_crunch.conf file.


>How-To-Repeat:
cd /usr/src
make buildworld
cd /usr/src/release
make release CVSROOT=/home/ncvs CHROOTDIR=/path/to/release/dir
>Fix:
The attached patch adds -ljail to the /usr/src/release/{arch}/boot_crunch.conf files.

Patch attached with submission follows:

Index: amd64/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/amd64/boot_crunch.conf,v
retrieving revision 1.66
diff -u -r1.66 boot_crunch.conf
--- amd64/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.66
+++ amd64/boot_crunch.conf	26 Jun 2009 15:20:04 -0000
@@ -42,4 +42,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -ldevinfo
-libs -lbsdxml -larchive -lbz2 -lusb
+libs -lbsdxml -larchive -lbz2 -lusb -ljail
Index: i386/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/i386/boot_crunch.conf,v
retrieving revision 1.66
diff -u -r1.66 boot_crunch.conf
--- i386/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.66
+++ i386/boot_crunch.conf	26 Jun 2009 15:20:22 -0000
@@ -42,4 +42,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -ldevinfo
-libs -lbsdxml -larchive -lbz2 -lusb
+libs -lbsdxml -larchive -lbz2 -lusb -ljail
Index: ia64/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/ia64/boot_crunch.conf,v
retrieving revision 1.17
diff -u -r1.17 boot_crunch.conf
--- ia64/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.17
+++ ia64/boot_crunch.conf	26 Jun 2009 15:22:01 -0000
@@ -46,4 +46,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lkiconv -lsbuf -lufs -ldevinfo
-libs -lgeom -lbsdxml -larchive -lbz2 -lusb
+libs -lgeom -lbsdxml -larchive -lbz2 -lusb -ljail
Index: pc98/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/pc98/boot_crunch.conf,v
retrieving revision 1.65
diff -u -r1.65 boot_crunch.conf
--- pc98/boot_crunch.conf	20 Aug 2008 13:35:39 -0000	1.65
+++ pc98/boot_crunch.conf	26 Jun 2009 15:22:13 -0000
@@ -41,4 +41,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -lbsdxml
-libs -larchive -lbz2
+libs -larchive -lbz2 -ljail
Index: powerpc/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/powerpc/boot_crunch.conf,v
retrieving revision 1.9
diff -u -r1.9 boot_crunch.conf
--- powerpc/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.9
+++ powerpc/boot_crunch.conf	26 Jun 2009 15:22:21 -0000
@@ -44,4 +44,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lkiconv -lsbuf -lufs
-libs -lbsdxml -larchive -lbz2 -lusb
+libs -lbsdxml -larchive -lbz2 -lusb -ljail
Index: sparc64/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/sparc64/boot_crunch.conf,v
retrieving revision 1.13
diff -u -r1.13 boot_crunch.conf
--- sparc64/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.13
+++ sparc64/boot_crunch.conf	26 Jun 2009 15:22:30 -0000
@@ -42,4 +42,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -lbsdxml
-libs -larchive -lbz2 -lusb
+libs -larchive -lbz2 -lusb -ljail
Index: sun4v/boot_crunch.conf
===================================================================
RCS file: /home/ncvs/src/release/sun4v/boot_crunch.conf,v
retrieving revision 1.6
diff -u -r1.6 boot_crunch.conf
--- sun4v/boot_crunch.conf	9 Mar 2009 17:05:31 -0000	1.6
+++ sun4v/boot_crunch.conf	26 Jun 2009 15:22:38 -0000
@@ -42,4 +42,4 @@
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -lbsdxml
-libs -larchive -lbz2 -lusb
+libs -larchive -lbz2 -lusb -ljail


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list