[RFC] deprecate @exec and @unexec in plists in favor of pre-install and post-install scripts
Hi, As part of taking a look at the differences in our implementation of pkg_install(1) in order to afford an improvement over the existing code, I've looked at various implementations of pkg_install, one being NetBSD's evolution [1]. It's several years ahead from our's and while I don't believe that all of the complexity is desired, there's a lot of good lessons to be learned from this. One of which is that they replaced the @exec and @unexec calls with string pre-install // post-install and pre-deinstall // post-deinstall scripts. I think that this potentially is a good step forward because it takes some of the guts out of the +CONTENTS files and places it in [bourne shell] scripts, which are easier to maintain and potentially understand. I realize that some of the loss would be that one couldn't simply specify things like %f, %D, %F, etc with @exec and @unexec, but that seems a small price to pay for tuning everything a bit more. On the plus side too, that means that one could use an extensive set of shell, etc libraries that would avoid code duplication like what's present in the +CONTENTS files. This is one of the small observations I made after starting on work which would modify 1k python ports to not install the byte-compiled or optimized files (side topic that we can talk about in another thread if desired). Thoughts? -Garrett ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/misc/upclient Makefile pkg-plist
The Restless Daemon identified a nested_declaration error while trying to build: upclient-5.0.b8_5 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/misc/upclient/Makefile,v 1.36 2010/03/28 06:25:22 dougb Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/upclient-5.0.b8_5.log : upclient.c:677: warning: incompatible implicit declaration of built-in function 'exit' upclient.c:690: warning: nested extern declaration of 'umask' mkdir -p products if [ ! -f products/upclient ]; then cd objects ; gcc -O3 -O2 -pipe -fno-strict-aliasing -lkvm -L/usr/local/lib -lintl -DLOCALEPATH=\/usr/local/share/locale\ -I/usr/local/include -DPLATFORM_BSD -DCONFIGFILE=\/usr/local/etc/upclient.conf\ -DPIDFILE=\/var/run/upclient.pid\ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wformat-security -Wformat -Wcomment -Wchar-subscripts -Wunused -Wbad-function-cast -Wconversion stats-bsd.o stats-uxw.o stats-ult.o stats-sol.o stats-lnx.o stats-mach.o stats-aix.o stats-beos.o stats-w2k.o network.o base64.ooptions.o uplog.o transmit.o upclient.o -o ../products/upclient;echo Done. ; elseecho upclient is up to date. ;fi Done. Inserting paths into man file Making config file phase 5: make test make: don't know how to make regression-test(continuing) phase 6: make install add_pkg libiconv-1.13.1_1.tbz gettext-0.17_1.tbz adding dependencies pkg_add libiconv-1.13.1_1.tbz skipping libiconv-1.13.1_1, already added pkg_add gettext-0.17_1.tbz skipping gettext-0.17_1, already added === Installing for upclient-5.0.b8_5 === upclient-5.0.b8_5 depends on shared library: intl - found === Generating temporary packing list === Checking if misc/upclient already installed mkdir -p /usr/local/share/locale/de/LC_MESSAGES install -m 644 ./locale/de.mo /usr/local/share/locale/de/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/de/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/es/LC_MESSAGES install -m 644 ./locale/es.mo /usr/local/share/locale/es/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/es/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/fr/LC_MESSAGES install -m 644 ./locale/fr.mo /usr/local/share/locale/fr/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/fr/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/it/LC_MESSAGES install -m 644 ./locale/it.mo /usr/local/share/locale/it/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/it/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/nl/LC_MESSAGES install -m 644 ./locale/nl.mo /usr/local/share/locale/nl/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/nl/LC_MESSAGES/upclient.mo make: don't know how to make install-startup. Stop build of /usr/ports/misc/upclient ended at Sun Mar 28 06:29:16 UTC 2010 PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=miscportname=upclient The build which triggered this BotMail was done under tinderbox-3.3_3; dsversion: 3.2.1 on RELENG_8 on amd64, kern.smp.cpus: 8 with tinderd_flags=-nullfs -plistcheck -onceonly and ccache support, with the official up-to-date Ports Tree, with the following vars set: NOPORTDOCS=yes, NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - HMC and EOI? - Halt, Melt and Catch fire or Execute Operator Immediately. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Removal of RC_SUBR and RC_SUBR_SUFFIX
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Howdy, As should be obvious by now I'm following through on my previously stated plans to remove the no longer necessary %%RC_SUBR%% and %%RC_SUBR_SUFFIX%% from the ports tree. In a few cases where substitutions for the former are still necessary because the script is actually in the source distribution instead of in the ports tree, I've substituted the literal string /etc/rc.subr for the macro. The _SUFFIX macro has been a no-op for years now, and has been removed. I will do one more grep through the entire ports tree tomorrow to make sure I have taken care of everything, but I'm pretty sure at this point that we're ready for the final step, the removal of the related code from bsd.port.mk. To that end I've produced the following: http://www.freebsd.org/cgi/query-pr.cgi?pr=145092 Once that change is made, the final step will be to remove sysutils/rc_subr. While I did make one error, I've tried very hard to make sure that all of my changes actually are no-ops, but of course if anyone sees any breakage please speak up ASAP. Regards, Doug - -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iEYEAREDAAYFAkuu+gsACgkQyIakK9Wy8Psl/gCfcsqMNYsz1NW6/AYxl/94oIvM QFEAoMLJVkxhd6+KrthJ4I0yvroSzop6 =yU3N -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/misc/upclient Makefile pkg-plist
The Restless Daemon identified a nested_declaration error while trying to build: upclient-5.0.b8_5 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/misc/upclient/Makefile,v 1.36 2010/03/28 06:25:22 dougb Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/upclient-5.0.b8_5.log : upclient.c:677: warning: incompatible implicit declaration of built-in function 'exit' upclient.c:690: warning: nested extern declaration of 'umask' mkdir -p products if [ ! -f products/upclient ]; then cd objects ; gcc -O3 -O2 -pipe -fno-strict-aliasing -lkvm -L/usr/local/lib -lintl -DLOCALEPATH=\/usr/local/share/locale\ -I/usr/local/include -DPLATFORM_BSD -DCONFIGFILE=\/usr/local/etc/upclient.conf\ -DPIDFILE=\/var/run/upclient.pid\ -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wformat-security -Wformat -Wcomment -Wchar-subscripts -Wunused -Wbad-function-cast -Wconversion stats-bsd.o stats-uxw.o stats-ult.o stats-sol.o stats-lnx.o stats-mach.o stats-aix.o stats-beos.o stats-w2k.o network.o base64.ooptions.o uplog.o transmit.o upclient.o -o ../products/upclient;echo Done. ; elseecho upclient is up to date. ;fi Done. Inserting paths into man file Making config file phase 5: make test make: don't know how to make regression-test(continuing) phase 6: make install add_pkg libiconv-1.13.1_1.tbz gettext-0.17_1.tbz adding dependencies pkg_add libiconv-1.13.1_1.tbz skipping libiconv-1.13.1_1, already added pkg_add gettext-0.17_1.tbz skipping gettext-0.17_1, already added === Installing for upclient-5.0.b8_5 === upclient-5.0.b8_5 depends on shared library: intl - found === Generating temporary packing list === Checking if misc/upclient already installed mkdir -p /usr/local/share/locale/de/LC_MESSAGES install -m 644 ./locale/de.mo /usr/local/share/locale/de/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/de/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/es/LC_MESSAGES install -m 644 ./locale/es.mo /usr/local/share/locale/es/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/es/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/fr/LC_MESSAGES install -m 644 ./locale/fr.mo /usr/local/share/locale/fr/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/fr/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/it/LC_MESSAGES install -m 644 ./locale/it.mo /usr/local/share/locale/it/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/it/LC_MESSAGES/upclient.mo mkdir -p /usr/local/share/locale/nl/LC_MESSAGES install -m 644 ./locale/nl.mo /usr/local/share/locale/nl/LC_MESSAGES/upclient.mo chmod 644 /usr/local/share/locale/nl/LC_MESSAGES/upclient.mo make: don't know how to make install-startup. Stop build of /usr/ports/misc/upclient ended at Sun Mar 28 09:14:25 UTC 2010 PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=miscportname=upclient The build which triggered this BotMail was done under tinderbox-3.3_3; dsversion: 3.2.1 on RELENG_8 on amd64, kern.smp.cpus: 8 with tinderd_flags=-nullfs -plistcheck -onceonly and ccache support, with the official up-to-date Ports Tree, with the following vars set: NOPORTDOCS=yes, NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - HMC and EOI? - Halt, Melt and Catch fire or Execute Operator Immediately. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Possibly unbuildable ports reminder
Dear porters, This is just a reminder to please periodically check the list of unbuildable ports at http://pointyhat.freebsd.org/errorlogs/ . A list by MAINTAINER is http://people.freebsd.org/~fenner/errorlogs/ so you can easily check the status of ports that you maintain. In addition, the list of ports with no MAINTAINER with build problems is http://people.freebsd.org/~fenner/errorlogs/po...@freebsd.org.html Since no one is responsible for these ports, the problem won't get fixed unless someone on this list takes the initiative. Thanks for your help! Bill annoying port email Fenner ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Now OK (Re: cvs commit: ports/graphics/libwmf/files patch-gd_png.c)
graphics/libwmf, which was previously failing is OK after this commit. Thanks for fixing it! A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - HMC and EOI? - Halt, Melt and Catch fire or Execute Operator Immediately. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
graphics/png
In the /usr/ports/UPDATING is: 20090328: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The png library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r jpeg- If you use portupgrade: portupgrade -fr graphics/jpeg Is this mistake or I don't understand, please? Thanks in advance. Mitja http://starikarp.redbubble.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
[ HEADS UP ] Ports unstable for the next 10 days
Hi, As announced before, a few big commits, that touch some thousands ports are being done: png, curl, x11, gnome, kde4. The target ETA is 6-7 April. The first one was done, update of graphics/png (including a shared lib version bump), with about 5000 ports affected. We do _NOT_ recommend updating ports until this commits are all done, and the problems are fixed, except if you want to help testing / fixing. Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. Thank you, With hat: portmgr@ -- IOnut - Un^d^dregistered ;) FreeBSD user Intellectual Property is nowhere near as valuable as Intellect FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature
Re: graphics/png
On Sun, Mar 28, 2010 at 07:47:36AM -0500, ajtiM wrote: In the /usr/ports/UPDATING is: 20090328: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The png library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r jpeg- If you use portupgrade: portupgrade -fr graphics/jpeg Is this mistake or I don't understand, please? A mistake. It should obviously say 'png' rather than 'jpeg'. I believe a fix for this has already been commited. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: graphics/png
On Sunday 28 March 2010 08:45:32 Erik Trulsson wrote: On Sun, Mar 28, 2010 at 07:47:36AM -0500, ajtiM wrote: In the /usr/ports/UPDATING is: 20090328: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The png library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r jpeg- If you use portupgrade: portupgrade -fr graphics/jpeg Is this mistake or I don't understand, please? A mistake. It should obviously say 'png' rather than 'jpeg'. I believe a fix for this has already been commited. Thank you but if I use: portmaster -r png- I got === No valid installed port, or port directory given === Try portmaster --help If I use portmaster -r /usr/ports/graphics/png- === No valid installed port, or port directory given === Try portmaster --help What I am doing wrong, please? Mitja http://starikarp.redbubble.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
Ion-Mihai Tetcu ite...@freebsd.org writes: We do _NOT_ recommend updating ports until this commits are all done, and the problems are fixed, except if you want to help testing / fixing. Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. Thank you, With hat: portmgr@ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
Oops. Sorry about sending out an empty message. Let me try again. Ion-Mihai Tetcu ite...@freebsd.org writes: We do _NOT_ recommend updating ports until this commits are all done, and the problems are fixed, except if you want to help testing / fixing. Mr. portmgr: Do you *want* help testing and fixing? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: graphics/png
On 03/28/10 09:09, ajtiM wrote: snip Thank you but if I use: portmaster -r png- I got === No valid installed port, or port directory given === Try portmaster --help If I use portmaster -r /usr/ports/graphics/png- === No valid installed port, or port directory given === Try portmaster --help What I am doing wrong, please? Mitja Get rid of the trailing hyphen. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscribed. signature.asc Description: OpenPGP digital signature
Re: graphics/png
On Sunday 28 March 2010 09:22:22 Programmer In Training wrote: On 03/28/10 09:09, ajtiM wrote: snip Thank you but if I use: portmaster -r png- I got === No valid installed port, or port directory given === Try portmaster --help If I use portmaster -r /usr/ports/graphics/png- === No valid installed port, or port directory given === Try portmaster --help What I am doing wrong, please? Mitja Get rid of the trailing hyphen. portmaster -r png === No valid installed port, or port directory given === Try portmaster --help or portmaster -r graphics/png Mitja http://starikarp.redbubble.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: graphics/png
On Sun, 28 Mar 2010 09:41:57 -0500, ajtiM lum...@gmail.com articulated: On Sunday 28 March 2010 09:22:22 Programmer In Training wrote: On 03/28/10 09:09, ajtiM wrote: snip Thank you but if I use: portmaster -r png- I got === No valid installed port, or port directory given === Try portmaster --help If I use portmaster -r /usr/ports/graphics/png- === No valid installed port, or port directory given === Try portmaster --help What I am doing wrong, please? Mitja Get rid of the trailing hyphen. portmaster -r png === No valid installed port, or port directory given === Try portmaster --help or portmaster -r graphics/png Or: portmanager graphics/png -l -f -- Jerry freebsd-ports.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Kinkler's First Law: Responsibility always exceeds authority. Kinkler's Second Law: All the easy problems have been solved. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. (If you want bugs reported in a specific place or with a specific Subject, please specify.) graphics/osg doesn't build: FreeBSD lightning 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 25 10:44:26 MDT 2010 r...@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 ... [ 40%] Building CXX object src/osgPlugins/osg/CMakeFiles/osgdb_osg.dir/OcclusionQueryNode.o /usr/ports/graphics/osg/work/OpenSceneGraph-2.8.2/src/osgPlugins/png/ReaderWriterPNG.cpp: In member function 'osgDB::ReaderWriter::ReadResult ReaderWriterPNG::readPNGStream(std::istream) const': /usr/ports/graphics/osg/work/OpenSceneGraph-2.8.2/src/osgPlugins/png/ReaderWriterPNG.cpp:176: error: 'png_check_sig' was not declared in this scope /usr/ports/graphics/osg/work/OpenSceneGraph-2.8.2/src/osgPlugins/png/ReaderWriterPNG.cpp:227: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope *** Error code 1 1 error *** Error code 2 [ 40%] Building CXX object src/osgPlugins/osg/CMakeFiles/osgdb_osg.dir/PagedLOD.o ... [ 45%] Building CXX object src/osgPlugins/osg/CMakeFiles/osgdb_osg.dir/Viewport.o Linking CXX shared module ../../../lib/osgPlugins-2.8.2/osgdb_osg.so [ 45%] Built target osgdb_osg 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/graphics/osg. *** Error code 1 Stop in /usr/ports/graphics/osg. -Warren Block * Rapid City, South Dakota USA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
Ion-Mihai Tetcu ite...@freebsd.org writes: We do _NOT_ recommend updating ports until this commits are all done, and the problems are fixed, except if you want to help testing / fixing. Could you put this in UPDATING, please? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. wxgtk26 needs the same patch as wxgtk28: --- Makefile.orig 2010-03-28 12:52:41.0 -0600 +++ Makefile2010-03-28 12:54:17.0 -0600 @@ -91,6 +91,7 @@ post-patch: @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ + -e 's|png_check_sig|png_sig_cmp|g' \ ${WRKSRC}/configure .include bsd.port.mk ...although adding another -e option instead of just extending the existing one seems unnecessary. -Warren Block * Rapid City, South Dakota USA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Massive port bloat caused by the recommended en-freebsd-doc
Hello! I did a test install of 8.0-RELEASE, and during installation I let the recommended English docs remain chosen. After installation I installed portmaster, cvsuped and ran portmaster -bda. Five hours later (test PC is PIII 450) I'm in shock by the end result: Installation of devel/libtool22 (libtool-2.2.6b) Installation of converters/libiconv (libiconv-1.13.1_1) Installation of chinese/arphicttf (zh-arphicttf-2.11_2) Installation of lang/perl5.10 (perl-5.10.1) Installation of devel/gettext (gettext-0.17_1) Installation of devel/gmake (gmake-3.81_3) Installation of devel/pkg-config (pkg-config-0.23_1) Installation of print/freetype2 (freetype2-2.3.11) Installation of print/t1utils (t1utils-1.32) Installation of print/ttf2pt1 (ttf2pt1-3.4.4_2) Installation of chinese/ttf2pt1 (zh-ttf2pt1-3.4.0) Installation of graphics/png (png-1.2.43) Installation of print/libpaper (libpaper-1.1.23+nmu2) Installation of devel/t1lib (t1lib-5.1.2_1,1) Installation of graphics/jpeg (jpeg-8_1) Installation of graphics/gd (gd-2.0.35_3,1) Installation of print/amspsfnt (amspsfnt-1.0_5) Installation of print/cmpsfont (cmpsfont-1.0_6) Installation of print/tex-texmflocal (tex-texmflocal-1.9) Installation of print/teTeX-texmf (teTeX-texmf-3.0_6) Installation of www/libwww (libwww-5.4.0_4) Installation of print/gsfonts (gsfonts-8.11_5) Installation of print/ghostscript8-nox11 (ghostscript8-nox11-8.70_1) Installation of textproc/texi2html (texi2html-1.82,1) Installation of print/teTeX-base (teTeX-base-3.0_19) Installation of print/adobe-cmaps (adobe-cmaps-20051217_1) Installation of print/dvipdfmx (dvipdfmx-20090522_3) Installation of print/freetype (freetype-1.3.1_4) Installation of print/freetype-tools (freetype-tools-1.3.1_7) Installation of archivers/unzip (unzip-6.0) Installation of print/cm-super (cm-super-0.3.4_2) Installation of print/dvipsk-tetex (dvipsk-tetex-5.95a_4) Installation of print/teTeX (teTeX-3.0_3) Installation of print/latex-cjk (latex-cjk-4.8.2_3) Installation of chinese/docproj (zh-docproj-0.1.20060303_3) Installation of graphics/jbigkit (jbigkit-1.6) Installation of graphics/tiff (tiff-3.9.2_1) Installation of graphics/netpbm (netpbm-10.26.63_2) Installation of graphics/peps (peps-2.0_3) Installation of graphics/scr2png (scr2png-1.2_3) Installation of print/jadetex (jadetex-3.13_5) Installation of textproc/xmlcatmgr (xmlcatmgr-2.2) Installation of textproc/iso8879 (iso8879-1986_2) Installation of textproc/docbook-410 (docbook-4.1_4) Installation of textproc/docbook-xml (docbook-xml-4.2_1) Installation of textproc/docbook-420 (docbook-4.2) Installation of textproc/docbook-430 (docbook-4.3) Installation of textproc/docbook-440 (docbook-4.4_2) Installation of textproc/docbook-450 (docbook-4.5_2) Installation of textproc/xmlcharent (xmlcharent-0.3_2) Installation of textproc/docbook-500 (docbook-5.0_1) Installation of textproc/docbook-sk (docbook-sk-4.1.2_4) Installation of textproc/docbook-xml-430 (docbook-xml-4.3) Installation of textproc/docbook-xml-440 (docbook-xml-4.4_1) Installation of textproc/docbook-xml-450 (docbook-xml-4.5) Installation of textproc/docbook (docbook-1.4) Installation of textproc/docbook-xsl (docbook-xsl-1.75.2) Installation of textproc/dsssl-docbook-modular (dsssl-docbook-modular-1.79_1,1) Installation of textproc/fixrtf (fixrtf-0.1.20060303) Installation of textproc/html (html-4.01_2) Installation of textproc/html2text (html2text-1.3.2a) Installation of textproc/jade (jade-1.2.1_9) Installation of security/libgpg-error (libgpg-error-1.7) Installation of security/libgcrypt (libgcrypt-1.4.5) Installation of textproc/libxml2 (libxml2-2.7.6_2) Installation of textproc/libxslt (libxslt-1.1.26) Installation of textproc/linuxdoc (linuxdoc-1.1_1) Installation of textproc/expat2 (expat-2.0.1_1) Installation of textproc/p5-XML-Parser (p5-XML-Parser-2.36_1) Installation of textproc/scr2txt (scr2txt-1.2) Installation of textproc/xhtml (xhtml-1.0.20020801_4) Installation of www/links1 (links-0.98,1) Installation of www/tidy (tidy-2804_2) Installation of textproc/docproj-jadetex (docproj-jadetex-1.17_3) Upgrade of en-freebsd-doc-20090913 to en-freebsd-doc-20100213 Upgrade of portmaster-2.12 to portmaster-2.19 I added no options to the configs that were displayed, just removed some (e.g. X11 from ghostscript IIRC). I'm not so concerned with the time that passed, I'm just shocked by the number
Re: [RFC] deprecate @exec and @unexec in plists in favor of pre-install and post-install scripts
On Sat, Mar 27, 2010 at 11:14 PM, Garrett Cooper yanef...@gmail.com wrote: Hi, As part of taking a look at the differences in our implementation of pkg_install(1) in order to afford an improvement over the existing code, I've looked at various implementations of pkg_install, one being NetBSD's evolution [1]. It's several years ahead from our's and while I don't believe that all of the complexity is desired, there's a lot of good lessons to be learned from this. One of which is that they replaced the @exec and @unexec calls with string pre-install // post-install and pre-deinstall // post-deinstall scripts. I think that this potentially is a good step forward because it takes some of the guts out of the +CONTENTS files and places it in [bourne shell] scripts, which are easier to maintain and potentially understand. I realize that some of the loss would be that one couldn't simply specify things like %f, %D, %F, etc with @exec and @unexec, but that seems a small price to pay for tuning everything a bit more. On the plus side too, that means that one could use an extensive set of shell, etc libraries that would avoid code duplication like what's present in the +CONTENTS files. This is one of the small observations I made after starting on work which would modify 1k python ports to not install the byte-compiled or optimized files (side topic that we can talk about in another thread if desired). Thoughts? And since kimelto asked on IRC, here's why byte-compiled python files are bad in packages... 23:20 @kimelto gcooper: what's the point about byte compiled python files? 23:24 @gcooper kimelto: 1) it blows up the package size 23:24 @gcooper 2) on some versions of python it disguises bugs with __file__ because byte-compiling embeds values of certain variables evaluated at compile time 23:25 @gcooper 3) it adds more crap to the plists Thanks, -Garrett ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Massive port bloat caused by the recommended en-freebsd-doc
Peter Olsson p...@leissner.se wrote in 1269804756.2864.94.ca...@x61s: po I added no options to the configs that were displayed, just removed some po (e.g. X11 from ghostscript IIRC). I'm not so concerned with the time po that passed, I'm just shocked by the number of ports that got installed. po po I'm glad this was a test install, I won't install en-freebsd-doc again. po I suggest a big warning sign on the installation page which recommends po installing en-freebsd-doc. Anyway, no worries and keep up the very good po work you do with FreeBSD. This is because building the documentation set needs a bunch of toolchains. If you want this but not want to install the toolchains, install it by using the corresponding packages. -- Hiroki pgpadR3lFVLZM.pgp Description: PGP signature
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, 28 Mar 2010 13:09:38 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. wxgtk26 needs the same patch as wxgtk28: --- Makefile.orig 2010-03-28 12:52:41.0 -0600 +++ Makefile2010-03-28 12:54:17.0 -0600 @@ -91,6 +91,7 @@ post-patch: @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ + -e 's|png_check_sig|png_sig_cmp|g' \ ${WRKSRC}/configure .include bsd.port.mk ...although adding another -e option instead of just extending the existing one seems unnecessary. Committed, thanks! -- IOnut - Un^d^dregistered ;) FreeBSD user Intellectual Property is nowhere near as valuable as Intellect FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: On Sun, 28 Mar 2010 13:09:38 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. Okay, a few more... Warning: these are nearly untested. After all, if it builds, it means it works, right? Broken, not yet investigated: graphics/enblend graphics/gimp-app graphics/hugin Broken but fixable: x11/xfce4-conf won't build with GTKDOC enabled (problem with gtkdoc-fixxref, maybe not png related) also sent to maintainer oli...@freebsd.org x11-fm/thunar needs patch: files/patch-thunar-vfs-thunar-vfs-thumb.c based on http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt also sent to maintainer oli...@freebsd.org --- thunar-vfs/thunar-vfs-thumb.c.orig 2010-03-28 13:50:55.0 -0600 +++ thunar-vfs/thunar-vfs-thumb.c 2010-03-28 13:51:39.0 -0600 @@ -1169,7 +1169,7 @@ goto done0; /* verify the png signature */ - if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature + if (G_LIKELY (png_sig_cmp ((png_bytep) signature, 0, sizeof (signature)) == 0)) rewind (fp); else goto done0; -Warren Block * Rapid City, South Dakota USA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: graphics/png
On 03/28/10 07:09, ajtiM wrote: What I am doing wrong, please? Nothing, the mistake is mine. The docs say that 'portmaster -r' accepts a glob pattern, but that's not accurate. I will work on fixing that bug asap, but meanwhile you can do this: portmaster -r `echo /var/db/pkg/png-1* | sed s#.*/##` Sorry for the confusion, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
Hello, emacs23 is also broken. The build fails when building temacs with: cc -nostdlib `./prefix-args -Xlinker -L/usr/local/lib -znocombreloc` -L/usr/local/lib -lintl -Wl,-znocombreloc -L/usr/local/lib -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.oxfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o gmalloc.o vm-limit.o -L/usr/local/lib -pthread -L/usr/local/lib - lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lpthread -lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -L/usr/local/lib -lXft -lXrender -lfontconfig -lfreetype -lX11 -pthread -L/usr/local/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread -L/usr/local/lib -ldbus-1 -lutil -lncurses -L/usr/local/lib -lz -lotf -lfreetype -L/usr/local/lib -lm17n-flt -lm17n-core -lm -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o image.o(.text+0x65d3): In function `png_load': : undefined reference to `png_check_sig' image.o(.text+0x6c01): In function `png_load': : undefined reference to `png_check_sig' gmake[1]: *** [temacs] Error 1 The compilation of image.c itself works fine, with only a warning about a deprecated symbol: cc -c -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib -I/usr/local/include -Demacs -DHAVE_CONFIG_H -I. -I/usr/ports/editors/emacs/work/emacs-23.1/src -I/usr/X11R6include -I/usr/local/include -L/usr/local/lib -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include/librsvg-2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -pipe -fno-strict-aliasing -I/usr/local/include/fr eetype2 -I/usr/local/include -I/usr/local/include image.c image.c: In function 'my_png_error': image.c:5885: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/libpng/png.h:1090) image.c: In function 'png_load': image.c:6061: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/libpng/png.h:1090) -- Fred ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. Not on the webpage above, and running 7.3-STABLE uname -a: njtransit.njit.edu 7.3-STABLE FreeBSD 7.3-STABLE #0: Sun Mar 28 01:04:27 EDT 2010 r...@njtransit.njit.edu:/usr/obj/usr/src/sys/NJT328 amd64 In graphics/ming, while portupgrading -fr png In file included from decompile.c:7: /usr/include/stdio.h:432:1: warning: this is the location of the previous definition cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c main.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c parser.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c read.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -L. -L.. -L/usr/local/lib -L.. -lming -lz -lm -lungif -lpng -DNODECOMPILE action.o blocktypes.o decompile.o main.o parser.o read.o outputtxt.c -o listswf ../libming.so: undefined reference to `png_check_sig' *** Error code 1 Tim Kellers ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
Tim Kellers wrote: On Sun, 28 Mar 2010, Ion-Mihai Tetcu wrote: Before reporting failures, please take a look at ports@ list, and http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built to find out if the problem hasn't already been reported or even fixed. We also have two incremental builds on Pointy to catch the problems. Not on the webpage above, and running 7.3-STABLE uname -a: njtransit.njit.edu 7.3-STABLE FreeBSD 7.3-STABLE #0: Sun Mar 28 01:04:27 EDT 2010 r...@njtransit.njit.edu:/usr/obj/usr/src/sys/NJT328 amd64 In graphics/ming, while portupgrading -fr png In file included from decompile.c:7: /usr/include/stdio.h:432:1: warning: this is the location of the previous definition cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c main.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c parser.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c read.c cc -O2 -fno-strict-aliasing -pipe -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -L. -L.. -L/usr/local/lib -L.. -lming -lz -lm -lungif -lpng -DNODECOMPILE action.o blocktypes.o decompile.o main.o parser.o read.o outputtxt.c -o listswf ../libming.so: undefined reference to `png_check_sig' *** Error code 1 Tim Kellers Looks like the/usr/ports/graphics/ming/files/patch-src_blocks_pngdbl.c commit fixed ming. Tim Kellers ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Removal of RC_SUBR and RC_SUBR_SUFFIX
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 03/27/10 23:41, Doug Barton wrote: I will do one more grep through the entire ports tree tomorrow to make sure I have taken care of everything, but I'm pretty sure at this point that we're ready for the final step, the removal of the related code from bsd.port.mk. To that end I've produced the following: http://www.freebsd.org/cgi/query-pr.cgi?pr=145092 Checking out a clean tree and doing one more grep found 2 stragglers, but I am now convinced that the RC_SUBR and RC_SUBR_SUFFIX macros are removed from the tree to the best of my ability. So, portmgr please do your thing with the patch in that PR. :) Doug - -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iEYEAREDAAYFAkuv2a0ACgkQyIakK9Wy8PuyrgCgt8WDXEDZqTjhgp6/hhZh5pxN x0EAn1vRomS6eRVsWBrPyjgyIUIiooW8 =qYhY -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, Mar 28, 2010 at 6:04 PM, Aristedes Maniatis a...@ish.com.au wrote: On 29/03/10 12:38 AM, Ion-Mihai Tetcu wrote: The first one was done, update of graphics/png (including a shared lib version bump), with about 5000 ports affected. The UPDATING entry for the png update looks very wrong. Wrong date, wrong text, wrong instructions for portmaster. 20090328: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The png library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r jpeg- If you use portupgrade: portupgrade -fr graphics/jpeg The text has been updated: 20100328: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The png library has been updated to version 1.4.1. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r png- If you use portupgrade: portupgrade -fr graphics/png Thanks, -Garrett ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Sun, Mar 28, 2010 at 7:17 PM, Aristedes Maniatis a...@ish.com.au wrote: On 29/03/10 1:15 PM, Garrett Cooper wrote: portmaster -r png- Is that correct? I haven't seen that notation before (although I might just have missed it in the docs). I would have used portmaster -r graphics/png And yes, the directions are still wrong; it should be: portmaster -r 'png-*' Similarly since this was just a copy-paste of the jpeg instructions, those ones are wrong as well. Thanks, -Garrett ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org