Bug 182720 - Build failure for irc/irssi due to STAGE support
Summary: Build failure for irc/irssi due to STAGE support
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: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 23:40 UTC by Kevin Zheng
Modified: 2013-10-06 04:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2013-10-05 23:40:00 UTC
The port builds correctly but fails while creating a binary package. The error message was:

===>  Building package for irssi-0.8.15_5
pkg-static: lstat(/wrkdirs/usr/ports/irc/irssi/work/stage/usr/local/lib/irssi/modules/): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/irc/irssi/work/stage/usr/local/lib/irssi/): No such file or directory
*** [do-package] Error code 1

Stop in /usr/ports/irc/irssi.

You can find the full build log here:
http://quasarp.dyndns.org:8080/logs/bulk/9-i386-default/latest/logs/errors/irssi-0.8.15_5.log

How-To-Repeat: Build a package for irc/irssi while using pkgng.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-05 23:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vanilla

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-06 03:51:11 UTC
Author: vanilla
Date: Sun Oct  6 02:51:04 2013
New Revision: 329525
URL: http://svnweb.freebsd.org/changeset/ports/329525

Log:
  Fix build pageage.
  
  PR:		ports/182720
  Submitted by:	Kevin Zheng <kevinz5000 at gmail.com>

Modified:
  head/irc/irssi/Makefile

Modified: head/irc/irssi/Makefile
==============================================================================
--- head/irc/irssi/Makefile	Sun Oct  6 01:31:15 2013	(r329524)
+++ head/irc/irssi/Makefile	Sun Oct  6 02:51:04 2013	(r329525)
@@ -80,6 +80,10 @@ post-patch:
 post-configure:
 	@${MV} ${WRKSRC}/irssi.conf ${WRKSRC}/irssi.conf.sample
 
+pre-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
+
 post-install:
 	@${ECHO_MSG} "You may install x11-themes/irssi-themes for"
 	@${ECHO_MSG} " additional themes."
_______________________________________________
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 3 Vanilla I. Shu freebsd_committer freebsd_triage 2013-10-06 03:51:27 UTC
State Changed
From-To: open->closed

Committed, thanks.