Unsetting USE_PERL in lang/perl5.14 prevents mail/dbmail from building. Seems that some ports assume that those perl links in /usr/bin are always present. How-To-Repeat: Install lang/perl5.14 with OPTIONS_FILE_UNSET+=USE_PERL Try to install mail/dbmail, it ends with: # tail -n 20 /poudriere/poudriere_data/logs/bulk/usunto/default/dbmail-3.0.2_5.log gmake[2]: Entering directory `/wrkdirs/usr/ports/mail/dbmail/work/dbmail-3.0.2/test' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/wrkdirs/usr/ports/mail/dbmail/work/dbmail-3.0.2/test' Making all in man gmake[2]: Entering directory `/wrkdirs/usr/ports/mail/dbmail/work/dbmail-3.0.2/man' asciidoc --unsafe -b docbook -d manpage dbmail.txt xmlto man dbmail.xml 2>/dev/null ./fixsp.pl dbmail.1 gmake[2]: ./fixsp.pl: Command not found gmake[2]: *** [dbmail.1] Error 127 rm dbmail.xml gmake[2]: Leaving directory `/wrkdirs/usr/ports/mail/dbmail/work/dbmail-3.0.2/man' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/wrkdirs/usr/ports/mail/dbmail/work/dbmail-3.0.2' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/mail/dbmail. ===> Cleaning for dbmail-3.0.2_5 build of /usr/ports/mail/dbmail ended at Fri Mar 29 11:17:25 CET 2013
Maintainer of mail/dbmail, Please note that PR ports/177467 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177467 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Thank you @lukazs for highlighting the missing dependency when building documents. The attached patch fixes the missing build dependency.
W dniu 2013-03-29 13:18, Alan Hicks pisze: > Thank you @lukazs for highlighting the missing dependency when building > documents. > > The attached patch fixes the missing build dependency. This patch did not fix the problem. The problem is that fixsp.pl hashbang points to perl in /usr/bin/perl, and this symlink is not present (I don't want it to be present). perl binary in FreeBSD is in /usr/local/bin/perl - maybe try to patch fixsp.pl to use proper path for hashbang. -- best regards, Lukasz Wasikowski
On Friday 29 March 2013 14:39:00 Åukasz WÄsikowski wrote: > W dniu 2013-03-29 13:18, Alan Hicks pisze: > > Thank you @lukazs for highlighting the missing dependency when building > > documents. > > > > The attached patch fixes the missing build dependency. > > This patch did not fix the problem. The problem is that fixsp.pl > hashbang points to perl in /usr/bin/perl, and this symlink is not > present (I don't want it to be present). perl binary in FreeBSD is in > /usr/local/bin/perl - maybe try to patch fixsp.pl to use proper path for > hashbang. Apologies for not fully reading your original report and thank you for the pointer, attached patch also includes fix to patch fixsp.pl
W dniu 2013-03-29 15:14, Alan Hicks pisze: > On Friday 29 March 2013 14:39:00 Åukasz WÄsikowski wrote: >> W dniu 2013-03-29 13:18, Alan Hicks pisze: >>> Thank you @lukazs for highlighting the missing dependency when building >>> documents. >>> >>> The attached patch fixes the missing build dependency. >> >> This patch did not fix the problem. The problem is that fixsp.pl >> hashbang points to perl in /usr/bin/perl, and this symlink is not >> present (I don't want it to be present). perl binary in FreeBSD is in >> /usr/local/bin/perl - maybe try to patch fixsp.pl to use proper path for >> hashbang. > > Apologies for not fully reading your original report and thank you for the > pointer, attached patch also includes fix to patch fixsp.pl It works great now, that was it. Thank you! -- best regards, Lukasz Wasikowski
If anyone would commit this it would be great. Thank you in advance :) -- best regards, Lukasz Wasikowski
Updated patch to use new USES=shebangfix
Author: az Date: Sat May 25 18:57:44 2013 New Revision: 319067 URL: http://svnweb.freebsd.org/changeset/ports/319067 Log: - Fix issue with building dmail, when perl build without /usr/bin/perl symlink. PR: ports/177467 Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net> Approved by: Alan Hicks <ahicks@p-o.co.uk> (maintainer and patch) Modified: head/mail/dbmail/Makefile (contents, props changed) Modified: head/mail/dbmail/Makefile ============================================================================== --- head/mail/dbmail/Makefile Sat May 25 18:46:40 2013 (r319066) +++ head/mail/dbmail/Makefile Sat May 25 18:57:44 2013 (r319067) @@ -3,7 +3,7 @@ PORTNAME= dbmail PORTVERSION= 3.0.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/download/3.0/ @@ -35,6 +35,8 @@ USE_GMAKE= yes USE_LDCONFIG= ${PREFIX}/lib/dbmail USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved USE_OPENSSL= yes +USES= shebangfix +SHEBANG_FILES= man/fixsp.pl CFLAGS+= -fPIC ${PTHREAD_CFLAGS} CPPFLAGS+= -I${LOCALBASE}/include _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Fix Committed. Thanks!