From owner-freebsd-ports@FreeBSD.ORG Tue Jun 12 07:48:51 2012 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 237AD1065676 for ; Tue, 12 Jun 2012 07:48:51 +0000 (UTC) (envelope-from bartsch@dssgmbh.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) by mx1.freebsd.org (Postfix) with ESMTP id BF5BD8FC15 for ; Tue, 12 Jun 2012 07:48:50 +0000 (UTC) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id EF7535D6FE; Tue, 12 Jun 2012 09:48:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id sTpxeBlBHbys; Tue, 12 Jun 2012 09:48:19 +0200 (CEST) Received: from mail.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id 0D3695D6E5; Tue, 12 Jun 2012 09:46:15 +0200 (CEST) Received: from pcadmin.incore (pcadmin.incore [192.168.0.140]) by mail.incore (Postfix) with ESMTPSA id 069D345084; Tue, 12 Jun 2012 09:46:15 +0200 (CEST) Message-ID: <4FD6F3C5.8060807@dssgmbh.de> Date: Tue, 12 Jun 2012 09:46:13 +0200 From: Alfred Bartsch User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111007 Thunderbird/7.0.1 MIME-Version: 1.0 To: Chris Rees References: <4FD1A691.8010300@dssgmbh.de> <4FD23FC4.5070609@FreeBSD.org> <4FD5A4D4.1080707@dssgmbh.de> In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 12 Jun 2012 11:16:26 +0000 Cc: FreeBSD Mailing List Subject: Re: "make index" shows missing port directory 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: Tue, 12 Jun 2012 07:48:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 11.06.2012 20:28, schrieb Chris Rees: > On 11 June 2012 08:57, Alfred Bartsch wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> Am 08.06.2012 22:23, schrieb Chris Rees: >>> On Jun 8, 2012 7:10 PM, "Palle Girgensohn" >>> wrote: >>>> >>>> Chris Rees skrev: >>>>> On 8 June 2012 08:15, Alfred Bartsch >>>>> wrote: >>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>>> >>>>>> Hi, >>>>>> >>>> ... >>>>>> Adding this missing entry to the portstree should solve >>>>>> this issue. To avoid such problems in the future, it >>>>>> would IMHO be preferable to have only one port >>>>>> (/usr/ports/databases/p5-DBD-mysql), which is able to >>>>>> handle all mysql versions, similar to p5-DBD-Pg. >>>>> >>>>> Actually, I'm looking at moving p5-DBD-Pg to versioned >>>>> ports, since it is less unpredictable to install a >>>>> versioned port, the autodetection logic is messy and >>>>> packages are not built for any but the default version. >>>>> >>>>> Chris >>>> >>>> That is partly true, but it is also strange to have a >>>> versioned port where there is no difference other than the >>>> dependency? >>>> >>> >>> Oops, haha, I remember looking at it and also thinking what >>> you just said. Sorry for the noise. >>> >>> Alfred, there actually is a port databases/p5-DBD-mysql which >>> is the only one that ports should depend on (I had this >>> conversation with Alex Dupre IIRC, the maintainer of mysql). >>> >>> I'll do a quick scan for ports depending on the versioned ports >>> and get PRs in. >>> >>> Chris >> >> Thank you for taking care of this. I really would appreciate to >> have only one port as a BDB - MySQL interface. >> >> There is another issue with make index: >> >> Generating INDEX-8 - please wait.. ... Warning: Duplicate INDEX >> entry: jpeg2ps-a4-1.9_2 Warning: Duplicate INDEX entry: >> openldap-sasl-client-2.4.31_1 Warning: Duplicate INDEX entry: >> a2ps-a4-4.13b_4 Warning: Duplicate INDEX entry: c2ps-a4-4.0_1 >> Warning: Duplicate INDEX entry: enscript-a4-1.6.4_5 Warning: >> Duplicate INDEX entry: html2ps-a4-1.0.b7,1 Warning: Duplicate >> INDEX entry: lprps-a4-2.5 Warning: Duplicate INDEX entry: >> mp-a4-3.0.1 Warning: Duplicate INDEX entry: psutils-a4-1.17_2 >> Done. >> >> Related settings in /etc/make.conf: >> >> A4=yes PAPERSIZE=a4 >> >> The index entries for the "-letter" ports are missing >> afterwards. IMHO this primarily happens because the "-letter" >> (slave-) ports are used as master ports for the "-a4" ports. >> >> Are these different ports related to paper format really needed >> anymore - in times of libpaper? >> >> If yes, I would vote for cleaning the ports tree: - - define >> "real" master ports (e.g. print/enscript, print/a2ps) - - change >> the -letter ports to "real" slave ports - - change the MASTERDIR >> entries in "-a4" and "-letterdj" ports - - take care that >> PKGNAMESUFFIX is set in the slave ports only >> >> BTW: There is a tool named p5-FreeBSD-Portindex written by >> Matthew Seaman, which creates a complete index file (=containing >> every port directory), not showing these weaknesses. >> >> The openldap duplicate entry results of setting port option >> "SASL". There is another issue with this port: The package origin >> is stored as net/openldap24-client even with option "SASL" set. >> This port is a dependancy of some kde ports. Every time I'm >> rebuilding one of these ports, portmaster tries to build >> openldap24-sasl-client, even if it is already installed. Manually >> changing the ORIGIN entry in /var/db/pkg solved this issue for >> me. > > You have stumbled upon a known problem. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162088 > > I'm not quite sure I agree with the closure however, since a > solution is not made, rather a workaround. > Thank you for esponding. Yes, you are (partly) right. I was the originator of that PR. It was closed due to "out of ideas". This time I chose a direct mailing instead of posting a follow-up to that closed PR. If you'd take another look at my actual post, you will see that this time I'm trying to propose a solution to this "systemic issue", which has been in the ports tree for a very long time. I'm looking forward to your comments. - -- Regards Alfred Bartsch Data-Service GmbH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/W88UACgkQ5QGe2JdVf3jwEwCfX0bFWKx84mUxytOvqYYmGofA IQAAnA8p+WznlOCxyt1oKLUkCsJ2pMiV =yBq1 -----END PGP SIGNATURE-----