Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 17:27:36 +1100
From:      "Chris Knight" <chris@aims.com.au>
To:        <current@freebsd.org>
Subject:   sysinstall move and make release on FreeBSD-stable
Message-ID:  <004301c081e0$eafc3af0$020aa8c0@aims.private>

next in thread | raw e-mail | index | archive | help
Howdy,

Since the sysinstall move, make release on FreeBSD-stable (as of 3 hrs ago)
breaks when building sysinstall. The output is:

===> usr.sbin/sysinstall
cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp
./rtermcap ansi |  file2c 'const char termcap_ansi[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25w |  file2c 'const char termcap_cons25w[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25 |  file2c 'const char termcap_cons25[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25-m |  file2c 'const char termcap_cons25_m[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25r |  file2c 'const char termcap_cons25r[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25r-m |  file2c 'const char termcap_cons25r_m[] = {' ',0};'
>> makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25l1 |  file2c 'const char termcap_cons25l1[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap cons25l1-m |  file2c 'const char termcap_cons25l1_m[] = {' ',0};'
>> makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap vt100 |  file2c 'const char termcap_vt100[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
./rtermcap xterm |  file2c 'const char termcap_xterm[] = {' ',0};'  >>
makedevs.tmp
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found

then:

cc -O -pipe -Wall -I/usr/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I.
   -I/usr/obj/usr/src/i386/usr/include -c makedevs.c
makedevs.c:4: syntax error before `,'
makedevs.c:7: syntax error before `,'
makedevs.c:10: syntax error before `,'
makedevs.c:13: syntax error before `,'
makedevs.c:16: syntax error before `,'
makedevs.c:19: syntax error before `,'
makedevs.c:22: syntax error before `,'
makedevs.c:25: syntax error before `,'
makedevs.c:28: syntax error before `,'
makedevs.c:31: syntax error before `,'

I did a local hack to copy libc.so.5 into ${CHROOTDIR}/usr/lib before the
chroot command, but this doesn't solve the problem properly. At the moment,
it seems that current snapshots can only be built with current, and I'm not
sure of the correct way to fix this for stable. I'm thinking the best way is
to change the linking command for rtermcap in
/usr/src/usr.sbin/sysinstall/Makefile relative to one of the environment
variables set for the make release process. Not foolproof, but better than
my hack :-)
Also, the following commands added to ${CHROOTDIR}/mk are now dependent on
where sysinstall in the release you're trying to build lives.

cd /usr/src/release/sysinstall
make obj

They've been removed from /usr/src/release/Makefile v1.589, but aren't they
still required if you're trying to build a 4.x release? Or am I missing the
point?

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004301c081e0$eafc3af0$020aa8c0>