Date: Wed, 3 Sep 2014 04:12:26 -0700 From: Ewout <kiwanda206@yahoo.co.nz> To: "gnome@FreeBSD.org" <gnome@FreeBSD.org> Cc: "ports@FreeBSD.org" <ports@FreeBSD.org>, "bland@freebsd.org" <bland@freebsd.org> Subject: FreeBSD Port: py27-libxml2-2.9.1 Message-ID: <1409742746.7914.YahooMailNeo@web141004.mail.bf1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi,=0A=0AI tried building your port, but it failed :=0A=0ACopying libxml2_p= ython.egg-info to /ports/textproc/py-libxml2/work/stage/usr/local/lib/pytho= n2.7/site-packages/libxml2_python-2.9.1-py2.7.egg-info=0Arunning install_sc= ripts=0Awriting list of installed files to '/ports/textproc/py-libxml2/work= /.PLIST.pymodtmp'=0A/usr/bin/strip: '/ports/textproc/py-libxml2/work/stage/= usr/local/lib/2.7/site-packages/libxml2mod.so': No such file=0A*** Error co= de 1=0A=0AStop.=0Amake[1]: stopped in /ports/textproc/py-libxml2=0A*** Erro= r code 1=0A=0A=0AI think the script for building it is wrong, there=0A is a= directory /ports/textproc/py-libxml2/work/stage/usr/local/lib/python2.7 bu= t not 2.7 .=0A=0APerhaps you could look at it ?=0A=0AThanks,=0A=0AEwout Bok= s From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 12:30:30 2014 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0CEFEE; Wed, 3 Sep 2014 12:30:30 +0000 (UTC) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id 458001F4F; Wed, 3 Sep 2014 12:30:30 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlsGAL8IB1RR8Z/O/2dsb2JhbABZgw2BIArQGAGBDxd3hAMBAQQBViMFCwsOCgklDyoeBhMZiCEMAb04AReOdlcHhEwFkzeEYoRClR+DYzsvgQeBSAEBAQ Received: from 206.159-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.159.206]) by relay.skynet.be with ESMTP; 03 Sep 2014 14:30:26 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s83CUPtV007083; Wed, 3 Sep 2014 14:30:25 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Wed, 3 Sep 2014 14:30:17 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Subject: Re: [BRAINSTORMING] simplifying maintainer's life Message-ID: <20140903143017.372e42a4@kalimero.tijl.coosemans.org> In-Reply-To: <20140903100751.GG63085@ivaldir.etoilebsd.net> References: <20140903082538.GE63085@ivaldir.etoilebsd.net> <20140903120144.5bfc3fde@kalimero.tijl.coosemans.org> <20140903100751.GG63085@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/_nqFAbhvujdFgdhLSHEs2Tu"; protocol="application/pgp-signature" Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 03 Sep 2014 12:30:31 -0000 --Sig_/_nqFAbhvujdFgdhLSHEs2Tu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 3 Sep 2014 12:07:51 +0200 Baptiste Daroussin <bapt@FreeBSD.org> wro= te: > On Wed, Sep 03, 2014 at 12:01:44PM +0200, Tijl Coosemans wrote: >> On Wed, 3 Sep 2014 10:25:39 +0200 Baptiste Daroussin <bapt@FreeBSD.org> = wrote: >>> 2/ make pkg automatically remove directories under PREFIX without the >>> need of adding them in plist, such as only empty directories and >>> directories not under PREFIX will have to be listed. Of course pkg will >>> not try to remove directories owned by another package. >>>=20 >>> To achieve the point 2 that will mean we will stop using the mtree >>> inside packages and create a "hier" package that will have the default >>> hierarchy and every package but pkg will depend on this hier package >>> (except if PREFIX !=3D LOCALBASE) >>=20 >> I think you can avoid the hier package and thus the PREFIX !=3D LOCALBASE >> problem. >>=20 >> Assume there are no packages with empty directories, then pkg can >> always remove empty directories when deinstalling a package, because >> no files in the directory means no package requires it. You don't need >> a hier package in this case. >>=20 >> You can add support for packages with empty directories in two ways: >> - Put a dummy file in the directory, e.g. .PKGNAME.keepme >> (simple to implement, but maybe some packages really need the >> directory to be empty or maybe they only expect a specific type of >> files) >> - Record something like .PKGNAME.keepme in the pkg db but don't >> actually create that file. >=20 > We do already support empty directories natively we do not need the .keep > whatever and this works pretty well :) > if a line in the plist is a directory (or @dirrm* ) then the directory is > considered as owned by the package and always created Does this work: packages A and B both create the same empty directory and package C installs files in that directory. Can you install and deinstall A, B and C in any order and will that directory only be deleted when you deinstall the last package? Is pkg already keeping a reference count or something for every directory? > My only problem is to still provide the default grobal hier in provided > by BSD.local.dist (like etc/rc.conf.d etc/libmap.d etc) that said we > have actually only 4 empty directories all documented in the respective > manpages from base where they are used, so yes probably I can just > ignore the mtree at all > Which makes the feature easy to implement then. I don't think those directories actually need to exist. On a fresh installation /usr/local is empty. > In anycase I will limit auto removal to PREFIX (the one supplied when > creating the package) because base has its own mtree and I do not want > to delete any empty directory from base at least until base is package > itself. Yes, it's probably a good idea to list everything outside PREFIX explicitly. Maybe you can limit it to the current @cwd instead of PREFIX but then some existing pkg-plists may need to be fixed. --Sig_/_nqFAbhvujdFgdhLSHEs2Tu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlQHCeEACgkQfoCS2CCgtitCsgD+KO65Hg5MO3mOtx59kSO5OvMy aCuS5fCuaIwJFb6SVJwA/0GqKqnM5/yo5FCfsOG7i4aPUsr7urmlCKvWW0u2rjW/ =sYev -----END PGP SIGNATURE----- --Sig_/_nqFAbhvujdFgdhLSHEs2Tu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1409742746.7914.YahooMailNeo>