Bug 208256 - misc/auto-multiple-choice: remove unnecessary chown/chgrp
Summary: misc/auto-multiple-choice: remove unnecessary chown/chgrp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-24 09:58 UTC by hiroto.kagotani
Modified: 2016-03-25 12:36 UTC (History)
0 users

See Also:


Attachments
patch file (573 bytes, patch)
2016-03-24 09:59 UTC, hiroto.kagotani
hiroto.kagotani: maintainer-approval+
Details | Diff
poudriere log on 10.3 i386 (76.37 KB, text/x-log)
2016-03-24 10:00 UTC, hiroto.kagotani
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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