Summary: | BROKEN www/hiawatha fails to start after make install: Error creating work directory '/usr/local/var/lib/hiawatha' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Chris Hutchinson <portmaster> | ||||
Component: | Individual Port(s) | Assignee: | Tijl Coosemans <tijl> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | freebsd, marino, tijl | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Chris Hutchinson
2014-02-03 22:30:00 UTC
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Maintainer of www/hiawatha, Please note that PR ports/186431 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/186431 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org Found the problen and Solution The cure can be created within www/hiawatha/Makefile find the line containing: PLIST_SUB+= ECHO_MSG=${ECHO_MSG} and change into: PLIST_SUB+= ECHO_MSG=${ECHO_MSG} NO_STAGE= yes save, and make install as normal. er, what? Adding "NO_STAGE=yes" is not a solution. :) Notifying maintainer. notifying maintainer The port should be be fixed to use /var instead of PREFIX/var I will fix this when I get back home, I'm out of the country atm. (In reply to chris from comment #7) > I will fix this when I get back home, I'm out of the country atm. Inet on here is way to slow to even mess with the Makefile this will have to wait 2 weeks. (In reply to John Marino from comment #4) > er, what? > > Adding "NO_STAGE=yes" is not a solution. :) > > > Notifying maintainer. LOL. I get away with _nothing_, when you're on duty, John. :) --Chris I can't reproduce this? Created attachment 145523 [details] proposed patch Please try this patch. The problem is that PREFIX/var/lib/hiawatha is an empty directory which requires special treatment (@exec mkdir) with the old pkg_install tools. The patch also sets LOCALSTATEDIR=/var so PREFIX/var/lib/hiawatha moves to /var/lib/hiawatha. It has been tested on Redports: https://redports.org/buildarchive/20140808140009-75695/ A commit references this bug: Author: tijl Date: Mon Sep 1 20:43:26 UTC 2014 New revision: 366954 URL: http://svnweb.freebsd.org/changeset/ports/366954 Log: Use /var instead of PREFIX/var PR: 186431 Approved by: maintainer timeout (3 weeks) Changes: head/www/hiawatha/Makefile head/www/hiawatha/pkg-plist |