Re: [Fink-users] Failed: phase compiling: gcc48-4.8.1-1000 failed
Am 01.06.2013 um 18:05 schrieb Jack Howarth: and see if this solves your problem when the system gcc and g++ symlinks are set to gcc-4.2 and g++-4.2. I made /sw/var/lib/fink/path-prefix-g++-4.0/g++ use g++ 4.2.1 and also set the sym-links in /usr/bin that GCC 4.2.1 is used and not GCC 4.0.1 – and gcc48 builds fine, see before and after the change: -rw-r--r-- 1 root admin 75770342 2. Jun 01:18 gcc48- compiler_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 18447292 2. Jun 01:14 gcc48- shlibs_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 6454 2. Jun 01:12 gcc48_4.8.1-1000_darwin- powerpc.deb -rw-r--r-- 1 root admin 75770014 3. Jun 15:05 gcc48- compiler_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 18447646 3. Jun 15:01 gcc48- shlibs_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 6466 3. Jun 14:59 gcc48_4.8.1-1000_darwin- powerpc.deb Dominique's try with g++-4.2 and gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] is very exotic… It would have been better to try gcc and g++ from the version. Mac OS X 10.5.8 with PowerPC 7447A. -- Greetings Pete Inside every small problem is a large problem struggling to get out. – Second Law of Blissful Ignorance -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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 Mon, Jun 03, 2013 at 09:40:55PM +0200, Peter Dyballa wrote: Am 01.06.2013 um 18:05 schrieb Jack Howarth: and see if this solves your problem when the system gcc and g++ symlinks are set to gcc-4.2 and g++-4.2. I made /sw/var/lib/fink/path-prefix-g++-4.0/g++ use g++ 4.2.1 and also set the sym-links in /usr/bin that GCC 4.2.1 is used and not GCC 4.0.1 – and gcc48 builds fine, see before and after the change: -rw-r--r-- 1 root admin 75770342 2. Jun 01:18 gcc48- compiler_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 18447292 2. Jun 01:14 gcc48- shlibs_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 6454 2. Jun 01:12 gcc48_4.8.1-1000_darwin- powerpc.deb -rw-r--r-- 1 root admin 75770014 3. Jun 15:05 gcc48- compiler_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 18447646 3. Jun 15:01 gcc48- shlibs_4.8.1-1000_darwin-powerpc.deb -rw-r--r-- 1 root admin 6466 3. Jun 14:59 gcc48_4.8.1-1000_darwin- powerpc.deb Dominique's try with g++-4.2 and gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] is very exotic… It would have been better to try gcc and g++ from the version. Mac OS X 10.5.8 with PowerPC 7447A. Considering that Apple removed gcc_select in Xcode 3.1, manual hacking of the system compiler symlinks should be considered an unsupported mod. Alternatively if we want to support that change, the proper fix is to add the missing gcc compiler wrappers in path-prefix-g++-4.0 (which is actually the origin of the problem building gcc48 on 10.5 with the system compiler symlinks changed). Note that 10.5 is unique in only having partial compiler wrapper support. I'm sure whatever historical reason for that is no longer valid as we don't support migrations to 10.5 these days. Jack -- Greetings Pete Inside every small problem is a large problem struggling to get out. – Second Law of Blissful Ignorance -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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
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
Re: [Fink-users] Failed: phase compiling: gcc48-4.8.1-1000 failed
On Fri, May 31, 2013 at 10:02:50PM +0200, Dominique Dhumieres wrote: Jack, Updating to gcc48-4.8.1-1000 failed on Package manager version: 0.34.8 Distribution version: selfupdate-rsync Fri May 31 17:04:22 2013, 10.5, powerpc Trees: local/main stable/main stable/crypto unstable/main unstable/crypto Xcode.app: 3.1.4 Xcode command-line tools: 3.1.4 Max. Fink build jobs: 1 with g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/sw/include -I/sw/include -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include -I/sw/include -I/sw/include \ -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c cc1plus: error: unrecognized command line option -Wno-overlength-strings make[3]: *** [build/genconstants.o] Error 1 make[3]: Leaving directory `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir' make: *** [bootstrap-lean] Error 2 ### execution of /tmp/fink.eG7LQ failed, exit code 2 ### execution of /tmp/fink.jsRUI failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.1-1000 (Reading database ... 579617 files and directories currently installed.) Removing fink-buildlock-gcc48-4.8.1-1000 ... Failed: phase compiling: gcc48-4.8.1-1000 failed Digging the config.log file I have found ... configure:4201: gcc --version 5 powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) ... configure:4711: checking for g++ configure:4727: found /sw/var/lib/fink/path-prefix-g++-4.0/g++ configure:4738: result: g++ configure:4765: checking for C++ compiler version configure:4774: g++ --version 5 powerpc-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) ... So not only g++ is not synchronized with gcc, but g++ 4.0.1 does not support -Wno-overlength-strings. TIA Dominique Dominique, Have you manually changed the symlinks for /usr/bin/gcc and /usr/bin/g++ to point at /usr/bin/gcc-4.2 and /usr/bin/g++-4.2? Also what do you get on the command line for 'which gcc' and 'gcc -v'? It should default to gcc-4.0 as gcc_select is no longer present in Xcode 3.1.4 to switch the symlinks on the compilers. 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