Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 23:03:12 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Doug Barton <dougb@dougbarton.us>, freebsd-ports@FreeBSD.org
Subject:   Re: Too frequent/poorly tested bsd.port.mk commits, and general uselessness of p5-FreeBSD-Portindex
Message-ID:  <52BCB5B0.1090507@FreeBSD.org>
In-Reply-To: <52BBE9FB.6050305@dougbarton.us>
References:  <52BBDB22.5040205@dougbarton.us> <52BBE9FB.6050305@dougbarton.us>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--gbcWR0mmbFfmchQjdRul90KrQVOU4PGBt
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 26/12/2013 08:34, Doug Barton wrote:
> On 12/25/2013 11:30 PM, Doug Barton wrote:
>> I have used Matthew's p5-FreeBSD-Portindex for several years. In the
>> past it was a very valuable tool that allowed me to keep an INDEX up t=
o
>> date relative to changes in the ports tree in seconds or minutes,
>> instead of having to do 'make index' every time. However the utility o=
f
>> the solution is dependent on a couple of things, including that
>> bsd.port.mk does not change often.
>>
>> Over the last year or so however the changes to bsd.port.mk, which use=
d
>> to be well tested and batched together, are now coming fast and furiou=
s.
>> To make matters worse, the commits are often poorly tested, which lead=
s
>> to several commits related to the same issue in one week. Obviously
>> that's bad for the project generally, but I'm more concerned about
>> whether or not it's going to be useful to stick with
>> p5-FreeBSD-Portindex going forward.
>>
>> Speaking of p5-FreeBSD-Portindex generally, I'm wondering what Matthew=
's
>> plans are for it? For some time now running 'cache-update -f
>> svn-up,options' has caused errors related to "WARNING unknown options
>> file" that seem to have to do with the recent changes to the
>> /var/db/ports/<category>_<portname> convention. Is an update planned t=
o
>> handle this? Also, I just tried running cache-init with bdb 5, which
>> seemed to succeed, but running portindex generated a lot of suspicious=

>> errors. I'll try again after reinstalling bdb 4.7, but I'm wondering i=
f
>> this is a known issue.
>=20
> So it turns out bdb 47 doesn't work any better ... these are relatively=

> new errors:
>=20
> Accumulating dependency information: .........[1000].....Use of
> uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing RUN_DEPENDS dependency  for print/latex-cjk (latex-cjk-4.8.2_6)=

> -- Can't call method "PKGNAME" on an undefined value at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 352.=

>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for print/latex-cjk
> (latex-cjk-4.8.2_6) -- Can't call method "PKGNAME" on an undefined valu=
e
> at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 3=
52.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing RUN_DEPENDS dependency  for chinese/font-std
> (zh-font-std-0.0.20090602) -- Can't call method "PKGNAME" on an
> undefined value at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 352.=

>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing RUN_DEPENDS dependency  for chinese/oxim (zh-oxim-1.2.2_4) --
> Can't call method "PKGNAME" on an undefined value at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 352.=

>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> ....[2000].........[3000].........[4000].........[5000].........[6000].=
=2E.......[7000].........[8000].........[9000].........[10000].........[1=
1000].........[12000].........[13000].....Use
> of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-sr
> (sr-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-ru
> (ru-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-ja
> (ja-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-el
> (el-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-hu
> (hu-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-da
> (da-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-fr
> (fr-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-it
> (it-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-es
> (es-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-zh_tw
> (zh_tw-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an
> undefined value at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 352.=

>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-mn
> (mn-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-bn
> (bn-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-de
> (de-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-nl
> (nl-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-en
> (en-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-pl
> (pl-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-tr
> (tr-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-zh_cn
> (zh_cn-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an
> undefined value at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 352.=

>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
> Use of uninitialized value $_ in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm line 356.=

> Missing BUILD_DEPENDS dependency  for misc/freebsd-doc-pt
> (pt-freebsd-doc-43251,1) -- Can't call method "PKGNAME" on an undefined=

> value at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Port.pm
> line 352.
>=20
>  at /usr/local/lib/perl5/site_perl/5.14/FreeBSD/Portindex/Tree.pm line =
824
>=20

I've just committed an update to version 3.3 which should address some
of the issues to do with handling options files.  However, I can't
reproduce the errors you're showing here, and all my testing is working
perfectly with databases/db5.

Any clues as to what you are doing differently so I can try and track
this down?

Note: You will still be getting warning messages like this:

lucid-nonsense:~:% cache-update -f svn-up,options -i /tmp/svn.out
Checking timestamps on options makefiles: cache-update: WARNING unknown
options file "/var/db/ports/apr1/options" -- ignored
cache-update: WARNING unknown options file
"/var/db/ports/cyrus-sasl2/options" -- ignored
cache-update: WARNING unknown options file "/var/db/ports/gtk20/options"
-- ignored
cache-update: WARNING unknown options file
"/var/db/ports/bind97/options" -- ignored
cache-update: WARNING unknown options file
"/var/db/ports/mutt-devel/options" -- ignored
cache-update: WARNING unknown options file
"/var/db/ports/phpmyadmin/options" -- ignored
=2Ecache-update: WARNING unknown options file
"/var/db/ports/py27-dnspython/options" -- ignored
cache-update: WARNING unknown options file
"/var/db/ports/ghostscript8/options" -- ignored
cache-update: WARNING unknown options file "/var/db/ports/tk85/options"
-- ignored

because, exactly as the error message says, these are options files that
aren't used by any ports.  Either they belonged to a now defunct port,
or else there is a new-style options file for that port.  Like it says,
they are ignored, and their presence, or not, will have absolutely no
effect on the resulting INDEX.  I suggest tactical application of rm(1).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--gbcWR0mmbFfmchQjdRul90KrQVOU4PGBt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJSvLW4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATx4IP/0s6gSQpoy+eZtrYGE6sqsrr
qM0W5glLnryi9J1k/MA7sgmIDZPSudmwt/B1ZLr6ecewJxbyO7xAoF7T6I1GEpuu
KXB7lUYxm0rT8tjxEJrPpLnZ5utKZdzTqR+qnYUqFdVXYi7WEWJSuOPNJqXaUWql
Qjg/bM4ynWtZJlkQyhJEqIY8o2MoqPqIGh9V4fCeRYaBvzsBzzGxkb3L2rdEvXbq
BBh9jjl89dZeSZrQizUmr3TOsXFy5Crt9em4YilRO6U+Y3M7mletIkp0OpbSDBul
p8ECpOZ+dZCVac8ulz1hgCFVd+CJkwLQFegit5Z9nnmVwswrB3kYMs2TQ1uGrEZG
t5CM+kjOcUjYrh7l2OY5UOm5w8GbnmAO+5cGZv7XgzRehkmQJmaAXL4w2zhEoZXa
de0h3wr6bFMwGT859cPn5liEZWmgXLYwcNXVKLoS3w3SyGfiXs9gUahbV0MgR0C9
45GZDhXp3/MPu3/ucDkH74hBBsdjE5bZxuWz2xx+8McYRClnLo+mos7mBKWeBx7M
Uv6TkaV26WTU22HNjzfd95evixoOY5lgMfRVG3SQY4F6YbwtYPWSAXufzB2V88CR
/x9ttPwXdpEaYCs6NuTfSOJQMSFt9vrjAkEufYHaMriK1XoVLtW0WpqA4Sb7oOnU
84P902/y1Pxws1r68Hpr
=fLdU
-----END PGP SIGNATURE-----

--gbcWR0mmbFfmchQjdRul90KrQVOU4PGBt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52BCB5B0.1090507>