Bug 231075 - audio/zita-resampler: fails to build-as-user
Summary: audio/zita-resampler: fails to build-as-user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords: regression
Depends on:
Blocks: 231026
  Show dependency treegraph
 
Reported: 2018-09-01 15:11 UTC by Jan Beich
Modified: 2018-09-02 19:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (meka)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2018-09-01 15:11:29 UTC
poudriere 3.2+ builds as regular user by defailt. On pkg-fallout@ this is covered by QAT slaves e.g., 104amd64-default-build-as-user.
https://github.com/freebsd/poudriere/commit/e64d1c931624
http://package19.nyi.freebsd.org/data/latest-per-pkg/zita-resampler/

=======================<phase: stage          >============================
===>  Staging for zita-resampler-1.6.2
===>   Generating temporary packing list
gmake[1]: Entering directory '/wrkdirs/usr/ports/audio/zita-resampler/work/zita-resampler-1.6.2/source'
install -d /wrkdirs/usr/ports/audio/zita-resampler/work/stage/usr/local/include/zita-resampler
install -d /wrkdirs/usr/ports/audio/zita-resampler/work/stage/usr/local/lib
install  -m 0644 -m 644 zita-resampler/resampler.h zita-resampler/resampler-table.h zita-resampler/vresampler.h zita-resampler/cresampler.h   /wrkdirs/usr/ports/audio/zita-resampler/work/stage/usr/local/include/zita-resampler
install  -s -m 0644 -m 755 libzita-resampler.so.1.6.2 /wrkdirs/usr/ports/audio/zita-resampler/work/stage/usr/local/lib
ldconfig
ldconfig: mkstemp(/var/run/ld-elf.so.hints.FnBk6O): Permission denied
gmake[1]: *** [Makefile:61: install] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/audio/zita-resampler/work/zita-resampler-1.6.2/source'
*** Error code 2

my build log: https://ptpb.pw/s3zL
Comment 1 Jan Beich freebsd_committer freebsd_triage 2018-09-01 15:17:36 UTC
Porter's Handbook is a bit ambiguous whether root should or should not be required. Over to previous assignee to figure it out.

https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html
https://www.freebsd.org/doc/en/books/porters-handbook/special.html#staging
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-09-02 16:27:04 UTC
Committed, thanks!
Comment 3 Jan Beich freebsd_committer freebsd_triage 2018-09-02 19:16:51 UTC
(In reply to Steve Wills from comment #2)
> Committed, thanks!

Which revision? I haven't seen commits to audio/zita-resampler since the regression.
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-09-02 19:19:19 UTC
A commit references this bug:

Author: swills
Date: Sun Sep  2 19:19:13 UTC 2018
New revision: 478813
URL: https://svnweb.freebsd.org/changeset/ports/478813

Log:
  audio/zita-resampler: use updated patch

  This removes the ldconfig and fixes building as a user

  PR:		231026 [1]
  PR:		231075 [2]
  Submitted by:	Goran Meki? <meka@tilda.center> (maintainer) [1]
  Reported by:	yuri [1]
  Reported by:	jbeich [2]

Changes:
  head/audio/zita-resampler/Makefile
  head/audio/zita-resampler/files/patch-Makefile
  head/audio/zita-resampler/pkg-plist