Bug 136071 - [build] 8.0-CURRENT fails to build boot_crunch binaries (make release.4)
Summary: [build] 8.0-CURRENT fails to build boot_crunch binaries (make release.4)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 8.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jamie Gritton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 17:00 UTC by Scot Hetzel
Modified: 2009-07-06 18:21 UTC (History)
0 users

See Also:


Attachments
file.diff (3.69 KB, patch)
2009-06-26 17:00 UTC, Scot Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2009-06-26 17:00:05 UTC
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.

Fix: The attached patch adds -ljail to the /usr/src/release/{arch}/boot_crunch.conf files.

Patch attached with submission follows:
How-To-Repeat: cd /usr/src
make buildworld
cd /usr/src/release
make release CVSROOT=/home/ncvs CHROOTDIR=/path/to/release/dir
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2009-06-27 11:28:50 UTC
Responsible Changed
From-To: freebsd-bugs->jamie

Jamie can you check the patch and if ok, get it comitted?
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-06-29 14:59:40 UTC
Author: jamie
Date: Mon Jun 29 13:59:30 2009
New Revision: 195156
URL: http://svn.freebsd.org/changeset/base/195156

Log:
  Add libjail to the boot_crunch binaries (for ifconfig).
  
  PR:		136071
  Submitted by:	Scot Hetzel
  Approved by:	re (kensmith), bz (mentor)

Modified:
  head/release/amd64/boot_crunch.conf
  head/release/i386/boot_crunch.conf
  head/release/ia64/boot_crunch.conf
  head/release/pc98/boot_crunch.conf
  head/release/powerpc/boot_crunch.conf
  head/release/sparc64/boot_crunch.conf
  head/release/sun4v/boot_crunch.conf

Modified: head/release/amd64/boot_crunch.conf
==============================================================================
--- head/release/amd64/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/amd64/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -42,4 +42,4 @@ progs usbconfig
 
 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

Modified: head/release/i386/boot_crunch.conf
==============================================================================
--- head/release/i386/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/i386/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -42,4 +42,4 @@ progs usbconfig
 
 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

Modified: head/release/ia64/boot_crunch.conf
==============================================================================
--- head/release/ia64/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/ia64/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -46,4 +46,4 @@ progs usbconfig
 
 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

Modified: head/release/pc98/boot_crunch.conf
==============================================================================
--- head/release/pc98/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/pc98/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -41,4 +41,4 @@ progs sysinstall
 
 libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
 libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -lbsdxml
-libs -larchive -lbz2
+libs -larchive -lbz2 -ljail

Modified: head/release/powerpc/boot_crunch.conf
==============================================================================
--- head/release/powerpc/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/powerpc/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -44,4 +44,4 @@ progs usbconfig
 
 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

Modified: head/release/sparc64/boot_crunch.conf
==============================================================================
--- head/release/sparc64/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/sparc64/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -42,4 +42,4 @@ progs usbconfig
 
 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

Modified: head/release/sun4v/boot_crunch.conf
==============================================================================
--- head/release/sun4v/boot_crunch.conf	Mon Jun 29 10:59:36 2009	(r195155)
+++ head/release/sun4v/boot_crunch.conf	Mon Jun 29 13:59:30 2009	(r195156)
@@ -42,4 +42,4 @@ progs usbconfig
 
 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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Jamie Gritton freebsd_committer freebsd_triage 2009-07-06 17:59:38 UTC
State Changed
From-To: open->closed

Fixed with suggested patch.