From owner-freebsd-stable Mon Feb 18 5:18:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 9777F37B400; Mon, 18 Feb 2002 05:18:35 -0800 (PST) Received: (from david@localhost) by bunrab.catwhisker.org (8.11.6/8.11.6) id g1IDIZP60658; Mon, 18 Feb 2002 05:18:35 -0800 (PST) (envelope-from david) Date: Mon, 18 Feb 2002 05:18:35 -0800 (PST) From: David Wolfskill Message-Id: <200202181318.g1IDIZP60658@bunrab.catwhisker.org> To: stable@freebsd.org Subject: buildworld broken in lib/libstand (bzipfs.c) [patch included] Cc: sobomax@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG During "make buildworld" this morning, I got: >>> stage 4: building libraries -------------------------------------------------------------- ... ===> libstand ... rm -f .depend mkdep -f .depend -a -I/usr/src/lib/libstand/../libc/i386 -I/usr/src/lib/libstand -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/usr/obj/usr/src/i386/usr/include /usr/src/lib/libstand/i386/_setjmp.S mkdep -f .depend -a -I/usr/src/lib/libstand/../libc/i386 -I/usr/src/lib/libstand -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/usr/obj/usr/src/i386/usr/include /usr/src/lib/libstand/__main.c /usr/src/lib/libstand/assert.c /usr/src/lib/libstand/bcd.c /usr/src/lib/libstand/bswap.c /usr/src/lib/libstand/environment. c /usr/src/lib/libstand/getopt.c /usr/src/lib/libstand/gets.c /usr/src/lib/libstand/globals.c /usr/src/lib/libstand/pager.c /usr/src/lib/libstand/printf.c /usr/src/lib/libstand/strdup.c /usr/src/lib/libstand/strerror.c /usr/src/lib/libstand/strtol.c /usr/src/lib/libstand/random.c /usr/src/lib/libstand/sbrk.c /usr/src/lib/libstand/twiddle.c /usr/src/lib/libstand/zalloc.c /usr/src/lib/libstand/zalloc_malloc.c /usr/src/lib/libstand/strcasecmp.c /usr/src/lib/libstand/../libc/string/bcmp.c /usr/src/lib/libstand/../libc/string/bcopy.c /usr/src/lib/libstand/../libc/string/bzero.c /usr/src/lib/libstand/../libc/string/ffs.c /usr/src/lib/libstand/../libc/string/index.c ! /usr/src/lib/libstand/../libc/string/memccpy.c /usr/src/lib/libstand/../libc/string/memchr.c /usr/src/lib/libstand/../libc/string/memcmp.c /usr/src/lib/libstand/../libc/string/memcpy.c /usr/src/lib/libstand/../libc/string/memmove.c /usr/src/lib/libstand/../libc/string/memset.c /usr/src/lib/libstand/qdivrem.c /usr/src/lib/libstand/../libc/string/rindex.c /usr/src/lib/libstand/../libc/string/strcat.c /usr/src/lib/libstand/../libc/string/strchr.c /usr/src/lib/libstand/../libc/string/strcmp.c /usr/src/lib/libstand/../libc/string/strcpy.c /usr/src/lib/libstand/../libc/string/strcspn.c /usr/src/lib/libstand/../libc/string/strlen.c /usr/src/lib/libstand/../libc/string/strncat.c /usr/src/lib/libstand/../libc/string/strncmp.c /usr/src/lib/libstand/../libc/string/strncpy.c /usr/src/lib/libstand/../libc/string/strpbrk.c /usr/src/lib/libstand/../libc/string/strrchr.c /usr/src/lib/libstand/../libc/string/strsep.c /usr/src/lib/libstand/../libc/string/strspn.c /usr/src/lib/libstand/../libc! /string/strstr.c /usr/src/lib/libstand/../libc/string/strtok.c /usr/src/lib/libstand/../libc/string/swab.c _bzlib.c _crctable.c _decompress.c _huffman.c _randtable.c /usr/src/lib/libstand/../libz/adler32.c /usr/src/lib/libstand/../libz/crc32.c /usr/src/lib/libstand/../libz/infblock.c /usr/src/lib/libstand/../libz/infcodes.c /usr/src/lib/libstand/../libz/inffast.c /usr/src/lib/libstand/../libz/inflate.c /usr/src/lib/libstand/../libz/inftrees.c /usr/src/lib/libstand/../libz/infutil.c /usr/src/lib/libstand/../libz/zutil.c /usr/src/lib/libstand/closeall.c /usr/src/lib/libstand/dev.c /usr/src/lib/libstand/ioctl.c /usr/src/lib/libstand/nullfs.c /usr/src/lib/libstand/stat.c /usr/src/lib/libstand/fstat.c /usr/src/lib/libstand/close.c /usr/src/lib/libstand/lseek.c /usr/src/lib/libstand/open.c /usr/src/lib/libstand/read.c/usr/src/lib/libstand/write.c /usr/src/lib/libstand/readdir.c /usr/src/lib/libstand/arp.c /usr/src/lib/libstand/ether.c /usr/src/lib/libstand/inet_ntoa.c /usr/src/lib! /libstand/in_cksum.c /usr/src/lib/libstand/net.c /usr/src/lib/libstand/udp.c /usr/src/lib/libstand/netif.c /usr/src/lib/libstand/rpc.c /usr/src/lib/libstand/bootp.c /usr/src/lib/libstand/rarp.c /usr/src/lib/libstand/bootparam.c /usr/src/lib/libstand/ufs.c /usr/src/lib/libstand/nfs.c /usr/src/lib/libstand/cd9660.c /usr/src/lib/libstand/tftp.c /usr/src/lib/libstand/zipfs.c /usr/src/lib/libstand/bzipfs.c /usr/src/lib/libstand/dosfs.c /usr/src/lib/libstand/ext2fs.c /usr/src/lib/libstand/bzipfs.c:35: _bzlib.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 Comparing the -STABLE sources against my -CURRENT ones, I saw the following difference, hacked the MAkefile in question accordingly, and re-started the buildworld, which is now in the "building everything.." phase -- it got beyond the "building libraries", so I *think* the patch does something useful: Index: /usr/src/lib/libstand/Makefile =================================================================== RCS file: /cvs/freebsd/src/lib/libstand/Makefile,v retrieving revision 1.14.2.7 diff -u -r1.14.2.7 Makefile --- /usr/src/lib/libstand/Makefile 18 Feb 2002 09:13:03 -0000 1.14.2.7 +++ /usr/src/lib/libstand/Makefile 18 Feb 2002 13:07:23 -0000 @@ -98,7 +98,7 @@ # decompression functionality from libbz2 .PATH: ${.CURDIR}/../../contrib/bzip2 -CFLAGS+=-I${.CURDIR} -DBZ_NO_STDIO -DBZ_NO_COMPRESS +CFLAGS+=-I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS SRCS+= _bzlib.c _crctable.c _decompress.c _huffman.c _randtable.c _bzlib.h \ _bzlib_private.h Cheers, david -- David H. Wolfskill david@catwhisker.org I believe it would be irresponsible (and thus, unethical) for me to advise, recommend, or support the use of any product that is or depends on any Microsoft product for any purpose other than personal amusement. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message