Re: [RFC] NO_INSTALL in meta-ports considered harmful

2009-05-11 Thread N. Raghavendra
At 2009-05-10T21:28:34Z, Marcin Wisnicki wrote:

 The proper way to make a metaport is to:
 1. use only RUN_DEPENDS
 2. set NO_BUILD
 3. do *NOT* set NO_INSTALL
 4. provide empty do-install target

In my personal metaports, I follow exactly the above prescription.
For example, I have a port opt/metalisp with the following Makefile
fragment:

RUN_DEPENDS=\
${OPTBASE}/share/lisp/asdf/alexandria.asd:${PORTSDIR}/opt/alexandria \
${OPTBASE}/share/doc/cltl/cltl2.html:${PORTSDIR}/opt/cltl \
${OPTBASE}/share/lisp/asdf/trivial-gray-streams.asd:${PORTSDIR}/opt/tgstreams

NO_BUILD=   yes

do-install:
@${DO_NADA}

.include bsd.port.mk

Raghavendra.

-- 
N. Raghavendra ra...@mri.ernet.in | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
___
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


Current unassigned ports problem reports

2009-05-11 Thread FreeBSD bugmaster
(Note: an HTML version of this report is available at
http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .)

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o ports/134458editors/openoffice.org* fails to build (multiple versi
o ports/134443[NEW PORT] multimedia/2ManDVD: Create your own video d
o ports/134439Update databases/tora from 1.3.22 to 2.0.0
o ports/134422vsftpd 421 data timeout (with ssl)
o ports/134413Opera blocks other programs from opening windows
o ports/134411youtube_dl url is wrong
o ports/134371New port - net/bwi-firmware-kmod
f ports/134358trackerd uses up all of the cpu
o ports/134354[patch] Fix to sysutils/confman
o ports/134347mail/spamd: spamlogd's whitelist expiration period is 
o ports/134325[PATCH] www/firefox3-i18n: bump port epoch
o ports/134300databases/postgresql-plruby: PL/ruby corrupts data sin
o ports/134274maintainer update of lang/g95
f ports/134271mail/popd POP3 server dies handling messages with very
f ports/134270update port: print/hplip update to: 3.9.4
f ports/134264audio/cmus - segmentation fault with ogg files
o ports/134241update port: devel/jude-community: update to 5.5
f ports/134234[PATCH] sysutils/samesame: Unbreak build on ZFS
o ports/134230graphics/digikam-kde4 does not build from ports
o ports/134218ports/gnucash current CVS vesion 2.2.7_2 requires goff
o ports/134198build problem with math/octave-forge-engine
o ports/134160security/openssh-portable update to 5.2p1, some cross-
o ports/134124NEW port: cad/verilog-perl
o ports/134112[MAINTAINER] net/asterisk16-addons: update to 1.6.1.0
o ports/134101New port: multimedia/playd playd is a simple to use mp
o ports/134075New port: print/cups-bjnp Canon USB-over-IP backend fo
f ports/134062[PATCH] security/expiretable incorrect pkg-plist macro
f ports/134055bulding port: misc/libhome on FreeBSD 7.1 amd64
f ports/134015[patch] graphics/mapnik should install library with co
f ports/133944[PATCH] print/latex-prettyref: [SUMMARIZE CHANGES]
f ports/133941audio/gnomad2 segfaults as normal user, works fine as 
o ports/133928New Port: multimedia/gdialog, A Project X addon to rea
o ports/133901[PATCH] net-p2p/aMule: Add WITH_UPNP knob to Enable U
o ports/133829Wrong plist generated if nonstandard MANPREFIX and PRE
o ports/133822New port for cad/linux-eagle5 (Eagle 5.5.0)
o ports/133791[PATCH] security/cyrus_sasl2 fails to install as non-r
f ports/133746[patch] port net/freeradius does not build sql driver 
o ports/133655New port: sysutils/megacli MegaCLI SAS RAID Management
f ports/133564audio/cdplay ports - bad behavior when cd drive is emp
o ports/133563security/cfs rc script needs mntudp option on 8-CURR
f ports/133555fix for lang/tclX
o ports/133533[PATCH] Add a static user/group for audio/musicpd port
f ports/133487endianess detection wrong in devel/boost
f ports/133452Can't install www/linux-flashplugin9
f ports/133451www/plone3 build fails. Plone3 needs python-2.4 but li
o ports/133441graphics/sane-backends: epson2 sane-backend wants to r
o ports/133435deskutils/egroupware dependency unresolved
o ports/133421[NEW PORT] java/eclipse-xsd: EMF-XSD Runtime
o ports/133408[NEW PORT] chinese/qq: Tencent QQ for Linux
o ports/133387openoffice don't appear in 7.1-release/Latest
f ports/133358[PATCH] net/bounce: add new -q option
f ports/133344net/nss_ldap fails to compile if world was installed w
f ports/133303lang/visualworks cannot load Jun because of lacking TG
f ports/133261[patch] www/free-sa: respect system cflags and expose 
o ports/133254[bsd.fpc.mk] don't display bogus message for fpc-using
o ports/133242[PATCH] science/gromacs: fix sparc64, fix WITH_MPICH
o ports/133241net/balance parameter -b does not accept numeric ip ad
f ports/133220dns/ldns will not compile
o ports/133068New port: audio/linux-genpuid
o ports/133047[maintainer-update] Update graphics/linux-ac3d to 6.4.
f ports/133036Update Port: x11-fonts/linuxlibertine Newer version an
o ports/133033www/nspluginwrapper segfaults when NIS is used (amd64)
f 

Re: cvs commit: ports/devel/readline Makefile distinfo pkg-plist

2009-05-11 Thread QAT
The Restless Daemon identified a mtree error while trying to build:
 readline-6.0 maintained by po...@freebsd.org
 Makefile ident: $FreeBSD: ports/devel/readline/Makefile,v 1.15 2009/05/11 
11:51:05 araujo Exp $

Excerpt from http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/readline-6.0.log :

*** Error code 1 (ignored)
install  -o root -g wheel -m 444 libhistory.a /usr/local/lib/libhistory.a
test -n ranlib  ranlib /usr/local/lib/libhistory.a
( cd shlib ; make  DESTDIR= install )
/bin/sh ../support/mkdirs /usr/local/lib
/bin/sh ../support/shlib-install -O freebsd7.2 -d /usr/local/lib -b 
/usr/local/bin -i install  -o root -g wheel -m 444 libhistory.so.6
/bin/sh ../support/shlib-install -O freebsd7.2 -d /usr/local/lib -b 
/usr/local/bin -i install  -o root -g wheel -m 444 libreadline.so.6
install: you may need to run ldconfig
install-info --quiet /usr/local/info/readline.info /usr/local/info/dir
install-info --quiet /usr/local/info/rluserman.info /usr/local/info/dir
install-info --quiet /usr/local/info/history.info /usr/local/info/dir
===   Compressing manual pages for readline-6.0
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for readline-6.0

phase 7: make package
===  Building package for readline-6.0
Creating package /tmp/packages/All/readline-6.0.tbz
Registering depends:.
Creating bzip'd tar ball in '/tmp/packages/All/readline-6.0.tbz'
Deleting readline-6.0


=== Checking filesystem state
list of extra files and directories in / (not present before this port was 
installed but present after it was deinstalled)
314892184 drwxr-xr-x2 root wheel 512 
May 11 11:44 usr/local/share/readline
31489219   12 -r--r--r--1 root wheel5734 
May 11 11:44 usr/local/share/readline/excallback.c
31489220   24 -r--r--r--1 root wheel   11426 
May 11 11:44 usr/local/share/readline/fileman.c
314892218 -r--r--r--1 root wheel2889 
May 11 11:44 usr/local/share/readline/histexamp.c
314892238 -r--r--r--1 root wheel3300 
May 11 11:44 usr/local/share/readline/manexamp.c
31489224   24 -r--r--r--1 root wheel   11147 
May 11 11:44 usr/local/share/readline/rl-fgets.c
314892258 -r--r--r--1 root wheel3179 
May 11 11:44 usr/local/share/readline/rl.c
314892268 -r--r--r--1 root wheel3299 
May 11 11:44 usr/local/share/readline/rlcat.c
314892278 -r--r--r--1 root wheel3295 
May 11 11:44 usr/local/share/readline/rlevent.c
31489228   16 -r--r--r--1 root wheel6531 
May 11 11:44 usr/local/share/readline/rlptytest.c
314892298 -r--r--r--1 root wheel2146 
May 11 11:44 usr/local/share/readline/rltest.c
314892304 -r--r--r--1 root wheel1287 
May 11 11:44 usr/local/share/readline/rlversion.c

build of /usr/ports/devel/readline ended at Mon May 11 11:44:06 UTC 2009

The tarballed WRKDIR can be found here:
http://QAT.TecNik93.com/wrkdirs/7-STABLE-FPT-NPD/readline-6.0.tbz

PortsMon page for the port:
http://portsmon.freebsd.org/portoverview.py?category=develportname=readline

The build which triggered this BotMail was done under
tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4
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


Re: editors/openoffice.org-3 - build fails

2009-05-11 Thread Olivier Certner
Hi,

Le samedi 09 mai 2009, Torfinn Ingolfsen a écrit :
 There is a workaround in this thread[1] (look for the message about
 'dos2unix') which allows the build to continue.
 More updates later (it takes a while for OOo to build...)

I had the same issue here, but in the end only the curl patch appeared 
to 
have M$ line terminators.

It seems that those have appeared occasionally in some OOO files 
recently[1]
[2]. I thus personally expect to have to deal again with such issues in 
subsequent builds...

By the way, didn't know about the 'dos2unix' program. In the current 
case, a 
simple: sed 's%^M$%%' does the trick very well.

Regards,

Olivier

[1] http://thread.gmane.org/gmane.os.freebsd.devel.openoffice/2257
[2] http://www.openoffice.org/issues/show_bug.cgi?id=99305
___
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: [RFC] NO_INSTALL in meta-ports considered harmful

2009-05-11 Thread Wesley Shields
On Sun, May 10, 2009 at 09:28:34PM +, Marcin Wisnicki wrote:
 On Sun, 10 May 2009 15:22:04 -0400, Glen Barber wrote:
 
  On Sun, May 10, 2009 at 2:51 PM, Marcin Wisnicki
  mwisnicki+free...@gmail.com wrote:
  They will be installed since they are run dependencies.
 
 From what I can tell (from several metaports) -- they, themselves, are
  not installed.  The ports defined in the metaport are installed.
 
 That's the point. The metaports should be installed as well (reasons given 
 in my original mail).
 
  There is no source code for, using your example, CUPS[1].  CUPS (in the
  FreeBSD ports tree) is, for lack of a better explanation, a pointer to
  which specific ports you need to have in order to get a fully operation
  CUPS system running.  Looking at the Makefile for print/cups [2] you can
  see the dependencies and that CUPS is not actually built (which in
  definition is what makes this a metaport).
 
 I know this.
 
 The proper way to make a metaport is to:
 1. use only RUN_DEPENDS
 2. set NO_BUILD
 3. do *NOT* set NO_INSTALL
 4. provide empty do-install target
 
 There are several metaports that get it right, like for example x11/gnome2:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/gnome2/Makefile?rev=1.155

Based upon your description I think this is a bug in the CUPS port. I'd
suggest you file a PR so that it can be tracked and (hopefully)
addressed.

-- WXS
___
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: [RFC] NO_INSTALL in meta-ports considered harmful

2009-05-11 Thread Alexey Shuvaev
On Mon, May 11, 2009 at 09:17:00AM -0400, Wesley Shields wrote:
 On Sun, May 10, 2009 at 09:28:34PM +, Marcin Wisnicki wrote:
  On Sun, 10 May 2009 15:22:04 -0400, Glen Barber wrote:
  
   On Sun, May 10, 2009 at 2:51 PM, Marcin Wisnicki
   mwisnicki+free...@gmail.com wrote:
   They will be installed since they are run dependencies.
  
  From what I can tell (from several metaports) -- they, themselves, are
   not installed.  The ports defined in the metaport are installed.
  
  That's the point. The metaports should be installed as well (reasons given 
  in my original mail).
  
   There is no source code for, using your example, CUPS[1].  CUPS (in the
   FreeBSD ports tree) is, for lack of a better explanation, a pointer to
   which specific ports you need to have in order to get a fully operation
   CUPS system running.  Looking at the Makefile for print/cups [2] you can
   see the dependencies and that CUPS is not actually built (which in
   definition is what makes this a metaport).
  
  I know this.
  
  The proper way to make a metaport is to:
  1. use only RUN_DEPENDS
  2. set NO_BUILD
  3. do *NOT* set NO_INSTALL
  4. provide empty do-install target
  
  There are several metaports that get it right, like for example x11/gnome2:
  
  http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/gnome2/Makefile?rev=1.155
 
 Based upon your description I think this is a bug in the CUPS port. I'd
 suggest you file a PR so that it can be tracked and (hopefully)
 addressed.
 
FWIW, the following gives not so many hits:

/usr/ports grep -R NO_INSTALL * | grep -v NO_INSTALL_MANPAGES
Mk/bsd.port.mk:# NO_INSTALL - Use a dummy (do-nothing) install target.
Mk/bsd.port.mk:.if defined(NO_INSTALL)  !target(install)
Tools/scripts/mkptools/mkpextr: $cap{NO_INSTALL} = YES;
devel/gnustep/Makefile:NO_INSTALL=  yes
graphics/backfract/Makefile:NO_INSTALL_MANPAGE= yes
misc/posixtestsuite/Makefile:NO_INSTALL=YES
misc/kde4-l10n/Makefile:NO_INSTALL= yes
ports-mgmt/portmk/Mk/bsd.port.mk:# NO_INSTALL   - Use a dummy (do-nothing) 
install target.
ports-mgmt/portmk/Mk/bsd.port.mk:.if defined(NO_INSTALL)  !target(install)
print/cups/Makefile:NO_INSTALL= yes
x11/etoile/Makefile:NO_INSTALL= yes
x11/gnustep-app/Makefile:NO_INSTALL=yes

Ruling out *.mk scipts there is only 1 port that uses NO_INTSTALL correctly:
misc/posixtestsuite

These should be fixed (well, I'm not 100% sure):
devel/gnustep
misc/kde4-l10n
print/cups
x11/etoile
x11/gnustep-app

Not so many too :)

My 0.02$,
Alexey.
___
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