From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 19:01:10 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29E681065670; Mon, 19 May 2008 19:01:10 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id B18298FC1A; Mon, 19 May 2008 19:01:09 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 6A2E12C50D14; Mon, 19 May 2008 21:50:16 +0300 (EEST) Date: Mon, 19 May 2008 21:50:10 +0300 From: Ion-Mihai Tetcu To: freebsd-ports@freebsd.org Message-ID: <20080519215010.68ce1dff@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/vQ4jNKdzWPBrQKa7r87APqx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Mon, 19 May 2008 19:34:08 +0000 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 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:01:10 -0000 --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--