Bug 186027 - [PATCH] race in ports/audio/liba52 install target
Summary: [PATCH] race in ports/audio/liba52 install target
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 00:50 UTC by Chad Jacob Milios
Modified: 2014-07-12 09:35 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (438 bytes, patch)
2014-01-23 00:50 UTC, Chad Jacob Milios
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Jacob Milios 2014-01-23 00:50:00 UTC
50% of the time the install target errors out with this:

/bin/mkdir -p /usr/ports/audio/liba52/work/stage/usr/local/share/doc/liba52
install  -o root -g wheel -m 444 /usr/ports/audio/liba52/work/a52dec-0.7.4/doc/liba52.txt /usr/ports/audio/liba52/work/stage/usr/local/share/doc/liba52
install  -o root -g wheel -m 444 /usr/ports/audio/liba52/work/a52dec-0.7.4/liba52/a52_internal.h /usr/ports/audio/liba52/work/stage/usr/local/include/a52dec
/usr/bin/strip /usr/ports/audio/liba52/work/stage/usr/local/lib/liba52.so.0
/usr/bin/strip: '/usr/ports/audio/liba52/work/stage/usr/local/lib/liba52.so.0': No such file
*** [post-install] Error code 1

Stop in /usr/ports/audio/liba52.
*** [stage] Error code 1

Stop in /usr/ports/audio/liba52.

Fix: apply the attached patch adding a pre-install target of:

pre-install:
	${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${TOUCH}


Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/audio/liba52 && make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-23 00:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2014-06-28 06:08:40 UTC
I can't reproduce this problem on my test machine. Is this still an issue?
Comment 3 Thomas Zander freebsd_committer freebsd_triage 2014-07-12 09:35:40 UTC
Not reproducible in multiple attempts using various configurations.
Also reporter feedback timeout. So, assumed to be resolved.