Date: Mon, 19 May 2008 21:50:10 +0300 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: freebsd-ports@freebsd.org Cc: jaj@hcl-club.lu, kuriyama@FreeBSD.org, joerg@freebsd.org, openoffice@FreeBSD.org, araujo@FreeBSD.org, garga@FreeBSD.org, sergei@FreeBSD.org, rip@pinetec.co.za, doj@cubic.org, shoesoft@gmx.net, lwhsu@FreeBSD.org, nivit@FreeBSD.org, haskell@FreeBSD.org, oliver@FreeBSD.org, clement@FreeBSD.org, freebsd-emulation@FreeBSD.org, krion@FreeBSD.org, vs@FreeBSD.org, dryice@FreeBSD.org, kenm@icarz.com, laszlof@FreeBSD.org, lbr@FreeBSD.org, argentoff@gmail.com, lapo@lapo.it, rv@gnu.org, mezz@FreeBSD.org, sean@chittenden.org, rafan@FreeBSD.org, mikeh@FreeBSD.org, roberto@FreeBSD.org, edwin@mavetju.org, erik@smluc.org, gnome@FreeBSD.org, anholt@FreeBSD.org Subject: ports with bad plist when NO{DOCS,EXAMPLES,PORTDATA} defined Message-ID: <20080519215010.68ce1dff@it.buh.tecnik93.com>
next in thread | raw e-mail | index | archive | help
--Sig_/vQ4jNKdzWPBrQKa7r87APqx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, If this problem is already fixed, please ignore this email. Out ports infrastructure provides a set of variables to control the installation of various types of documentation: NO_INSTALL_MANPAGES, NOPORTDOCS, NOPORTEXAMPLES, NOPORTDATA. A description for each of them can be found in ports/Mk/bsd.port.mk. They can be used to build stripped-down packages from our ports, a useful feature for systems where disk space is a premium (like embedded systems, etc.) In theory, for any port built with a NO* var defined the corresponding dirs and files shouldn't be installed. In practice we don't stress this, but at minimum we require is that the plist is correct - and this is what I tested.=20 I will continue with the other categories, then I'll start testing for NO_INSTALL_MANPAGES. I'm also setting up an semi-automated system to test the ports as near to commit time as my available hardware permits. I have just finished a test build of devel/* ports and their dependencies on my amd64 tinderbox with: > m /usr/local/tinderbox/portstrees/FreeBSD/portstree.env export FORCE_PACKAGE=3Dyes export NOPORTDOCS=3Dyes export NOPORTEXAMPLES=3Dyes export NOPORTDATA=3Dyes The relevant version details: System FreeBSD 7 (RELENG_7) 2008-05-09 23:13:31 Ports Tree FreeBSD ports tree 2008-05-10 00:22:00 The build was done via: ./tc addPort -b ${_build} -r -d ${PORT} -o ./tinderbuild -noduds -nullfs -plistcheck -b ${_build} ${PORT} The following ports fail with 3 types of errors: - they install docs, examples or data files or dirs when they shouldn't because of above vars being defined and they don't list them in the plist. - they don't install some docs, examples or data files or dirs but they list them in the plist. - they confuse the meaning of one of the above NO* variables with an other or with NO_INSTALL_MANPAGES A common mistake seems to be the patting of portlint(1) by adding %%PORTDOCS%% without checking if those files are installed or not. Please try to make your port obey the NO* vars, not "fix" it by installing those files unconditionally. The build logs can be found at: http://t64.tecnik93.com/index.php?action=3Dfailed_buildports&build=3D7-STAB= LE-FTP If you commit a fix please let me know; if you submit a PR to fix your port please CC me on it and I'll commit it; also please let as know if you intend to work on the unmaintained ports so that we don't duplicate our efforts. This is the list of ports that fail and their maintianers: devel/vstr - ports@FreeBSD.org devel/tigcc - jaj@hcl-club.lu devel/templ - ports@FreeBSD.org devel/tclcheck - ports@FreeBSD.org devel/styx - ports@FreeBSD.org devel/avr-libc - joerg@freebsd.org devel/silc-toolkit - ports@FreeBSD.org devel/py-spark - ports@FreeBSD.org devel/ruby-rbprof - sean@chittenden.org graphics/ruby-cairo - mezz@FreeBSD.org graphics/cairomm - gnome@FreeBSD.org graphics/linux-png - freebsd-emulation@FreeBSD.org devel/quilt - doj@cubic.org devel/py-cxx - lwhsu@FreeBSD.org devel/py-turbojson - nivit@FreeBSD.org devel/py-pycallgraph - lwhsu@FreeBSD.org devel/ice - shoesoft@gmx.net devel/py-grouch - ports@FreeBSD.org www/apache20 - clement@FreeBSD.org devel/ppl - ports@FreeBSD.org dns/libidn - krion@FreeBSD.org devel/picasm - ports@FreeBSD.org devel/pcre++ - ports@FreeBSD.org x11-toolkits/xmhtml - ports@FreeBSD.org security/gnupg1 - kuriyama@FreeBSD.org devel/p5-Class-MOP - lbr@FreeBSD.org devel/cdk - MrL0Lz@gmail.com devel/ocaml-sem - argentoff@gmail.com devel/ipython - dryice@FreeBSD.org devel/ncurses - rafan@FreeBSD.org devel/ncc - vs@FreeBSD.org devel/naturaldocs - laszlof@FreeBSD.org devel/monotone - lapo@lapo.it devel/mercurial - roberto@FreeBSD.org devel/makeplus - sergei@FreeBSD.org devel/m17n-docs - ports@FreeBSD.org devel/libslang2 - garga@FreeBSD.org textproc/xerces-c2 - kenm@icarz.com devel/libdict - ports@FreeBSD.org devel/libcheck - mikeh@FreeBSD.org lang/ghc - haskell@FreeBSD.org devel/glibmm-reference - gnome@FreeBSD.org devel/gengetopt - laszlof@FreeBSD.org lang/gauche - erik@smluc.org devel/fpp - ports@FreeBSD.org devel/flatzebra - edwin@mavetju.org net/skstream - oliver@FreeBSD.org devel/epm - openoffice@FreeBSD.org devel/cvsmapfs - rip@pinetec.co.za devel/cons - rv@gnu.org devel/cogito - anholt@FreeBSD.org devel/c4 - araujo@FreeBSD.org Thanks for your work on making FreeBSD better, --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/vQ4jNKdzWPBrQKa7r87APqx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgxy+cACgkQJ7GIuiH/oeX6+wCeNNraeX8L0YfWFEPeJhMncGsA +o0AmgPtEIk0pT/NZO1J5STdmVG18M1c =PTu2 -----END PGP SIGNATURE----- --Sig_/vQ4jNKdzWPBrQKa7r87APqx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080519215010.68ce1dff>