From owner-freebsd-ports@FreeBSD.ORG Sat Jun 7 07:55:59 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D97931065674 for ; Sat, 7 Jun 2008 07:55:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3448E8FC1C for ; Sat, 7 Jun 2008 07:55:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m577tnE0051346; Sat, 7 Jun 2008 08:55:52 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m577tnE0051346 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1212825352; bh=OoZH3xO1hgVTvx 91QZ9C6zWWxcbYOkzDB35oPswzqxo=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<484A3EFE.9080100@infracaninophile.co.uk>|Date:=20Sat,=2 007=20Jun=202008=2008:55:42=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.14=20(X11/20080503)|MIME-Version:=201 .0|To:=20Erik=20Trulsson=20|CC:=20Dominic=2 0Fandrey=20,=20freebsd-ports@freebsd.org|Subj ect:=20Re:=20devel/gettext=20notification=20in=20/usr/ports/UPDATIN G|References:=20<484945CA.3010305@bsdforen.de>=20<4849681B.6070002@ bsdforen.de>=20<20080606173649.GA88328@owl.midgard.homeip.net>|In-R eply-To:=20<20080606173649.GA88328@owl.midgard.homeip.net>|X-Enigma il-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3 Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D =0A=20boundary=3D"------------enig21ADB6638AEDCC9F3C4FCB8E"; b=xC+f VmSemNU8sr5hk8sa3t6H1sEumh51uV6KjcqB8uifBRuUQX8ft+etpbZ2VyBI/1iy8Na iMRXQvMEs8OjdEJCoPUY7gASeBGue41STbtWZZMezn/e1sd6ghXhxTU0ya2Puj7NG20 aaphRpFPPWhZlfntetpJtGLpkq15JrpW8= Message-ID: <484A3EFE.9080100@infracaninophile.co.uk> Date: Sat, 07 Jun 2008 08:55:42 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: Erik Trulsson References: <484945CA.3010305@bsdforen.de> <4849681B.6070002@bsdforen.de> <20080606173649.GA88328@owl.midgard.homeip.net> In-Reply-To: <20080606173649.GA88328@owl.midgard.homeip.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig21ADB6638AEDCC9F3C4FCB8E" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 07 Jun 2008 08:55:52 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: Dominic Fandrey , freebsd-ports@freebsd.org Subject: Re: devel/gettext notification in /usr/ports/UPDATING X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 07:55:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig21ADB6638AEDCC9F3C4FCB8E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Erik Trulsson wrote: > On Fri, Jun 06, 2008 at 06:38:51PM +0200, Dominic Fandrey wrote: >> Dominic Fandrey wrote: >>> I have 761 ports installed, but only 173 of them depend on gettext, s= o=20 >>> why should >>> I reinstall more than 530 ports that don't need to be rebuild. >>> >>> What's even worse according to my shell-script pkg_libchk not a singl= e=20 >>> one of >>> the 173 ports depending on gettext needs to be rebuild because of lib= intl. >> Great, all ports depending on devel/gettext got bumped. >> >> My Shell script checks every single library and executable on the syst= em >> with ldd and it says _nothing is amiss_ after upgrading devel/gettext.= >=20 > And how does it know that all the existing libraries and executables ar= e > completely compatible with the new devel/gettext? Freshports informed me overnight that four of the ports I maintain had a revision bump because of this getext update -- and it is true that they are all ports where gettext appears as a run-dependency in the INDEX. However, look at the ports in question: databases/mysql-connector-java databases/mysql-connector-java50 net/phpldapadmin net/phpldapadmin098 They're all either interpreted language code or byte-compiled code -- none of which knows anything at all about the ABI versions of the gettext shlibs and have only inherited the run-depends from their parent applications (php, java) which are compiled C or C++ code. I suspect that the majority of the 5007 ports flagged for portrevision bump for having the run-depends probably fall into this category. Currently there is no simple way to distinguish between dependent ports that would be affected by this sort of shlib ABI change and ones that wouldn't. One idea might be to add a new virtual category: ldso_shared_object for anything that directly requires ld.so(1) functionality. ie. so shell scripts, kernel modules, pear modules, native java code and pure perl etc. won't be members of that category, but compiled C/C++, apache modules, pecl, JNI, perl XS would. In this case, the test for needing a portrevision bump would be: (run-depends on gettext) AND=20 (member of ldso_shared_object virtual category) Hmmm... incidentally, that would also pretty much neatly define=20 'architecture independent' vs 'architecture dependent' ports/packages[*],= =20 which could be parlayed into a useful saving of time on the package build= =20 cluster and of space on the FTP servers. Now, to survey 18,500 ports and decide what category each should be in.... not a small undertaking. I'm happy to put my money where my mouth is and work on that if the consensus is that this would be a worthwhile thing. Cheers, Matthew [*] Well, except for anything that is statically linked native compiled code (is there anything like that in ports?) or kernel modules or similar= =2E --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig21ADB6638AEDCC9F3C4FCB8E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkhKPwUACgkQ8Mjk52CukIwdygCdEX6svLtvXlrlqEjHEp2FxYKN JDQAn3be1aldf7RG1l5q2wOmf5wSl5yO =E/HS -----END PGP SIGNATURE----- --------------enig21ADB6638AEDCC9F3C4FCB8E--