Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 16:07:18 -0700 (PDT)
From:      Bob Vaughan <techie@tantivy.stanford.edu>
To:        Greg White <gregw-freebsd-stable@greg.cex.ca>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: failures building release
Message-ID:  <200204152307.QAA04241@tantivy.stanford.edu>
In-Reply-To: <20020412120402.B39185@greg.cex.ca> "from Greg White at Apr 12, 2002 12:04:02 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

> On Thu Apr 04/11/02, 2002 at 12:02:47PM -0700, Bob Vaughan wrote:
> > 
> > with yesterdays -stable, built from fresh source, virgin obj.
> > 
> > ===> games/adventure
> > install -c -s -o root -g games -m 550   adventure /usr/games/hide
> > (cd /usr/games; ln -fs dm adventure;  chown -h root:wheel adventure)
> > /usr/libexec/ld-elf.so.1: shared object "libc.so.4" not found
> 
> Can you please post the _exact_ script that you use to build release?
> If they're not set in the script, I'd like to see the following env.
> vars. as well: 
> 
> CHROOTDIR
> CVSROOT 
> BUILDNAME
> RELEASETAG
> 
> I think I know _exactly_ what is wrong. ;)
> 
> -- 
> Greg White
> 

Ok.. I has missed RELEASETAG, but now that I define it, it still bombs..



cc -O -pipe     -DCRUNCHED_BINARY -c grep_stub.c
ld -dc -r -o grep.lo grep_stub.o /usr/obj//usr/src/gnu/usr.bin/grep/dfa.o /usr/obj//usr/src/gnu/usr.bin/grep/getopt.o /usr/obj//usr/src/gnu/usr.bin/grep/getopt1.o /usr/obj//usr/src/gnu/usr.bin/grep/grep.o /usr/obj//usr/src/gnu/usr.bin/grep/kwset.o /usr/obj//usr/src/gnu/usr.bin/grep/obstack.o /usr/obj//usr/src/gnu/usr.bin/grep/savedir.o /usr/obj//usr/src/gnu/usr.bin/grep/search.o /usr/obj//usr/src/gnu/usr.bin/grep/stpcpy.o
crunchide -k _crunched_grep_stub grep.lo
cc -static -o fixit_crunch fixit_crunch.o cat.lo chmod.lo chroot.lo cp.lo dd.lo df.lo echo.lo expr.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo rm.lo rmdir.lo sleep.lo sync.lo chown.lo clri.lo disklabel.lo dmesg.lo fdisk.lo mknod.lo mount.lo reboot.lo restore.lo swapon.lo umount.lo mount_msdos.lo mount_cd9660.lo ftp.lo telnet.lo vi.lo grep.lo -lcrypt -ltelnet -lutil -ll -lm -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz
/usr/libexec/elf/ld: cannot find -ltelnet
*** Error code 1

Stop in /usr/obj/usr/src/release/fixit_crunch.
*** Error code 1

Stop in /usr/src/release.
*** Error code 1

Stop in /q1/20020414/src/release.



/etc/make.conf contains:
NOGAMES = true


I'm using the following script(s) to build release:


domost:

#!/bin/sh
# prepare and build release, create ISO image.
#
/root/bin/prep
/root/bin/buildrelease
/root/bin/mkreleaseiso


prep:

#!/bin/sh
#
# $today is defined as a environment variable.
# and contains the working src directory.
# this ensures that we are working from fresh source, and fresh obj space.
#
cd /q1
/bin/rm -f today 
/bin/mkdir $today 
/bin/ln -s $today today
/bin/mkdir today/src
/usr/local/sbin/cvsupd &
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile


buildrelease:


#!/bin/sh
cd /q1/today/src
/usr/bin/make buildworld
/usr/bin/make buildkernel
cd /q1/today/src/release
/usr/bin/make -DNOPORTS -DNODOC release RELEASETAG=RELENG_4 CHROOTDIR=/q1/release CVSROOT=/home/ncvs


mkreleaseiso:

#!/bin/sh
/usr/local/bin/mkisofs -U -R -b floppies/boot.flp -o /q1/boot.iso /q1/release-today/R/cdrom/disc1



cvsupfile:

*default	host=localhost
*default	base=/usr
*default	prefix=/usr
*default	release=cvs
*default	tag=RELENG_4
*default	delete use-rel-suffix
*default	compress

src-all

*default	tag=.

ports-all



My local cvs mirror is mirroring from cvsup3, and seems to be up to date.




-- 
               -- Welcome My Son, Welcome To The Machine --
Bob Vaughan  | techie@{w6yx|tantivy}.stanford.edu | kc6sxc@w6yx.ampr.org
	     | P.O. Box 19792, Stanford, Ca 94309
-- I am Me, I am only Me, And no one else is Me, What could be simpler? --
-- 
               -- Welcome My Son, Welcome To The Machine --
Bob Vaughan  | techie@{w6yx|tantivy}.stanford.edu | kc6sxc@w6yx.ampr.org
	     | P.O. Box 19792, Stanford, Ca 94309
-- I am Me, I am only Me, And no one else is Me, What could be simpler? --

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204152307.QAA04241>