Bug 186143

Summary: stage problem with graphics/freeimage
Product: Ports & Packages Reporter: Stephen Montgomery-Smith <stephen>
Component: Individual Port(s)Assignee: Pietro Cerutti <gahr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Stephen Montgomery-Smith 2014-01-26 22:30:00 UTC
	
make stage dies with the messages:
install -m 644 -o root -g wheel Source/FreeImage.h /usr/ports/graphics/freeimage/work/stage/usr/local/include
install: /usr/ports/graphics/freeimage/work/stage/usr/local/include/FreeImage.h: chown/chgrp: Operation not permitted
gmake[1]: *** [install] Error 71
gmake[1]: Leaving directory `/usr/ports/graphics/freeimage/work/FreeImage'
gmake: *** [install] Error 2
*** Error code 2

How-To-Repeat: 	
Make sure you are not root.

cd /usr/ports/graphics/freeimage/
make stage
Comment 1 Edwin Groothuis freebsd_committer 2014-01-26 22:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-01-27 09:13:18 UTC
Author: gahr
Date: Mon Jan 27 09:13:02 2014
New Revision: 341353
URL: http://svnweb.freebsd.org/changeset/ports/341353
QAT: https://qat.redports.org/buildarchive/r341353/

Log:
  - Fix staging as non-root
  
  PR:		186143
  Submitted by:	Stephen Montgomery-Smith <stephen@missouri.edu>

Modified:
  head/graphics/freeimage/Makefile

Modified: head/graphics/freeimage/Makefile
==============================================================================
--- head/graphics/freeimage/Makefile	Mon Jan 27 09:07:25 2014	(r341352)
+++ head/graphics/freeimage/Makefile	Mon Jan 27 09:13:02 2014	(r341353)
@@ -38,7 +38,7 @@ CFLAGS+=	-fPIC
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}| ; s|-g root|-g wheel|' \
+	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}| ; s|-o root -g root ||' \
 		${WRKSRC}/Makefile.gnu ${WRKSRC}/Makefile.fip
 
 post-build:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pietro Cerutti freebsd_committer 2014-01-27 09:13:20 UTC
State Changed
From-To: open->closed

Fixed, thanks!