On Jun 1, 2013, at 2:30 PM, Alexander Hansen <alexanderk.han...@gmail.com> wrote:
> On 6/1/13 1:36 PM, Boaz Ilan wrote: >> >> selfupdate fails to compile fink-buildlock-fink-0.34.8-71, with error > > (not fink-buildlock-fink, but fink) > >> >> # Failed test 'requires normal user but build_as_nobody enabled' >> This is on OS-X 10.8.3 >> Package manager version: 0.34.6 >> Distribution version: selfupdate-rsync Sat Jun 1 13:28:53 2013, 10.8, x86_64 >> Trees: local/main stable/main >> Xcode.app: 4.6 >> Xcode command-line tools: 4.5.0.0.1.1249367152 >> Max. Fink build jobs: 1 >> gcc version 4.2.1 >> >> Any suggestions? >> > (you might want to update your Xcode command-line tools, but that's not the > problem) Will do. > That failure is correct, since the fink package is _supposed_ to build as > root. I'm not sure how it's even _possible_ for you to try to build fink > under a non-root user without modifying > /sw/fink/dists/stable/main/finkinfo/base/fink-10.8.info and removing the > "BuildAsNobody: false" line. Have you made any warranty-violating > modifications? :-) Fixed! My .cshrc sets the environment variable DYLD_LIBRARY_PATH /sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib I do not remember why I set this. At any rate, on 10.8.X, setting this variable causes /usr/sudo to generate an annoying warning message: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid To get rid of this message, I renamed sudo as sudo-real, created a wrapper sudo that calls sudo-real with setuid. Apparently, this messed up with fink (and other stuff). So I simply removed the wrapper and renamed sudo-real back as sudo. I still get the annoying message, but it does not break anything, yet. Many thanks for the help! > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users