On Sun, 30 Sep 2012 01:08:40 -0400, Daniel Macks <[email protected]> wrote:
On Sat, 29 Sep 2012 19:06:18 -0700, Alexander Hansen
> <[email protected]> wrote:
> On 9/29/12 5:44 PM, mhjohnson wrote:
> > > > I got the following messages near the end of the netback build 
> > (several errors, not all ignored) using Mountain Lion on the Mac 
> and > Xcode 4.5. Perhaps something is not set up properly with the 
> users & > groups on my machine?
> > > (and if so - what is the cure?)
> > > > I have successfully built some other packages with fink without 
> problem. > > > -----
> > > fink install nethack
> > > … snip several pages of generally OK build steps ... > > mkdir 
> -p /sw/src/fink.build/root-nethack-3.4.3-1/sw/bin
> > > rm -rf /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack
> > > mkdir -p /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack/save
> > > rmdir ./-p
> > > rmdir: ./-p: No such file or directory
> > > make: [install] Error 1 (ignored)
> > > chown games 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack/save
> > > chown: /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack: > 
> Operation not permitted
> > > chown: /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack: > 
> Operation not permitted
> > > chown: 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack/save: > 
> Operation not permitted
> > > make: [install] Error 1 (ignored)
> > > chgrp bin /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack 
> > /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack > 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack/save
> > > chgrp: you are not a member of group bin
> > > chgrp: /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack: > 
> Operation not permitted
> > > chgrp: 
> /sw/src/fink.build/root-nethack-3.4.3-1/sw/lib/nethack/save: > 
> Operation not permitted
> > > make: *** [install] Error 1
> > > ### execution of make failed, exit code 2
> > > ### execution of /tmp/fink.nX6te failed, exit code 2
> > > Removing runtime build-lock... > > Removing build-lock package... 
> > > /sw/bin/dpkg-lockwait -r fink-buildlock-nethack-3.4.3-1
> > > (Reading database ... 4596 files and directories currently installed.)
> > > Removing fink-buildlock-nethack-3.4.3-1 ... > > Failed: phase 
> installing: nethack-3.4.3-1 failed
> > > … snip messages about how to report problems …
> > > Also include the following system information:
> > > Package manager version: 0.34.4
> > > Distribution version: selfupdate-rsync Sat Sep 29 18:09:53 2012, 
> > 10.8, x86_64
> > > Trees: local/main stable/main
> > > Xcode.app: 4.5
> > > Xcode command-line tools: 4.5.0.0.1.1249367152
> > > Max. Fink build jobs:  1
> > > You can work around the issue by using "fink --no-build-as-nobody
> > install nethack" to have the package build as root. >
> > The problem is that by default we don't allow packages to change
> > ownership/permissions of directories or files in the compile or install
> > phases any more, because Fink builds with an unprivileged user who can't
> > do that.  Such changes now have to be performed in the postinstall 
> phase. Comparing nethack.info for 10.[56] vs 10.[78], the older 
> distro appears to have resolved the build goofiness (InstallScript 
> parameters and a PostInstScript). My 10.7 machine is offline at the 
> moment, so I can't test-and-commit. 

Tested and committed (bonus: adding a missing dependency). netback 
3.4.3-2 should be available shortly via 'fink selfupdate', and no 
longer require funky flags to be able to build. 

dan

  --
Daniel Macks
[email protected]



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to