Re: FreeBSD/i386 make release breakage

2002-02-26 Thread murray


On Tue, Feb 26, 2002 at 06:39:22PM +0900, Makoto Matsushita wrote:
 Note that new dhclient requires some libraries which are *not*
 installed to /usr/lib (libdhcp, libres, libomapi, and libdst).

Installing them to /usr/lib wouldn't help for the crunched case
anyway.

 I have tried a quick hack to solve this; here is a patch to boot_crunch.conf.

  I tried a different approach and I was able to build a properly
brunched dhclient.  However, src/release/Makefile tries to rebuild all
of the object files so my near-fix still falls over when building a
release.

There are several possible ways to solve this problem :

   1. Use the existing boot_crunch.conf, but fix crunchgen(1) to
  recurse into subdirectories to find object files.  This would
  require significant changes to the way that crunchgen currently
  works.

   2. Use the existing boot_crunch.conf, but move sbin/dhclient/* back
  to a single top-level Makefile.  This does not work at the
  moment, because the objects in each subdirectory are built with
  different command line options to conditionally compile
  different parts of the header files.

   3. Add an explicit OBJ list in the top level dhclient Makefile
  wrapped in a .ifdef (RELEASE_CRUNCH).  This works well to build
  a crunched dhclient binary, however, src/release/Makefile tries
  to rebuild all of the objects individually, and gets confused
  when asked to rebuild 'client/clparse.o' from the top level, for
  example.  src/release/Makefile could be changed to fix this.

I'm currently looking into #2 and #3, as well as working with Ted
Lemon from the ISC to fix some symbol pollution that this whole mess
has exposed.  Any other ideas?

  - Murray

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-26 Thread Makoto Matsushita


murray I'm currently looking into #2 and #3, as well as working with Ted
murray Lemon from the ISC to fix some symbol pollution that this whole mess
murray has exposed.  Any other ideas?

Currently nothing, it seems that #3 (or its variant) is better IMHO.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-26 Thread Murray Stokely

On Wed, Feb 27, 2002 at 12:19:01AM +0900, Makoto Matsushita wrote:
 murray I'm currently looking into #2 and #3, as well as working with Ted
 murray Lemon from the ISC to fix some symbol pollution that this whole mess
 murray has exposed.  Any other ideas?
 
 Currently nothing, it seems that #3 (or its variant) is better IMHO.

  Ok.  Fixed in r1.15 of sbin/dhclient/Makefile.  I'm not sure if make
release will succeed now (just started a build), but release.4 will at
least build a crunched dhclient again.

- Murray

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-26 Thread David O'Brien

On Tue, Feb 26, 2002 at 06:39:22PM +0900, Makoto Matsushita wrote:
 Note that new dhclient requires some libraries which are *not*
 installed to /usr/lib (libdhcp, libres, libomapi, and libdst).

They are built and linked statically.  This is not possible with
crunch_gen?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-26 Thread David O'Brien

On Tue, Feb 26, 2002 at 05:30:50AM -0800, [EMAIL PROTECTED] wrote:
2. Use the existing boot_crunch.conf, but move sbin/dhclient/* back
   to a single top-level Makefile.  This does not work at the
   moment, because the objects in each subdirectory are built with
   different command line options to conditionally compile
   different parts of the header files.

Also there is at least one filename that is the same in two of the
directories.  We can work around this at import time thru a
FREEBSD-updating set of instructions.  (or even better, get ISC to rename
them).

I can work around the CFLAGS issue if desired.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



FreeBSD/i386 make release breakage

2002-02-24 Thread Makoto Matsushita


Current 5-current fails 'make release' when processing release.4
target (making a crunch binary).  Here's sample session:

=== doc
rm -f cpio.info cpio.info.gz
rm -f .depend /usr/obj/usr/src/gnu/usr.bin/cpio/GPATH
/usr/obj/usr/src/gnu/usr.bin/cpio/GRTAGS
/usr/obj/usr/src/gnu/usr.bin/cpio/GSYMS
/usr/obj/usr/src/gnu/usr.bin/cpio/GTAGS
=== doc
make: don't know how to make dhclient_clean. Stop

src/sbin/dhclient/Makefile doesn't know 'dhclient_clean' target.

% cd /usr/src/sbin/dhclient
% make -n dhclient_clean
make: don't know how to make dhclient_clean. Stop

It seems that crunchgen misunderstands src/sbin/dhclient/Makefile,
and fails to generate a Makefile for crunch binary.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-24 Thread Makoto Matsushita


Ouch.

matusita src/sbin/dhclient/Makefile doesn't know 'dhclient_clean' target.

Of course that's normal, dhclient_clean target should be created by crunchgen.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-24 Thread Manfred Antar

At 01:27 PM 2/25/2002 +0900, Makoto Matsushita wrote:

Current 5-current fails 'make release' when processing release.4
target (making a crunch binary).  Here's sample session:

=== doc
rm -f cpio.info cpio.info.gz
rm -f .depend /usr/obj/usr/src/gnu/usr.bin/cpio/GPATH
/usr/obj/usr/src/gnu/usr.bin/cpio/GRTAGS
/usr/obj/usr/src/gnu/usr.bin/cpio/GSYMS
/usr/obj/usr/src/gnu/usr.bin/cpio/GTAGS
=== doc
make: don't know how to make dhclient_clean. Stop

src/sbin/dhclient/Makefile doesn't know 'dhclient_clean' target.

% cd /usr/src/sbin/dhclient
% make -n dhclient_clean
make: don't know how to make dhclient_clean. Stop

It seems that crunchgen misunderstands src/sbin/dhclient/Makefile,
and fails to generate a Makefile for crunch binary.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message 

Makoto
I can't even get that far. On current as of today:

make release BUILDNAME=5.0-20020224-CURRENT \
CHROOTDIR=/usr/tmp/release/5.0-20020224-CURRENT \
CVSROOT=/usr/home/ncvs NOPORTS=YES |  tee /usr/src/release/release.log

After the cvs checkout completes:

cvs checkout: Updating doc/zh_TW.Big5/share
cvs checkout: Updating doc/zh_TW.Big5/share/sgml
U doc/zh_TW.Big5/share/sgml/catalog
U doc/zh_TW.Big5/share/sgml/freebsd.dsl
if [ -d /usr/src/release/../../ports/distfiles/ ]; then  cp -rp 
/usr/src/release/../../ports/distfiles 
/usr/tmp/release/5.0-20020224-CURRENT/usr/ports/distfiles;  else  mkdir -p 
/usr/tmp/release/5.0-20020224-CURRENT/usr/ports/distfiles  fi
Syntax error: end of file unexpected (expecting fi)
*** Error code 2
Stop in /usr/src/release.

Manfred
==
||  [EMAIL PROTECTED]   ||
||  Ph. (415) 681-6235  ||
==


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FreeBSD/i386 make release breakage

2002-02-24 Thread Makoto Matsushita


null After the cvs checkout completes:

Ah, big sorry... I just fixed in src/release/Makefile rev 1.658.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message