Bug 208256

Summary: misc/auto-multiple-choice: remove unnecessary chown/chgrp
Product: Ports & Packages Reporter: hiroto.kagotani
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch file
hiroto.kagotani: maintainer-approval+
poudriere log on 10.3 i386 none

Description hiroto.kagotani 2016-03-24 09:58:30 UTC
As reported in
http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/411679/logs/auto-multiple-choice-1.3.0.log
staging process by non-root user fails for unnecessary chown/chgrp.
Attached patch removes them.

=======================<phase: stage          >============================
===>  Staging for auto-multiple-choice-1.3.0
/bin/mkdir -p /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/mime/packages  /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/gtksourceview-2.0/language-specs
===>   Generating temporary packing list
gmake[1]: Entering directory '/wrkdirs/usr/ports/misc/auto-multiple-choice/work/auto-multiple-choice-1.3.0'
install -d -m 0755 -o root -g wheel /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/locale/fr/LC_MESSAGES
install: chown 0:0 /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/locale/fr/LC_MESSAGES: Operation not permitted
install    -m 0644 -o root -g wheel I18N/lang/fr.mo /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/locale/fr/LC_MESSAGES/auto-multiple-choice.mo
install: /wrkdirs/usr/ports/misc/auto-multiple-choice/work/stage//usr/local/share/locale/fr/LC_MESSAGES/auto-multiple-choice.mo: chown/chgrp: Operation not permitted
Makefile:186: recipe for target 'install_lang_fr' failed
Comment 1 hiroto.kagotani 2016-03-24 09:59:04 UTC
Created attachment 168558 [details]
patch file
Comment 2 hiroto.kagotani 2016-03-24 10:00:53 UTC
Created attachment 168559 [details]
poudriere log on 10.3 i386
Comment 3 commit-hook freebsd_committer 2016-03-25 12:36:56 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Mar 25 12:36:06 UTC 2016
New revision: 411836
URL: https://svnweb.freebsd.org/changeset/ports/411836

Log:
  - Fix installation as non-root

  PR:		208256
  Submitted by:	hiroto.kagotani@gmail.com (maintainer)

Changes:
  head/misc/auto-multiple-choice/files/patch-Makefile.conf