Bug 200055 - x11-drivers/drm-kmod: 'make stage' as regular user
Summary: x11-drivers/drm-kmod: 'make stage' as regular user
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: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 18:16 UTC by John Hein
Modified: 2015-11-03 00:36 UTC (History)
1 user (show)

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


Attachments
support 'make stage' as regular user (363 bytes, text/plain)
2015-05-08 18:16 UTC, John Hein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2015-05-08 18:16:43 UTC
Created attachment 156516 [details]
support 'make stage' as regular user

To allow a regular user to 'make stage' in x11-drivers/drm-kmod, apply the attached patch to the port's Makefile.

Otherwise, you get:

===> modules (install)
===> modules/drm2 (install)
===> modules/drm2/drm2 (install)
install -o root -g wheel -m 555   drm2_port.ko /usr/ports/x11-drivers/drm-kmod/work/stage/boot/modules
install: /usr/ports/x11-drivers/drm-kmod/work/stage/boot/modules/drm2_port.ko: chown/chgrp: Operation not permitted
*** [_kmodinstall] Error code 71

Stop in /usr/ports/x11-drivers/drm-kmod/work/drm-9.280208/modules/drm2/drm2.
*** [realinstall] Error code 1
Comment 1 John Hein 2015-10-31 19:00:25 UTC
Anyone up for committing this?
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-02 21:24:30 UTC
A commit references this bug:

Author: kwm
Date: Mon Nov  2 21:23:46 UTC 2015
New revision: 400673
URL: https://svnweb.freebsd.org/changeset/ports/400673

Log:
  Add USES=uidfix to allow build as a user.

  PR:		200055
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>

Changes:
  head/x11-drivers/drm-kmod/Makefile
Comment 3 Koop Mast freebsd_committer freebsd_triage 2015-11-02 21:25:49 UTC
Committed a beter version, thanks.
Comment 4 John Hein 2015-11-03 00:36:55 UTC
Thanks, Koop.