Date: Mon, 11 Jun 2012 19:28:47 +0100 From: Chris Rees <utisoft@gmail.com> To: Alfred Bartsch <bartsch@dssgmbh.de>, Martin Wilke <miwi@freebsd.org> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: "make index" shows missing port directory Message-ID: <CADLo838kduFocf3fU4yiUrHDP4b5rBfTV902VCaP-jWUpCVfDw@mail.gmail.com> In-Reply-To: <4FD5A4D4.1080707@dssgmbh.de> References: <4FD1A691.8010300@dssgmbh.de> <CADLo839Tn_VfvKswyRg-TSCswoeE4EtfP-07BDtTBPtfhgYVjg@mail.gmail.com> <4FD23FC4.5070609@FreeBSD.org> <CADLo83-9Yf5dT=JuO%2ByGiMtrkVvsW3Df_3qnrm_u9kfFShKOVQ@mail.gmail.com> <4FD5A4D4.1080707@dssgmbh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11 June 2012 08:57, Alfred Bartsch <bartsch@dssgmbh.de> 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" <girgen@freebsd.org> >> wrote: >>> >>> Chris Rees skrev: >>>> On 8 June 2012 08:15, Alfred Bartsch <bartsch@dssgmbh.de> >>>> 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. =A0Sorry 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 > =A0Done. > > Related settings in /etc/make.conf: > > A4=3Dyes > PAPERSIZE=3Da4 > > 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 (=3Dcontaining 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=3Dports/162088 I'm not quite sure I agree with the closure however, since a solution is not made, rather a workaround. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838kduFocf3fU4yiUrHDP4b5rBfTV902VCaP-jWUpCVfDw>