Bug 189008 - net/mpd5: could not be build package with 'WITHOUT_MAN=yes' globally set
Summary: net/mpd5: could not be build package with 'WITHOUT_MAN=yes' globally set
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 08:10 UTC by Lev A. Serebryakov
Modified: 2014-10-06 11:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lev A. Serebryakov freebsd_committer freebsd_triage 2014-04-26 08:10:00 UTC
 poudriere could not build package for "net/mpd5" after STAGE support added (r349309) if jail build wtih "WITHOUT_MAN=yes" (and contains this line in "/etc/src.conf") set due to man file which is unconditionally added to PLIST.

How-To-Repeat: 
# cd /usr/ports/net/mpd5 && make WITHOUT_MAN=yes package
...
===> Staging rc.d startup script(s)
===>  Building package for mpd5-5.7
pkg-static: lstat(/usr/local/build/ports/usr/ports/net/mpd5/work/stage/usr/local/man/man8/mpd5.8.gz): No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/mpd5
*** Error code 1

Stop.
make: stopped in /usr/ports/net/mpd5
#
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-26 08:10:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mav

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Lev A. Serebryakov freebsd_committer freebsd_triage 2014-04-26 08:15:41 UTC
Responsible Changed
From-To: mav->garga


STAGE support was added by garga@
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-26 14:06:36 UTC
Author: garga
Date: Sat Apr 26 13:06:32 2014
New Revision: 352254
URL: http://svnweb.freebsd.org/changeset/ports/352254
QAT: https://qat.redports.org/buildarchive/r352254/

Log:
  Fix build when WITHOUT_MAN is defined
  
  PR:		ports/189008
  Submitted by:	Lev Serebryakov <lev@FreeBSD.org>

Modified:
  head/net/mpd5/Makefile

Modified: head/net/mpd5/Makefile
==============================================================================
--- head/net/mpd5/Makefile	Sat Apr 26 13:03:20 2014	(r352253)
+++ head/net/mpd5/Makefile	Sat Apr 26 13:06:32 2014	(r352254)
@@ -38,6 +38,10 @@ DOCSDIR=	${PREFIX}/share/doc/mpd5
 PORTDOCS=	${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README	\
 		mpd_toc.html
 PLIST_DIRS=	etc/mpd5
-PLIST_FILES=	${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5 man/man8/mpd5.8.gz
+PLIST_FILES=	${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
+
+.if !defined(WITHOUT_MAN)
+PLIST_FILES+=	man/man8/mpd5.8.gz
+.endif
 
 .include <bsd.port.mk>
_______________________________________________
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"
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2014-04-26 14:07:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 Lev A. Serebryakov freebsd_committer freebsd_triage 2014-04-26 20:52:31 UTC
State Changed
From-To: closed->open


Nope. It doesn't help for poudriere, it looks like mechanism is more complicated. 

I think, that broken MANx mechanism is pity :(
Comment 6 Renato Botelho freebsd_committer freebsd_triage 2014-06-09 19:35:32 UTC
Do you still have problems with this? I couldn't reproduce it here.