Re: make release failure in kerberos
On Thu, Feb 21, 2002 at 06:24:59AM +0200, John Hay wrote: > Hi Jacques, > > Make release fails here. Can it be your changes to kerberos? Could be; I'll have a look. Thanks! -- Jacques A. Vidrine <[EMAIL PROTECTED]> http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos [EMAIL PROTECTED] . [EMAIL PROTECTED] . [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure in kerberos
Hi Jacques, Make release fails here. Can it be your changes to kerberos? John -- John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED] ===> libexec/kdc ... cc -O -pipe -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/include -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/lib/krb5 -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/lib/asn1 -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/lib/hdb -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kuser -I/usr/obj/usr/src/kerberos5/libexec/kdc/../../lib/libasn1 -I/usr/obj/usr/src/kerberos5/libexec/kdc/../../lib/libhdb -I/usr/obj/usr/src/kerberos5/libexec/kdc -Wall -I/usr/src/kerberos5/libexec/kdc/../../include -I/usr/src/kerberos5/libexec/kdc/../../include -DHAVE_CONFIG_H -DINET6-c /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c: In function `create_reply_ticket': /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:254: syntax error before `ticket' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:268: warning: implicit declaration of function `krb_create_ticket' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:268: `ticket' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:268: (Each undeclared identifier is reported only once /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:268: for each function it appears in.) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:282: warning: implicit declaration of function `krb_life_to_time' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c: In function `do_authenticate': /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:405: `v4_realm' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:407: warning: implicit declaration of function `db_fetch4' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:435: warning: implicit declaration of function `get_des_key' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:483: warning: implicit declaration of function `krb_time_to_life' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c: In function `do_getticket': /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:587: `ANAME_SZ' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:588: `INST_SZ' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:589: `REALM_SZ' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:599: `v4_realm' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:646: syntax error before `ticket' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:651: `SNAME_SZ' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:654: `ticket' undeclared (first use in this function) /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:666: warning: implicit declaration of function `decomp_ticket' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:651: warning: unused variable `sinstance' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:650: warning: unused variable `sname' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:589: warning: unused variable `prealm' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:588: warning: unused variable `pinst' /usr/src/kerberos5/libexec/kdc/../../../crypto/heimdal/kdc/kaserver.c:587: warning: unused variable `pname' *** Error code 1 Stop in /usr/src/kerberos5/libexec/kdc. *** Error code 1 Stop in /usr/src/kerberos5/libexec. *** Error code 1 Stop in /usr/src/kerberos5. *** Error code 1 Stop in /usr/src/release. *** Error code 1 Stop in /home/src/release. End Thu Feb 21 01:27:59 SAST 2002 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
If memory serves me right, John Hay wrote: > I have now also tested your second patch and with a minor mod to make > make happy, the release finished. Here is the patch as I have used it. [snip] Great, thanks for testing this! I'm still having problems keeping my scratch box alive long enough for a make release to complete, so this is much appreciated. (I did get far enough to find the mistake in the patch that you also fixed.) I committed the corrected patch with one additional, minor mod (last instance of NORELNOTES changed to NODOC). Thanks again, Bruce. PGP signature
Re: make release failure
Bruce, > > Yes, this patch fix it for me. I had to convert the spaces back to tabs > > though. :-) > > Hi John-- > > I was trying to test out another patch, which (in addition to fixing > the problem you found) also folds the functionality of NORELNOTES into > NODOC. Unfortunately, my -CURRENT test box is having some difficulties > (probably VM-related) and it's going to take a little while before I > can do a "make release" again to do any testing. :-( > > I'll see what I can do about getting my first patch committed to at > least unbreak "make release". > I have now also tested your second patch and with a minor mod to make make happy, the release finished. Here is the patch as I have used it. John -- John Hay -- [EMAIL PROTECTED] Index: release/Makefile === RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.619 diff -u -r1.619 Makefile --- release/Makefile2001/05/29 17:14:59 1.619 +++ release/Makefile2001/05/30 07:10:28 @@ -69,15 +69,11 @@ # CPU cycles (some of the programs are C++, and things like ghostscript # belong to the required ports nevertheless). # -# Setting this also disables doc.2 (RELNOTESng). +# Setting this also disables building of release note documentation +# (RELNOTESng). #NODOC= YES #NOPORTS= YES -# RELNOTESng can be disabled by uncommenting the following variable -# definition. RELNOTESng depends on having ports enabled for this -# release build. -#NORELNOTES= YES - # Uncomment and modify this definition if you want the release notes # and other release documentation in a language other than English. #RELNOTES_LANG=en_US.ISO_8859-1 @@ -109,7 +105,7 @@ # on the boot floppy. WARNING: Breaks on some Athlon (K7) motherboards. AUTO_KEYBOARD_DETECT?= 0 -.if !defined(NORELNOTES) +.if !defined(NODOC) DIST_DOCS_ARCH_INDEP= readme errata DIST_DOCS_ARCH_DEP=installation relnotes hardware .endif @@ -219,11 +215,8 @@ .endif .if !defined(NODOC) -DOCREL= doc.1 -.if !defined(NORELNOTES) -DOCREL+= doc.2 +DOCREL= doc.1 doc.2 .endif -.endif .if !defined(NOPORTREADMES) MAKEREADMES= make readmes PORTSDIR=${CHROOTDIR}/usr/ports @@ -240,11 +233,6 @@ @echo "unset NOPORTS, or set at least DOMINIMALDOCPORTS to YES!" @exit 1 .endif -.if !defined(NORELNOTES) && defined(NODOC) - @echo "Docs are required for building the release notes. Either" - @echo "set NORELNOTES or unset NODOC!" - @exit 1 -.endif .if make(release) .if exists(${CHROOTDIR}) # The first command will fail on a handful of files that have their schg @@ -357,9 +345,6 @@ .if defined(NOSRC) echo "export NOSRC=${NOSRC}">> ${CHROOTDIR}/mk .endif -.if defined(NORELNOTES) - echo "export NORELNOTES=${NORELNOTES}" >> ${CHROOTDIR}/mk -.endif .if defined(RELNOTES_LANG) echo "export RELNOTES_LANG=${RELNOTES_LANG}">> ${CHROOTDIR}/mk .else @@ -617,7 +602,7 @@ ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \ done @@ -712,7 +697,7 @@ -@ln -s . ${FD}/${BUILDNAME} @cd ${RD} && find floppies -print | cpio -dumpl ${FD} @cd ${RD}/dists && find . -print | cpio -dumpl ${FD} -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \ @@ -751,7 +736,7 @@ @cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
If memory serves me right, John Hay wrote: > Yes, this patch fix it for me. I had to convert the spaces back to tabs > though. :-) Hi John-- I was trying to test out another patch, which (in addition to fixing the problem you found) also folds the functionality of NORELNOTES into NODOC. Unfortunately, my -CURRENT test box is having some difficulties (probably VM-related) and it's going to take a little while before I can do a "make release" again to do any testing. :-( I'll see what I can do about getting my first patch committed to at least unbreak "make release". Thanks for testing my patch, BTW! Bruce. PGP signature
Re: make release failure
Yes, this patch fix it for me. I had to convert the spaces back to tabs though. :-) John -- John Hay -- [EMAIL PROTECTED] > If memory serves me right, Dima Dorfman wrote: > > John Hay <[EMAIL PROTECTED]> writes: > > > > > > *** Filesystem is 1440 K, 66 left > > > > > *** 4000 bytes/inode, 116 left > > > > > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory > > > > > > > > What revision of src/release/Makefile do you have? You want 1.618. > > > > > > beast# fgrep '$FreeBSD' /usr/src/release/Makefile > > > # $FreeBSD: src/release/Makefile,v 1.618 2001/05/25 18:01:31 bmah Exp $ > > > beast# fgrep 'texts/FLOPPIES.TXT' /usr/src/release/Makefile > > > @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT > > Mea culpa. Mea maxima culpa. :-( > > > Could you please try the attached, untested patch? I don't know > > enough about the release build process to know if it should work, but > > I guess it's worth a shot. Bruce Mah (cc'd) should know whether it's > > the Right(tm) fix. > > Just got back from a road trip...my brain is a little fried now. > > dd is going in the right direction, but the Makefile needs to consider > if NORELNOTES is defined or not. I recommend something like the > patch appended below...also untested...I'll test this tomorrow > when I am more awake, and maybe by then I will have figured out why > this slipped through my testing. > > Sorry folks... > > Bruce. > > Index: Makefile > === > RCS file: /home/ncvs/src/release/Makefile,v > retrieving revision 1.618 > diff -u -r1.618 Makefile > --- Makefile2001/05/25 18:01:31 1.618 > +++ Makefile2001/05/28 06:29:31 > @@ -694,8 +694,13 @@ > @sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \ > ${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} > # Do our last minute floppies directory setup in a convenient place. > - @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT > +.if !defined(NORELNOTES) > + @cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \ > + ${RD}/floppies/README.TXT > @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) > +.else > + @(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5) > +.endif > touch release.9 > > # To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
If memory serves me right, Dima Dorfman wrote: > "David O'Brien" <[EMAIL PROTECTED]> writes: > > On Sun, May 27, 2001 at 11:32:09PM -0700, Bruce A. Mah wrote: > > > +.if !defined(NORELNOTES) > > > > Do we really need Yet Another Knob? Why isn't NODOC suffient? > > FWIW, I think we should lose NORELNOTES; as you say, NODOC is > sufficient. You both speak the truth. :-) The following patch fixes the make release breakage and brings the behavior formerly controlled by NORELNOTES under NODOC. I'm going to do a little (more) testing today, followed by a commit and some more testing. Feedback is as usual appreciated... Thanks for the help all... Bruce. Index: Makefile === RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.618 diff -u -r1.618 Makefile --- Makefile2001/05/25 18:01:31 1.618 +++ Makefile2001/05/28 18:38:35 @@ -69,15 +69,11 @@ # CPU cycles (some of the programs are C++, and things like ghostscript # belong to the required ports nevertheless). # -# Setting this also disables doc.2 (RELNOTESng). +# Setting this also disables building of release note documentation +# (RELNOTESng). #NODOC= YES #NOPORTS= YES -# RELNOTESng can be disabled by uncommenting the following variable -# definition. RELNOTESng depends on having ports enabled for this -# release build. -#NORELNOTES= YES - # Uncomment and modify this definition if you want the release notes # and other release documentation in a language other than English. #RELNOTES_LANG=en_US.ISO_8859-1 @@ -109,7 +105,7 @@ # on the boot floppy. WARNING: Breaks on some Athlon (K7) motherboards. AUTO_KEYBOARD_DETECT?= 0 -.if !defined(NORELNOTES) +.if !defined(NODOC) DIST_DOCS_ARCH_INDEP= readme errata DIST_DOCS_ARCH_DEP=installation relnotes hardware .endif @@ -219,9 +215,7 @@ .endif .if !defined(NODOC) -DOCREL= doc.1 -.if !defined(NORELNOTES) -DOCREL+= doc.2 +DOCREL= doc.1 doc.2 .endif .endif @@ -240,11 +234,6 @@ @echo "unset NOPORTS, or set at least DOMINIMALDOCPORTS to YES!" @exit 1 .endif -.if !defined(NORELNOTES) && defined(NODOC) - @echo "Docs are required for building the release notes. Either" - @echo "set NORELNOTES or unset NODOC!" - @exit 1 -.endif .if make(release) .if exists(${CHROOTDIR}) # The first command will fail on a handful of files that have their schg @@ -357,9 +346,6 @@ .if defined(NOSRC) echo "export NOSRC=${NOSRC}">> ${CHROOTDIR}/mk .endif -.if defined(NORELNOTES) - echo "export NORELNOTES=${NORELNOTES}" >> ${CHROOTDIR}/mk -.endif .if defined(RELNOTES_LANG) echo "export RELNOTES_LANG=${RELNOTES_LANG}">> ${CHROOTDIR}/mk .else @@ -617,7 +603,7 @@ ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \ done @@ -694,8 +680,13 @@ @sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \ ${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} # Do our last minute floppies directory setup in a convenient place. - @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT +.if !defined(NODOC) + @cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \ + ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) +.else + @(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5) +.endif touch release.9 # @@ -707,7 +698,7 @@ -@ln -s . ${FD}/${BUILDNAME} @cd ${RD} && find floppies -print | cpio -dumpl ${FD} @cd ${RD}/dists && find . -print | cpio -dumpl ${FD} -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \ @@ -746,7 +737,7 @@ @cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf -.if !defined(NORELNOTES) +.if !defined(NODOC) @for i in ${DIST_DOCS_ARCH_INDEP}; do \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \ cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \ PGP signature
Re: make release failure
"David O'Brien" <[EMAIL PROTECTED]> writes: > On Sun, May 27, 2001 at 11:32:09PM -0700, Bruce A. Mah wrote: > > +.if !defined(NORELNOTES) > > Do we really need Yet Another Knob? Why isn't NODOC suffient? FWIW, I think we should lose NORELNOTES; as you say, NODOC is sufficient. > I cannot think of any reason that the people who typically use NODOC=yes > would want release notes. Heh, it isn't like they could get them, anyway. RELNOTESng depends on the doc tree. Dima Dorfman [EMAIL PROTECTED] > Or please at least treat NODOCS=yes ==> NORELNOTES=yes. > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
On Sun, May 27, 2001 at 11:32:09PM -0700, Bruce A. Mah wrote: > +.if !defined(NORELNOTES) Do we really need Yet Another Knob? Why isn't NODOC suffient? I cannot think of any reason that the people who typically use NODOC=yes would want release notes. Or please at least treat NODOCS=yes ==> NORELNOTES=yes. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
If memory serves me right, Dima Dorfman wrote: > John Hay <[EMAIL PROTECTED]> writes: > > > > *** Filesystem is 1440 K, 66 left > > > > *** 4000 bytes/inode, 116 left > > > > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory > > > > > > What revision of src/release/Makefile do you have? You want 1.618. > > > > beast# fgrep '$FreeBSD' /usr/src/release/Makefile > > # $FreeBSD: src/release/Makefile,v 1.618 2001/05/25 18:01:31 bmah Exp $ > > beast# fgrep 'texts/FLOPPIES.TXT' /usr/src/release/Makefile > > @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT Mea culpa. Mea maxima culpa. :-( > Could you please try the attached, untested patch? I don't know > enough about the release build process to know if it should work, but > I guess it's worth a shot. Bruce Mah (cc'd) should know whether it's > the Right(tm) fix. Just got back from a road trip...my brain is a little fried now. dd is going in the right direction, but the Makefile needs to consider if NORELNOTES is defined or not. I recommend something like the patch appended below...also untested...I'll test this tomorrow when I am more awake, and maybe by then I will have figured out why this slipped through my testing. Sorry folks... Bruce. Index: Makefile === RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.618 diff -u -r1.618 Makefile --- Makefile2001/05/25 18:01:31 1.618 +++ Makefile2001/05/28 06:29:31 @@ -694,8 +694,13 @@ @sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \ ${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} # Do our last minute floppies directory setup in a convenient place. - @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT +.if !defined(NORELNOTES) + @cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \ + ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) +.else + @(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5) +.endif touch release.9 # PGP signature
Re: make release failure
John Hay <[EMAIL PROTECTED]> writes: > > > A make release failed here with: > > > > > > # > > > touch release.8 > > > Making fixit floppy. > > > disklabel: ioctl DIOCWLABEL: Operation not supported by device > > > Warning: Block size restricts cylinders per group to 6. > > > Warning: 1216 sector(s) in last cylinder unallocated > > > /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors > > > 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) > > > super-block backups (for fsck -b #) at: > > > 32 > > > 2556 blocks > > > Filesystem 1K-blocks UsedAvail Capacity iused ifree %iused M > ount > > > ed on > > > /dev/md0c1363 1297 6695% 266 11670% / > mnt > > > *** Filesystem is 1440 K, 66 left > > > *** 4000 bytes/inode, 116 left > > > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory > > > > What revision of src/release/Makefile do you have? You want 1.618. > > beast# fgrep '$FreeBSD' /usr/src/release/Makefile > # $FreeBSD: src/release/Makefile,v 1.618 2001/05/25 18:01:31 bmah Exp $ > beast# fgrep 'texts/FLOPPIES.TXT' /usr/src/release/Makefile > @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT Could you please try the attached, untested patch? I don't know enough about the release build process to know if it should work, but I guess it's worth a shot. Bruce Mah (cc'd) should know whether it's the Right(tm) fix. Thanks, Dima Dorfman [EMAIL PROTECTED] Index: Makefile === RCS file: /stl/src/FreeBSD/src/release/Makefile,v retrieving revision 1.618 diff -u -r1.618 Makefile --- Makefile2001/05/25 18:01:31 1.618 +++ Makefile2001/05/28 04:03:26 @@ -694,7 +694,8 @@ @sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \ ${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} # Do our last minute floppies directory setup in a convenient place. - @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT + @cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \ + ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) touch release.9 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
> > A make release failed here with: > > > > # > > touch release.8 > > Making fixit floppy. > > disklabel: ioctl DIOCWLABEL: Operation not supported by device > > Warning: Block size restricts cylinders per group to 6. > > Warning: 1216 sector(s) in last cylinder unallocated > > /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors > > 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) > > super-block backups (for fsck -b #) at: > > 32 > > 2556 blocks > > Filesystem 1K-blocks UsedAvail Capacity iused ifree %iused Mount > > ed on > > /dev/md0c1363 1297 6695% 266 11670% /mnt > > *** Filesystem is 1440 K, 66 left > > *** 4000 bytes/inode, 116 left > > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory > > What revision of src/release/Makefile do you have? You want 1.618. beast# fgrep '$FreeBSD' /usr/src/release/Makefile # $FreeBSD: src/release/Makefile,v 1.618 2001/05/25 18:01:31 bmah Exp $ beast# fgrep 'texts/FLOPPIES.TXT' /usr/src/release/Makefile @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT John -- John Hay -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
John Hay <[EMAIL PROTECTED]> writes: > A make release failed here with: > > # > touch release.8 > Making fixit floppy. > disklabel: ioctl DIOCWLABEL: Operation not supported by device > Warning: Block size restricts cylinders per group to 6. > Warning: 1216 sector(s) in last cylinder unallocated > /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors > 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) > super-block backups (for fsck -b #) at: > 32 > 2556 blocks > Filesystem 1K-blocks UsedAvail Capacity iused ifree %iused Mount > ed on > /dev/md0c1363 1297 6695% 266 11670% /mnt > *** Filesystem is 1440 K, 66 left > *** 4000 bytes/inode, 116 left > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory What revision of src/release/Makefile do you have? You want 1.618. > *** Error code 1 > > Stop in /usr/src/release. > *** Error code 1 > > Stop in /usr/src/release. > ... > ## > > John > -- > John Hay -- [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
On Sun, May 27, 2001 at 10:45:59PM +0200, John Hay wrote: This strongly smells like a side-effect of RELNOTESng that removed the 'texts' subdir in favor of generated .txt from .sgml source files Wilko > A make release failed here with: > > # > touch release.8 > Making fixit floppy. > disklabel: ioctl DIOCWLABEL: Operation not supported by device > Warning: Block size restricts cylinders per group to 6. > Warning: 1216 sector(s) in last cylinder unallocated > /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors > 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) > super-block backups (for fsck -b #) at: > 32 > 2556 blocks > Filesystem 1K-blocks UsedAvail Capacity iused ifree %iused Mounted on > /dev/md0c1363 1297 6695% 266 11670% /mnt > *** Filesystem is 1440 K, 66 left > *** 4000 bytes/inode, 116 left > cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory > *** Error code 1 > > Stop in /usr/src/release. > *** Error code 1 > > Stop in /usr/src/release. > ... > ## > > John > -- > John Hay -- [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message ---end of quoted text--- -- | / o / / _ Arnhem, The Netherlandsemail: [EMAIL PROTECTED] |/|/ / / /( (_) BultePowered by FreeBSD/alpha http://www.freebsd.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure
A make release failed here with: # touch release.8 Making fixit floppy. disklabel: ioctl DIOCWLABEL: Operation not supported by device Warning: Block size restricts cylinders per group to 6. Warning: 1216 sector(s) in last cylinder unallocated /dev/md0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) super-block backups (for fsck -b #) at: 32 2556 blocks Filesystem 1K-blocks UsedAvail Capacity iused ifree %iused Mounted on /dev/md0c1363 1297 6695% 266 11670% /mnt *** Filesystem is 1440 K, 66 left *** 4000 bytes/inode, 116 left cp: /usr/src/release/texts/FLOPPIES.TXT: No such file or directory *** Error code 1 Stop in /usr/src/release. *** Error code 1 Stop in /usr/src/release. ... ## John -- John Hay -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure - ipfilter(osreldate.h)
On Sat, Oct 28, 2000 at 01:54:52PM -0700, John W. De Boskey wrote: > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:44: > @/netinet/ip_compat.h:268: osreldate.h: No such file or directory > *** Error code 1 This was fixed (two different ways) 2 days ago. What rev of /sys/modules/Makefile and ip_compat.h do you have? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure - ipfilter(osreldate.h)
Subject says it. I'll try to look at it later this evenning. ===> ipfilter cc -O -pipe -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c In file included from /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:44: @/netinet/ip_compat.h:268: osreldate.h: No such file or directory *** Error code 1 Stop in /usr/src/sys/modules/ipfilter. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/compile/GENERIC. *** Error code 1 ---> Sat Oct 28 16:09:16 EDT 2000 - build of 5.0-20001028-SNAP was an abject failure. Sources current as of 11:50am EST. -John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure during ports
On Sun, May 07, 2000 at 07:15:56PM -0400, John W. DeBoskey wrote: > fyi... > > ===> Creating README.html for tkrat-1.2 > ===> mail/tkrat2 This belongs in [EMAIL PROTECTED], NOT [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure during ports
"John W. DeBoskey" wrote: > > fyi... > > ===> Creating README.html for tkrat-1.2 > ===> mail/tkrat2 > ===> Creating README.html for tkrat-2.0b9 > ===> mail/wanderlust-emacs > Error: Bad value of EMACS_PORT_NAME: emacs. > Valid values are: > Emacs family: emacs19 mule19 emacs20 > XEmacs family: xemacs19 xemacs20 xemacs21 xemacs21-mule > *** Error code 1 > > If no-one pops up with a "I know what's going on" I'll see if I > can figure it ou. > > -John John, Would this have anything to do with the ports upgrade recently? I notice I get errors trying to make some things, so I've just grabbed the tarball and done the job myself. I've found someimes I get an error: # make install -: You need to define PORTNAME and PORTVERSION instead of PKGNAME. (This port is too old for your bsd.port.mk, please update it to match your bsd.port.mk.) *** Error code 1 Yeah, I've done the cvsup thing several times, but there are still some ports with this error. Should I be pointing them out to port maintainers or is this an on-going fix due to the change? I'm not one claiming "I know what's going on" as you had hoped. I'm just some putz who has had a problem with some ports recently. -Otter ./~sig files available for an additional fee; and NO! I don't Yahoo! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure during ports
fyi... ===> Creating README.html for tkrat-1.2 ===> mail/tkrat2 ===> Creating README.html for tkrat-2.0b9 ===> mail/wanderlust-emacs Error: Bad value of EMACS_PORT_NAME: emacs. Valid values are: Emacs family: emacs19 mule19 emacs20 XEmacs family: xemacs19 xemacs20 xemacs21 xemacs21-mule *** Error code 1 If no-one pops up with a "I know what's going on" I'll see if I can figure it ou. -John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: csh/nls problem causing make release failure
On Sun, Apr 23, 2000 at 11:20:46PM -0400, John W. DeBoskey wrote: >As Poul-Henning has pointed out, make release is broken... No, he pointed to different problem, 'make distribute' >Could the appropriate folks please take a look at this? I'll be > more than happy to test any patchs. Try now, I just commit what is supposed to fix. -- Andrey A. Chernov <[EMAIL PROTECTED]> http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
csh/nls problem causing make release failure
Hi, As Poul-Henning has pointed out, make release is broken... ===> bin/csh/nls ===> bin/csh/nls/finnish install -c -o root -g wheel -m 444 tcsh.cat /snap/release/../usr/share/nls/fi_FI.ISO_8859-1/tcsh.cat install: /snap/release/../usr/share/nls/fi_FI.ISO_8859-1/tcsh.cat: No such file or directory *** Error code 71 In looking at /usr/src/bin/csh/nls/finnish/Makefile, the install rule appears to have a problem: install: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ tcsh.cat ${DESTDIR}/..${NLSDIR}/${DL}/tcsh.cat At the beginning of a make release, the following is executed (I believe this is the failing component): cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1 where CHROOTDIR is /snap/release in my case thus making DESTDIR the same (/snap/release), and /syv/release in Poul-Henning's. I don't know enough about the nls issues to correctly fix this problem, however, it is apparent that the install rule above is wrong since "/snap/usr/share/..." does not exist and probably shouldn't during a "make release". Could the appropriate folks please take a look at this? I'll be more than happy to test any patchs. Thanks, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
On Sat, Jan 29, 2000 at 10:11:05AM +0100, Yoshinobu Inoue wrote: > Sorry for the problem. Could you try with this patch for now? Thank you, it worked, at least for completing the interupted release build. I have not tested in which way the patch affects building the world though. -- German Tischler, [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
> It might be easier to just commit it if `make buildworld' passes. OK, but now I have middle class speed machine at hand, and maybe it takes 2 or 3 hours. Also, do other apps which use libipsec will need same kind of change? (There is one under usr.bin, and several under usr.sbin.) Yoshinobu Inoue To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
On Sat, Jan 29, 2000 at 07:14:48PM +0900, Yoshinobu Inoue wrote: > > Sorry for the problem. Could you try with this patch for now? It might be easier to just commit it if `make buildworld' passes. With the double CVS checkout required in `make release' I don't know an easy good way to apply patches in the second checkout. Since `make release' is already broken, you cannot break it worse. -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
> Sorry for the problem. Could you try with this patch for now? Last patch was bad. Please try this one instead. Yoshinobu Inoue --- usr.bin/telnet/Makefile.orig Thu Jan 27 15:04:00 2000 +++ usr.bin/telnet/MakefileSun Jan 30 04:28:44 2000 @@ -40,12 +40,12 @@ CFLAGS+=-DENV_HACK CFLAGS+=-DSKEY CFLAGS+=-I${.CURDIR}/../../lib -CFLAGS+=-DIPSEC -DINET6 +CFLAGS+=-DINET6 #CFLAGS+= -DKRB4 -DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBIPSEC} -LDADD= -ltermcap -ltelnet -lipsec +DPADD= ${LIBTERMCAP} ${LIBTELNET} +LDADD= -ltermcap -ltelnet #DPADD+= ${LIBKRB} ${LIBDES} #LDADD+= -lkrb -ldes @@ -57,7 +57,14 @@ CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile NOCRYPT_DIR=${.CURDIR}/Nocrypt +.if !defined(RELEASE_CRUNCH) +CFLAGS+=-DIPSEC +DPADD+= ${LIBIPSEC} +LDADD+= -lipsec +.endif + .include nocrypt: @echo "Encryption code already removed." + To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
> Hi. > > I just tried a ,make release' with USA_RESIDENT set to NO. It failed with > dit -lgnuregex -lkvm -lz > telnet.lo: In function `setpolicy': > telnet.lo(.text+0x22af): undefined reference to `ipsec_set_policy' > telnet.lo(.text+0x22c0): undefined reference to `ipsec_strerror' > telnet.lo(.text+0x2303): undefined reference to `ipsec_get_policylen' > *** 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 /usr/src/release. Sorry for the problem. Could you try with this patch for now? Yoshinobu Inoue --- usr.bin/telnet/Makefile.origThu Jan 27 15:04:00 2000 +++ usr.bin/telnet/Makefile Sun Jan 30 03:19:31 2000 @@ -40,12 +40,12 @@ CFLAGS+=-DENV_HACK CFLAGS+=-DSKEY CFLAGS+=-I${.CURDIR}/../../lib -CFLAGS+=-DIPSEC -DINET6 +CFLAGS+=-DINET6 #CFLAGS+= -DKRB4 -DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBIPSEC} -LDADD= -ltermcap -ltelnet -lipsec +DPADD= ${LIBTERMCAP} ${LIBTELNET} +LDADD= -ltermcap -ltelnet #DPADD+= ${LIBKRB} ${LIBDES} #LDADD+= -lkrb -ldes @@ -57,7 +57,14 @@ CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile NOCRYPT_DIR=${.CURDIR}/Nocrypt +.if !defined(RELEASE_CRUNCH) +CFLAGS+=-DIPSEC +DPADD= ${LIBIPSEC} +LDADD= -lipsec +.endif + .include nocrypt: @echo "Encryption code already removed." + To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure
Hi. I just tried a ,make release' with USA_RESIDENT set to NO. It failed with --- 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 reboo t.lo restore.lo swapon.lo umount.lo mount_msdos.lo mount_cd9660.lo ftp.lo more.l o telnet.lo vi.lo grep.lo -lcrypt -ltelnet -lutil -ll -lm -lcurses -ltermcap -le dit -lgnuregex -lkvm -lz telnet.lo: In function `setpolicy': telnet.lo(.text+0x22af): undefined reference to `ipsec_set_policy' telnet.lo(.text+0x22c0): undefined reference to `ipsec_strerror' telnet.lo(.text+0x2303): undefined reference to `ipsec_get_policylen' *** 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 /usr/src/release. --- Perhaps that part of the release is not aware that something exists outside of USA_RESIDENT=YES. -- German Tischler, [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
Thus spake Rajappa Iyer ([EMAIL PROTECTED]): > That's certainly possible, although it might be a good idea to use a > variable to point to a make.conf file. This way "make release" does > not have to be too aware of what "make world" requires in > /etc/make.conf. though a make release in any case should contain sendmail, as an example, and so far if you have NO_SENDMAIL in your /etc/make.conf it's somehow bad. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
"David O'Brien" <[EMAIL PROTECTED]> writes: > On Tue, Jan 25, 2000 at 03:54:13PM -0500, Rajappa Iyer wrote: > > Yes, but $CHROOTDIR/etc is populated by "make installworld" when I do > > Why not just set USA_RESIDENT in your environment before starting > `make release'? That's certainly possible, although it might be a good idea to use a variable to point to a make.conf file. This way "make release" does not have to be too aware of what "make world" requires in /etc/make.conf. Failing that, perhaps /usr/src/release/Makefile could check for USA_RESIDENT early on to save checkouts of src, ports and docs. Rajappa -- <[EMAIL PROTECTED]> a.k.a. Rajappa Iyer. New York, New York. We're too busy mopping the floor to turn off the faucet. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
On Tue, Jan 25, 2000 at 03:54:13PM -0500, Rajappa Iyer wrote: > Yes, but $CHROOTDIR/etc is populated by "make installworld" when I do Why not just set USA_RESIDENT in your environment before starting `make release'? -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
Bruce Burden <[EMAIL PROTECTED]> writes: > > > > make release fails on "make world" with: > > > > !! > > >>> You must define the value of USA_RESIDENT as 'YES' or > > >>> 'NO' as appropriate, in the environment or /etc/make.conf > > >>> before building can proceed. > > !! > > > > The problem is that $CHROOTDIR/etc/make.conf is never created by make > > release. What am I missing? > > > /etc files are never installed by "make installworld". You >have to install these files yourself, or use something like >mergemaster(8). > > make.conf in found in /usr/src/etc/etc.[i386,alpha]/make.conf Yes, but $CHROOTDIR/etc is populated by "make installworld" when I do a "make release". My ``real'' /etc/make.conf exists and has the appropriate value for USA_RESIDENT. I see that /usr/src/release/Makefile does copy /etc/resolv.conf to ${CHROOTDIR}/etc. Maybe it should do the same for /etc/make.conf. What do people think of the following patch? Index: Makefile === RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.530 diff -c -r1.530 Makefile *** Makefile2000/01/24 01:22:30 1.530 --- Makefile2000/01/25 20:52:53 *** *** 37,42 --- 37,46 # Unless set elsewhere, indicate the object format we'll be using. OBJFORMAT?= elf + # make world needs make.conf which make installworld will not install + # in ${CHROOTDIR}/etc. + MAKECONF?=/etc/make.conf + # Uncomment this to disable the doc.1 target. It is also an ERROR # to set NOPORTS and not set NODOC since docs depend on ports. #NODOC= YES *** *** 155,160 --- 159,167 cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR} if [ -f /etc/resolv.conf ]; then \ cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \ + fi + if [ -f ${MAKECONF} ]; then \ + cp -p ${MAKECONF} ${CHROOTDIR}/etc; \ fi cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1 mkdir ${CHROOTDIR}/${BOOTSTRAPDIR} Thanks, Rajappa -- <[EMAIL PROTECTED]> a.k.a. Rajappa Iyer. New York, New York. We're too busy mopping the floor to turn off the faucet. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make release failure
> > make release fails on "make world" with: > > !! > >>> You must define the value of USA_RESIDENT as 'YES' or > >>> 'NO' as appropriate, in the environment or /etc/make.conf > >>> before building can proceed. > !! > > The problem is that $CHROOTDIR/etc/make.conf is never created by make > release. What am I missing? > /etc files are never installed by "make installworld". You have to install these files yourself, or use something like mergemaster(8). make.conf in found in /usr/src/etc/etc.[i386,alpha]/make.conf Bruce -- --- Bruce Burden[EMAIL PROTECTED] Tandem Computers Inc. 512-432-8944Network Verification 14231 Tandem Blvd. Auto answer(4 rings) Austin, TX 78726 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure
make release fails on "make world" with: + make world -- >>> elf make world started on Tue Jan 25 18:53:25 GMT 2000 -- !! >>> You must define the value of USA_RESIDENT as 'YES' or >>> 'NO' as appropriate, in the environment or /etc/make.conf >>> before building can proceed. !! *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src/release. The problem is that $CHROOTDIR/etc/make.conf is never created by make release. What am I missing? Thanks, Rajappa -- <[EMAIL PROTECTED]> a.k.a. Rajappa Iyer. New York, New York. We're too busy mopping the floor to turn off the faucet. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure (HARDWARE.TXT)
Hi, I've seen the following error for the last 2 days since the make release change to HARDWARE.TXT. CVS shows this file as removed from the head of the tree at revision 1.30 but the Makefile is unconditionally attempting to copy them in the ftp.1 & cdrom.1 targets, followed by optionally concatinating the ${MACHINE_ARCH} specific file. It appears that DIST_DOCS needs to be broken up into common doc or the for loops over DIST_DOCS needs to become smarter. I have supplied a patch which I beleive fixes the problem by allowing files misssing to be ignored. This of course means accidental errors in DOC file removal or location movement become harder to detect until someone actually checks the doc and sees that portions are missing. The patch and actual error condition follow. Thanks! John FreeBSD(root)/snap/release/usr/src/release %cvs diff -u Makefile Index: Makefile === RCS file: /mirror/ncvs/src/release/Makefile,v retrieving revision 1.527 diff -u -r1.527 Makefile --- Makefile2000/01/19 22:48:50 1.527 +++ Makefile2000/01/21 13:25:01 @@ -527,7 +527,11 @@ @cd ${RD} && find floppies -print | cpio -dumpl ${FD} @cd ${RD}/dists && find . -print | cpio -dumpl ${FD} @for i in ${DIST_DOCS}; do \ - cp ${.CURDIR}/texts/$${i} ${FD}; \ + if [ -f ${.CURDIR}/texts/$${i} ]; then \ +cp ${.CURDIR}/texts/$${i} ${FD}; \ + else \ +echo "=== No common ${i} documentation" > ${FD}/$${i}; \ + fi; \ if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \ echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \ cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${FD}/$${i}; \ @@ -560,7 +564,11 @@ @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf @echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf @for i in ${DIST_DOCS}; do \ - cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \ + if [ -f ${.CURDIR}/texts/$${i} ]; then \ +cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \ + else \ +echo "=== No common ${i} documentation" > ${FD}/$${i}; \ + fi; \ if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \ echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \ cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${CD_DISC1}/$${i}; \ touch release.9 0 blocks Setting up CDROM distribution area 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks cp: /usr/src/release/texts/HARDWARE.TXT: No such file or directory *** Error code 1 Stop in /usr/src/release. *** Error code 1 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure
Has anyone been able to do a make release recently? It seems to break when trying to build jade from the ports, which I think is due to the new compiler import. I saw that there are recent snapshots on current.freebsd.org, which is confusing because I can't get jade to build: ../include/StringOf.h:38: `String::operator [](unsigned int)' has already been declared in `String' ../include/StringOf.h:40: `String::begin()' has already been declared in `String' *** Error code 1 Stop in /usr/ports/textproc/jade/work/jade-1.2.1/lib. *** Error code 1 Stop in /usr/ports/textproc/jade/work/jade-1.2.1. *** Error code 1 Stop in /usr/ports/textproc/jade/work/jade-1.2.1. *** Error code 1 Stop in /usr/ports/textproc/jade. *** Error code 1 Stop in /usr/ports/textproc/jade. *** Error code 1 Stop in /usr/ports/textproc/jade. -- Neal Westfall | mailto:[EMAIL PROTECTED] | http://www.odc.net/~nwestfal "What is today a matter of academic speculation begins tomorrow to move armies and pull down empires. In that second stage, it has gone too far to be combatted; the time to stop it was when it was still a matter of impassionate debate." -- J. Gresham Machen, "Christianity and Culture" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure in docproj/jade
Not sure whether I can send this to this list... Make release dies in the build of jade right now. c++ -ansi -O -pipe -fno-implicit-templates -I. -I./../include -I./../generic -DS TDC_HEADERS=1 -DHAVE_LIMITS_H=1 -Dconst= -Dinline= -DHAVE_ST_BLKSIZE=1 -DSP_HAVE _BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_MULTI_BYTE=1 -c -fPIC -DP IC CharsetInfo.cxx In file included from ../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ../include/Vector.h: In instantiation of `Vector >': ../include/RangeMap.h:27: instantiated from `RangeMap' ../include/UnivCharsetDesc.h:73: instantiated from here ../include/Vector.h:50: `Vector >::oper ator [](unsigned int)' has already been declared in `Vector >' ../include/Vector.h:52: `Vector >::begi n()' has already been declared in `Vector >' ../include/Vector.h:54: `Vector >::back ()' has already been declared in `Vector >' In file included from ../include/StringOf.h:15, from ../include/StringC.h:8, from ../include/CharsetInfo.h:14, from CharsetInfo.cxx:8: /usr/include/string.h:53: warning: declaration of `int memcmp(void *, void *, un signed int)' /usr/include/string.h:53: warning: conflicts with built-in declaration `int memc mp(const void *, const void *, unsigned int)' /usr/include/string.h:54: warning: declaration of `void * memcpy(void *, void *, unsigned int)' /usr/include/string.h:54: warning: conflicts with built-in declaration `void * m emcpy(void *, const void *, unsigned int)' /usr/include/string.h:59: warning: declaration of `int strcmp(char *, char *)' /usr/include/string.h:59: warning: conflicts with built-in declaration `int strc mp(const char *, const char *)' /usr/include/string.h:61: warning: declaration of `char * strcpy(char *, char *) ' /usr/include/string.h:61: warning: conflicts with built-in declaration `char * s trcpy(char *, const char *)' /usr/include/string.h:64: warning: declaration of `size_t strlen(char *)' /usr/include/string.h:64: warning: conflicts with built-in declaration `unsigned int strlen(const char *)' ../include/Vector.h: In instantiation of `Vector >': ../include/ISet.h:25: instantiated from `ISet' CharsetInfo.cxx:89: instantiated from here ../include/Vector.h:50: `Vector >::operator [](unsigned int)' has already been declared in `Vector >' ../include/Vector.h:52: `Vector >::begin()' has already been declared in `Vector >' ../include/Vector.h:54: `Vector >::back()' has already b een declared in `Vector >' ../include/Vector.h: In instantiation of `Vector > ': ../include/ISet.h:25: instantiated from `ISet' CharsetInfo.cxx:105: instantiated from here ../include/Vector.h:50: `Vector >::operator [](uns igned int)' has already been declared in `Vector > ' ../include/Vector.h:52: `Vector >::begin()' has al ready been declared in `Vector >' ../include/Vector.h:54: `Vector >::back()' has alr eady been declared in `Vector >' ../include/StringOf.h: In instantiation of `String': CharsetInfo.cxx:129: instantiated from here ../include/StringOf.h:38: `String::operator [](unsigned int) ' has already been declared in `String' ../include/StringOf.h:40: `String::begin()' has already been declared in `String' *** Error code 1 Stop in /usr/ports/textproc/jade/work/jade-1.2.1/lib. *** Error code 1 [etc] Marc Schneiders [EMAIL PROTECTED] [EMAIL PROTECTED] propro 11:20am up 10 days, 23:06, load average: 0.02 0.11 0.07 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure -- ed0 in PCCARD
Hi, Make release has been failing for awhile now and I just started to take a look at it. If I remove 'ed0' from i386/conf/PCCARD then the BOOTMFS kernel for pccard links correctly. With ed0 present, the following link errors occur: linking BOOTMFS if_ed_isa.o: In function `ed_isa_probe': if_ed_isa.o(.text+0x45): undefined reference to `ed_probe_WD80x3' if_ed_isa.o(.text+0x54): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x5a): undefined reference to `ed_probe_3Com' if_ed_isa.o(.text+0x69): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x6f): undefined reference to `ed_probe_Novell' if_ed_isa.o(.text+0x7e): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x84): undefined reference to `ed_probe_HP_pclanp' if_ed_isa.o(.text+0x93): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0xa4): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0xaf): undefined reference to `ed_release_resources' if_ed_isa.o: In function `ed_isa_attach': if_ed_isa.o(.text+0xef): undefined reference to `ed_alloc_port' if_ed_isa.o(.text+0x109): undefined reference to `ed_alloc_memory' if_ed_isa.o(.text+0x11a): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0x127): undefined reference to `edintr' if_ed_isa.o(.text+0x152): undefined reference to `ed_attach' if_ed_isa.o(.text+0x15a): undefined reference to `ed_release_resources' *** Error code 1 The above functions are found in a few places: dev/ed/if_ed.c i386/isa/if_ed pc98/pc98/if_ed.c Ok, pc98 isn't used here... I'm not sure about the 1st two.. However, it appears that in dev/ed/if_ed.c, 'ed_probe_Novell' is defined and globally visible... but, in i386/isa/if_ed.c, 'ed_probe_Novell' is declared static... I don't know if this is the problem, but it's a difference... I'm continuing to look into this. If anyone has any comments, please let me know. Thanks, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure in rlogind/libkrb
Hi, make release is doing better, we're now up to a failure in rlogind with respect to libkrb... cc -O -pipe -Wall -DKERBEROS -DCRYPT -DHAVE_CONFIG_H -I/usr/src/libexec/rlogind/../../kerberosIV/include -I/usr/src/libexec/rlogind/../../crypto/kerberosIV/include -I/usr/src/libexec/rlogind/../../crypto/kerberosIV/lib/roken -I/usr/src/libexec/rlogind/../../crypto/kerberosIV/appl/bsd-o rlogind rlogind.o encrypt.o -lutil -lkrb -ldes -lcrypt /usr/lib/libkrb.so: undefined reference to `init_error_table' /usr/lib/libkrb.so: undefined reference to `initialize_error_table_r' *** Error code 1 Stop in /usr/src/libexec/rlogind. *** Error code 1 Stop in /usr/src/kerberosIV. *** Error code 1 Stop in /usr/src/release. *** Error code 1 I'm about to re-sup and see if this has been addressed. Thanks, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make release failure (/usr/src/release/Makefile)
Hi, I sent the following patch a few days ago... If this is working for everyone else and not me, I'd love to know what I'm doing wrong. perl5 ../../kern/makedevops.pl -h ../../pci/pci_if.m rm -f .newdep mkdep -a -f .newdep -O -Wall -Wredundant-decls -Wnested-externs ... rm -f .depend mv -f .newdep .depend make: don't know how to make kernel. Stop *** Error code 2 by applying the patch below and running /snap/release/mk via chroot the process finishes correctly. Thanks! John > Hi, > > Could you please consider the following patch to > /usr/src/release/Makefile? It may not be entirely correct, > but it allows a 'cd /usr/src/release && make release' to > run to completion. In the kernel makefile, 'kernel' > is not a target, ${KERNEL} is, and ${KERNEL} has the value > 'GENERIC'. > > Comments welcome! > > Thanks! > John > # $Id: Makefile,v 1.482 1999/05/09 17:00:04 obrien Exp $ - --- /snap/release/usr/src/release/Makefile~ Tue May 11 23:50:52 1999 +++ /snap/release/usr/src/release/Makefile Tue May 11 23:43:49 1999 @@ -634,9 +634,9 @@ @rm -f ${RD}/kernels/${KERNEL} @cd ${.CURDIR}/../sys/${MACHINE_ARCH}/conf && config ${KERNEL} @cd ${.CURDIR}/../sys/compile/${KERNEL} && \ - - make depend && \ - - make kernel && \ - - cp kernel ${RD}/kernels/${KERNEL} + make depend && pwd && \ + make ${KERNEL} && \ + cp ${KERNEL} ${RD}/kernels/${KERNEL} # # --==## Put a filesystem into a BOOTMFS kernel ##==-- To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
Re: make release failure (mkdep & kget.c)
>I don't know if anyone else has seen this yet. I'm current as of > 5 1/2 hours ago... (2am EST, 11pm PST). I had a non-standard Makefile, my bad. Fixed an hour or so ago. - Jordan To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
make release failure (mkdep & kget.c)
Hi, I don't know if anyone else has seen this yet. I'm current as of 5 1/2 hours ago... (2am EST, 11pm PST). Thanks! John file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp mv makedevs.tmp makedevs.c rm -f .depend mkdep -f .depend -a-I/usr/src/release/sysinstall/../../gnu/lib/libdialog -I/usr/obj/usr/src/release/sysinstall -I/usr/src/release/sysinstall/../../sys -DUC_PRIVATE -DKERN_NO_SYMBOLS /usr/src/release/sysinstall/anonFTP.c /usr/src/release/sysinstall/cdrom.c /usr/src/release/sysinstall/command.c /usr/src/release/sysinstall/config.c /usr/src/release/sysinstall/devices.c /usr/src/release/sysinstall/kget.c /usr/src/release/sysinstall/disks.c /usr/src/release/sysinstall/dispatch.c /usr/src/release/sysinstall/dist.c /usr/src/release/sysinstall/dmenu.c /usr/src/release/sysinstall/doc.c /usr/src/release/sysinstall/dos.c /usr/src/release/sysinstall/floppy.c /usr/src/release/sysinstall/ftp.c /usr/src/release/sysinstall/globals.c /usr/src/release/sysinstall/index.c /usr/src/release/sysinstall/install.c /usr/src/release/sysinstall/installUpgrade.c /usr/src/release/sysinstall/keymap.c /usr/src/release/sysinstall/label.c /usr/src/release/sysinstall/lndir.c /usr/src/release/sysinstall/main.c makedevs.c /usr/src/release/sysinstall/media.c /usr/src/release/sysinstall/menus.c /usr/src/release/sysinstall/misc.c /usr/src/release/sysinstall/mouse.c /usr/src/release/sysinstall/msg.c /usr/src/release/sysinstall/network.c /usr/src/release/sysinstall/nfs.c /usr/src/release/sysinstall/options.c /usr/src/release/sysinstall/package.c /usr/src/release/sysinstall/system.c /usr/src/release/sysinstall/tape.c /usr/src/release/sysinstall/tcpip.c /usr/src/release/sysinstall/termcap.c /usr/src/release/sysinstall/ufs.c /usr/src/release/sysinstall/user.c /usr/src/release/sysinstall/variable.c /usr/src/release/sysinstall/wizard.c /usr/src/release/sysinstall/kget.c:31: isa/isa_device.h: No such file or directory /usr/src/release/sysinstall/kget.c:32: isa/pnp.h: No such file or directory mkdep: compile failed *** Error code 1 To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
make release failure(/var/db/pkg/.mkversion)
Hi, Sources current as of 9:30pm EST... ===> share/misc install -c -o root -g wheel -m 444 ascii birthtoken bsd-family-tree eqnchar flowers init.ee inter.phone iso3166 iso639 man.template mdoc.template operator scsi_modes /usr/share/misc ===> share/mk install -c -o root -g wheel -m 444 bsd.README bsd.dep.mk bsd.doc.mk bsd.docb.mk bsd.info.mk bsd.kern.mk bsd.kmod.mk bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.obj.mk bsd.own.mk bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk sys.mk /usr/share/mk date '+%Y%m%d' > /var/db/pkg/.mkversion cannot create /var/db/pkg/.mkversion: directory nonexistent *** Error code 2 Stop. *** Error code 1 /var/db/pkg doesn't exist in the make release area... I don't know if it should or not... Thanks for any insight... -John To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
Re: 4.0-current make release failure (sysctl)
On Thu, 18 Feb 1999, Sheldon Hearn wrote: > > > On Wed, 17 Feb 1999 19:12:59 EST, "John W. DeBoskey" wrote: > > > Just fyi, current as of 2pm EST. > > > > ../../nfs/nfs_syscalls.c:92: warning: `nfsrv_zapsock' declared `static' but > > never defined > > *** Error code 1 > > I get this when I set ``option NFS_NOSERVER''. If I disable the option, > my kernel builds. > > Ciao, > Sheldon. This should be fixed now. Sorry for the disruption. -- Doug Rabson Mail: d...@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
Re: 4.0-current make release failure (sysctl)
Hi, I don't control the options used to build the distribution kernels during a 'make release'. Jordan is responsible for that. I don't have any problems building my local kernel since the only nfs options I have are: options NFS #Network Filesystem options NFS_ROOT#NFS usable as root device, "NFS" req'ed Anyways, it looks like something needs to be done, whether it is to change 'make release', or fix the sysctl code.. Thanks! John > > > On Wed, 17 Feb 1999 19:12:59 EST, "John W. DeBoskey" wrote: > > > Just fyi, current as of 2pm EST. > > > > ../../nfs/nfs_syscalls.c:92: warning: `nfsrv_zapsock' declared `static' but > > never defined > > *** Error code 1 > > I get this when I set ``option NFS_NOSERVER''. If I disable the option, > my kernel builds. > > Ciao, > Sheldon. > To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
Re: 4.0-current make release failure (sysctl)
On Wed, 17 Feb 1999 19:12:59 EST, "John W. DeBoskey" wrote: > Just fyi, current as of 2pm EST. > > ../../nfs/nfs_syscalls.c:92: warning: `nfsrv_zapsock' declared `static' but > never defined > *** Error code 1 I get this when I set ``option NFS_NOSERVER''. If I disable the option, my kernel builds. Ciao, Sheldon. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
4.0-current make release failure (sysctl)
Hi, Just fyi, current as of 2pm EST. Thanks, John cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../nfs/nfs_syscalls.c ../../nfs/nfs_syscalls.c:924: `sysctl__vfs_nfs_children' undeclared here (not in a function) ../../nfs/nfs_syscalls.c:924: initializer element for `sysctl___vfs_nfs_defect.oid_parent' is not constant ../../nfs/nfs_syscalls.c:92: warning: `nfsrv_zapsock' declared `static' but never defined *** Error code 1 To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
make release failure
I just tried a make release late last night eastern time, and it blew up in this stage. ===>Verifying install for /usr/local/share/sgml/iso8879/catalog in /usr/ports/textproc/iso8879 make: argument list too long *** Error code 2 1 error -- "Be careful of reading health books, you might die of a misprint." -- Mark Twain [Disclaimer: I speak for myself and my views are my own and not in any way to be construed as the views of BellSouth Corporation. ] To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message