Re: [Fink-users] Failed: phase compiling: gcc48-4.8.1-1000 failed
Jack, Before entering how the different gcc are installed on my system, let me say that the following change allowed me to update gcc48 [karma] /Users/dominiq% diff /sw/var/lib/fink/path-prefix-g++-4.0/g++~ /sw/var/lib/fink/path-prefix-g++-4.0/g++ 5c5 exec g++-4.0 $@ --- exec g++-4.2 $@ So IMO the question is what the use of /sw/var/lib/fink/path-prefix-g++-4.0? For my setup the default gcc/g++ is gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] (GCC) and /usr/bin/gcc(g++) gcc version 4.2.1 (Apple Inc. build 5577) Thanks for the quick answer, Dominique -- 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
Re: [Fink-users] Failed: phase compiling: gcc48-4.8.1-1000 failed
On Sat, Jun 01, 2013 at 08:53:17AM +0200, Dominique Dhumieres wrote: Jack, Before entering how the different gcc are installed on my system, let me say that the following change allowed me to update gcc48 [karma] /Users/dominiq% diff /sw/var/lib/fink/path-prefix-g++-4.0/g++~ /sw/var/lib/fink/path-prefix-g++-4.0/g++ 5c5 exec g++-4.0 $@ --- exec g++-4.2 $@ Neither David Fang or myself see this stage1-bubble failure. So IMO the question is what the use of /sw/var/lib/fink/path-prefix-g++-4.0? The path-prefix compiler symlinks are used to set the default gcc and g++ compilers in fink builds. The fink developers decided that for Leopard and earlier... if ($config-param(Distribution) lt 10.6) { # Enforce g++-4.0 even for uncooperative packages, by making it the # first 'g++' in the path (symbol-munging binary compatibility) $pathprefix = ensure_gpp_prefix('4.0'); } as set in /sw/lib/perl5/Fink/PkgVersion.pm. The reason I mention gcc_select is that Apple effectively deprecated its behavior in Xcode 3.1 when they removed that utility. Fink has settled on supporting the latest freely available Xcode for a given Mac OS X release (with the non-free Xcode 4.2 for 10.6 being the exception). Thus Leopard is expected to default to gcc-4.0 and g++-4.0 for the system gcc and g+= compilers. CC and CXX is the mechanism Apple left for users to redirect the compilers. So your configuration is non-standard. Can you try changing reverting your changes to /sw/var/lib/fink/path-prefix-g++-4.0 and changing... ../gcc-%v/configure %c in gcc48.info to... ../gcc-%v/configure %c $GCC_FOR_TARGET=gcc This is starting to smell like a bug in fink's handling of the compilers as I don't see any instances of of /usr/bin/gcc in config.log for gcc48 builds on 10.6, 10.7 and 10.8. The references for gcc are always directed towards a path-prefix symlink. The above hack may paper over this flaw in fink 10.5. Jack ps I think this issue is normally latent as the system compilers default to gcc/g++-4.0 and gcc_select is no longer available to change that. So when configure points to /usr/bin/gcc it is the same compiler as used by the path-prefix symlinks. For my setup the default gcc/g++ is gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] (GCC) and /usr/bin/gcc(g++) gcc version 4.2.1 (Apple Inc. build 5577) Thanks for the quick answer, Dominique -- 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
Re: [Fink-users] Failed: phase compiling: gcc48-4.8.1-1000 failed
On Sat, Jun 01, 2013 at 08:53:17AM +0200, Dominique Dhumieres wrote: Jack, Before entering how the different gcc are installed on my system, let me say that the following change allowed me to update gcc48 [karma] /Users/dominiq% diff /sw/var/lib/fink/path-prefix-g++-4.0/g++~ /sw/var/lib/fink/path-prefix-g++-4.0/g++ 5c5 exec g++-4.0 $@ --- exec g++-4.2 $@ So IMO the question is what the use of /sw/var/lib/fink/path-prefix-g++-4.0? For my setup the default gcc/g++ is gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] (GCC) and /usr/bin/gcc(g++) gcc version 4.2.1 (Apple Inc. build 5577) Thanks for the quick answer, Dominique Dominique, It appears that 10.5 is unique in that it only has g++/c++ compiler wrappers in /sw/var/lib/fink/path-prefix-g++-4.0... lrwxr-xr-x 1 root admin3 May 17 23:50 c++ - g++ -rwxr-xr-x 1 root admin 138 May 17 23:50 g++ which is why configure is finding /usr/bin/gcc only on 10.5 fink. You could try... cd /sw/var/lib/fink/path-prefix-g++-4.0 cp g++ gcc perl -pe -i 's|g++|gcc|g' gcc ln -s gcc cc and see if this solves your problem when the system gcc and g++ symlinks are set to gcc-4.2 and g++-4.2. Jack -- 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
[Fink-users] Failed: phase compiling: fink-0.34.8-71
selfupdate fails to compile fink-buildlock-fink-0.34.8-71, with error # Failed test 'requires normal user but build_as_nobody enabled' # at ./Services/execute_nonroot_okay.t line 105. # got: 0 # expected: anything else # Looks like you failed 1 test of 12. ./Services/execute_nonroot_okay.t Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests 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? -- 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
Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71
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' # at ./Services/execute_nonroot_okay.t line 105. # got: 0 # expected: anything else # Looks like you failed 1 test of 12. ./Services/execute_nonroot_okay.t Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests 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) 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? :-) As a workaround, see if fink --no-build-as-nobody install fink works. -- 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
Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71
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
Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71
On 6/1/13 4:15 PM, Boaz Ilan wrote: 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/ Setting DYLD_LIBRARY_PATH can have lots of unforeseen consequences. You shouldn't need it to use software installed via Fink, and we definitely don't recommend doing so. DYLD_FALLBACK_LIBRARY_PATH is often a safer option to accomplish the same goal. -- 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
Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71
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/ Setting DYLD_LIBRARY_PATH can have lots of unforeseen consequences. You shouldn't need it to use software installed via Fink, and we definitely don't recommend doing so. DYLD_FALLBACK_LIBRARY_PATH is often a safer option to accomplish the same goal. I will make this change. Thanks again, Boaz -- 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