Bug 210046

Summary: graphics/code-eli: fails to stage in poudriere on current
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, pi
Priority: --- Keywords: patch, patch-ready
Version: LatestFlags: vlad-fbsd: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to the ports tree
fernape: maintainer-approval+
log for 11-CURRENT i386 under VB
none
poudriere log on 10.1-RELEASE-amd64
none
poudriere log on 10.3-RELEASE-amd64 none

Description Kurt Jaeger freebsd_committer freebsd_triage 2016-06-05 09:48:35 UTC
See

http://people.freebsd.org/~pi/logs/code-eli-cur-20160605.txt

Cause:

/usr/bin/find /wrkdirs/usr/ports/graphics/code-eli/work/stage/usr/local/share/examples/code-eli -name *Test |  /usr/bin/xargs /usr/bin/strip
strip: creation of /wrkdirs/usr/ports/graphics/code-eli/work/stage/usr/local/share/examples/code-eli/test/util/ToleranceTest failed: Permission denied
*** Error code 1
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-05 21:10:36 UTC
(In reply to Kurt Jaeger from comment #0)

I'll have a look at it tomorrow.

Strange that it starts failing now. Can you tell me when the last successful built was for -CURRENT?

Cheers
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-06 21:43:59 UTC
(In reply to fernando.apesteguia from comment #1)

Build testing in 11-CURRENT. This will take a while...
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-07 21:53:24 UTC
(In reply to fernando.apesteguia from comment #2)
I spotted the problem (some binaries not being writable so strip can not remove the symbols from them). I created a patch. Build testing it in 11-CURRENT-i386, {10.1,10.3}-amd64(In reply to fernando.apesteguia from comment #2)
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-08 00:20:10 UTC
(In reply to fernando.apesteguia from comment #1)
I have no idea when it build fine before, sorry.
Comment 5 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-08 09:28:07 UTC
Created attachment 171195 [details]
patch to the ports tree
Comment 6 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-08 09:28:53 UTC
Created attachment 171196 [details]
log for 11-CURRENT i386 under VB
Comment 7 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-08 09:29:39 UTC
Created attachment 171197 [details]
poudriere log on 10.1-RELEASE-amd64
Comment 8 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-08 09:30:01 UTC
Created attachment 171198 [details]
poudriere log on 10.3-RELEASE-amd64
Comment 9 Fernando Apesteguía freebsd_committer freebsd_triage 2016-06-08 09:32:34 UTC
Attached patch to give write permissions on files prior to executing STRIP_CMD. This should fix the problem in 11-CURRENT

Attached log for 11-CURRENT-i386 and poudriere logs for {10.1,10.3}amd64.
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-15 20:38:15 UTC
testbuilding right now. I find the find/xargs construct a bit strange, but I no idea how to improve it.
Comment 11 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-16 00:47:48 UTC
Committed, thanks!
Comment 12 commit-hook freebsd_committer freebsd_triage 2016-06-16 00:48:20 UTC
A commit references this bug:

Author: pi
Date: Thu Jun 16 00:47:32 UTC 2016
New revision: 416942
URL: https://svnweb.freebsd.org/changeset/ports/416942

Log:
  graphics/code-eli: give write permissions on files prior to STRIP_CMD

  PR:		210046
  Submitted by:	fernando.apesteguia@gmail.com (maintainer)

Changes:
  head/graphics/code-eli/Makefile