From owner-freebsd-current Thu Mar 28 0:49:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from november.debolaz.com (november.debolaz.com [193.71.19.191]) by hub.freebsd.org (Postfix) with ESMTP id AFFC637B417 for ; Thu, 28 Mar 2002 00:49:30 -0800 (PST) Received: from amphibic.com (november [193.71.19.191]) by november.debolaz.com (Postfix) with SMTP id 68E6013603B for ; Thu, 28 Mar 2002 09:18:36 +0100 (CET) Received: from 62.179.190.82 (SquirrelMail authenticated user debolaz) by webmail.debolaz.com with HTTP; Thu, 28 Mar 2002 09:18:36 +0100 (CET) Message-ID: <2085.62.179.190.82.1017303516.squirrel@webmail.debolaz.com> Date: Thu, 28 Mar 2002 09:18:36 +0100 (CET) Subject: linux_base-7 installation breaks with zlib 1.1.4 From: "Anders Nor Berle" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG linux_base-7 (And most likely other ports as well) seems to be broken after zlib 1.1.4 was committed to -current. Zlib was made with fresh source from today (28.3) and rpm recompiled. ===> Installing for linux_base-7.1_2 kern.fallback_elf_brand: 3 -> 3 glibc-common-2.2.2-10.i386.rpm Segmentation fault - core dumped *** Error code 139 Not particulary promising when you look at the core backtrace from rpm... #0 0x8090a3f in inflate_codes (s=0x8150380, z=0x8154b00, r=0) at /usr/src/lib/libz/infcodes.c:203 203 while (f < s->window) /* modulo window size-"while" instead */ (gdb) bt #0 0x8090a3f in inflate_codes (s=0x8150380, z=0x8154b00, r=0) at /usr/src/lib/libz/infcodes.c:203 #1 0x808e49f in inflate_blocks (s=0x8150380, z=0x8154b00, r=0) at /usr/src/lib/libz/infblock.c:343 #2 0x808bec3 in inflate (z=0x8154b00, f=0) at /usr/src/lib/libz/inflate.c:224 #3 0x808b220 in gzread (file=0x8154b00, buf=0xbfbdc1f4, len=110) at /usr/src/lib/libz/gzio.c:411 #4 0x80739e6 in gzdRead (cookie=0x816b200, buf=0xbfbdc1f4 "0707010001d9c3000081ed00000b3a00000b3e000000013ace193600000d25000000080000 00410000000d0000005e0000001400000000ÿÿ$ý¿W¬\005\b", count=110) at rpmio.c:2230 #5 0x8074e9a in Fread (buf=0xbfbdc1f4, size=1, nmemb=110, fd=0x816b200) at rpmio.c:2537 #6 0x8059cd3 in getNextHeader (cfd=0x816b200, chPtr=0xbfbdc2fc) at cpio.c:69 #7 0x805ac57 in cpioInstallArchive (cfd=0x816b200, mappings=0xbfbdc35c, numMappings=5985, cb=0x8063910 , cbData=0xbfbff4ac, failedFile=0xbfbff4a4) at cpio.c:551 #8 0x8063bd9 in installArchive (fd=0x8126300, files=0x8345000, fileCount=5985, notify=0x806e860 , notifyData=0x24, pkgKey=0xbfbffc01, h=0x8158300, specFile=0x0, archiveSize=23807024) at install.c:370 #9 0x8064b07 in installBinaryPackage (rootdir=0x8239060 "/compat/linux", db=0x8130680, fd=0x8126300, h=0x8158300, flags=0, notify=0x806e860 , notifyData=0x24, pkgKey=0xbfbffc01, actions=0x8164000, sharedList=0x0, scriptFd=0x0) at install.c:870 #10 0x8082059 in rpmRunTransactions (ts=0x8124680, notify=0x806e860 , notifyData=0x24, okProbs=0x0, newProbs=0xbfbff8b4, transFlags=0, ignoreSet=7) at transaction.c:1652 #11 0x806f446 in rpmInstall (rootdir=0x81211c0 "/compat/linux", fileArgv=0x8123000, transFlags=0, interfaceFlags=36, probFilter=7, relocations=0x0) at rpminstall.c:377 #12 0x804c8cb in main (argc=11, argv=0xbfbffa98) at rpm.c:1395 #13 0x8048135 in _start (arguments=0xbfbffba0 "rpm") at /usr/src/lib/csu/i386- elf/crt1.c:94 This problem affects linux_base as well, but it breaks a little bit later: ===> Installing for linux_base-6.1_1 setup-2.0.5-1.noarch.rpm filesystem-1.3.5-1.noarch.rpm basesystem-6.0-4.noarch.rpm ldconfig-1.9.5-15.i386.rpm Segmentation fault - core dumped *** Error code 139 Also, take a look at the update done to infcodes.c from version 1.1.3 -> 1.1.4: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libz/infcodes.c.diff?r1=1.2&r2=1.3 Looks suspeciously familiar? Am I crazy and is this a real problem or is it just my system? -- --------------------------- -- Anders Nor Berle -- debolaz@debolaz.com --------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message