From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IGZno-0001gp-Px for garchives@archives.gentoo.org; Thu, 02 Aug 2007 12:29:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l72CRhu6014885; Thu, 2 Aug 2007 12:27:43 GMT Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l72COWK7010321 for ; Thu, 2 Aug 2007 12:24:33 GMT Received: by eagle.jhcloos.com (Postfix, from userid 10) id 9DFBF400A2; Thu, 2 Aug 2007 12:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1186057471; bh=CK6X/2vVpi2ZeerGdfxTQYvq2qyyNViscjRDGIDvH Lg=; h=Received:From:To:Subject:In-Reply-To:References:User-Agent: Face:Copyright:OpenPGP:OpenPGP-Fingerprint:X-Hashcash:Date: Message-ID:Lines:MIME-Version:Content-Type: Content-Transfer-Encoding; b=kFGkre7mtESofSsedmjdC981YA9O6yArfdpM7 OpAtnL9dxIYD18snzMkD9tziwvYxjL8oBNOqA032lVs6JtlUeDjLST/f2pWlj0wYNXu 3nPIhgCzd00+qQF6McWtSz6nRpJkFlLfzLyoprNdaAKtSb2E6KlEnSMg+qnVPGdab78 = Received: by lugabout.jhcloos.org (Postfix, from userid 500) id B0D7EA08DA; Thu, 2 Aug 2007 12:24:03 +0000 (UTC) From: James Cloos To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: why? pciutils with zlib use-flag went stable on x86 In-Reply-To: ("Sven =?iso-8859-1?Q?K=F6hler?= =?iso-8859-1?Q?=22's?= message of "Sun, 29 Jul 2007 20:04:18 +0200") References: <200707291936.57220.carlo@gentoo.org> <200707291945.22728.carlo@gentoo.org> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMnRFWHRUaXRsZQAvbWF4dG9y L2Nsb29zL2luY29taW5nLzIwMDQvMDIvUFdHL0pIQzE2LnBuZyJMlEwAAAAadEVYdFNvZnR3YXJl AEdOT01FIEljb24gRWRpdG9ynioKbAAAAHFJREFUeJzFk8EKwCAMQ1/ED9cvzw6iuM0N9WIvDTWE 1KjAxmKnLBEBjLcEIBCeI2nccy5YKrjxwbbvAvZ37zlo4GB9iRMC/cq/AppItwmMyJ5I98wd9G7P xxgrSKlYS2lMrOcV13o95aVSKA7E5ndGXG+IIzcl4BNfAAAAAElFTkSuQmCC Copyright: Copyright 2007 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 X-Hashcash: 1:23:070802:gentoo-dev@lists.gentoo.org::uXzBoM9z40WxsBPE:0000000000000000000000000000000000tOfN Date: Thu, 02 Aug 2007 08:23:40 -0400 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l72CRhvx014885 X-Archives-Salt: 8cc23b2c-54d4-4ac8-bb3e-24ddab5c6d58 X-Archives-Hash: 35493bd73651908e8d8f0943e7de22e1 >>>>> "Sven" =3D=3D Sven K=F6hler writes: Sven> Oh! So USE=3D"hal" forces pciutils not to use zlib? There are many more ebuilds than just hal which fail with a compressed pci.ids file. And many of them are non-obvious. It took me more than I little bit of effort after the zlib USE flag was first added to the pciutils ebuild to figure out why so many packages where failing... (On an old enough install, with enough disparate packages installed, a na=EFve emerge world will always fail. *Something* is guaranteed to be unhappy.) The lunacy is that compressing pci.ids and usb.ids helps no-one. On a system running from a spinning disk the size difference is lost in the noise. On embedded systems one knows in advance what devices exist on the motherboard and can edit the ids file down to just those. Most embedded systems don't even need the ids files on the production load. No developer worth his salt would waste space on names where the numbers work just as well. They'd use the names on the development platform, of course, but those would be complied to just the ints on the final load. So, simply put, compressing pci.ids benefits no-one, and harms many. A cool hack perhaps, but misguided and useless. The pciutils ebuild should be re-engineered to use separate USE flags for linking to libz and compressing the database. Or the database should be an ebuild of its own, using a custom flag (compressed?) to request compression of the ids file, and not the zlib flag. -JimC --=20 James Cloos OpenPGP: 1024D/ED7DAEA6 --=20 gentoo-dev@gentoo.org mailing list