[MacPorts] #36418: Upgrade to cloog 0.17 breaks old binaries
#36418: Upgrade to cloog 0.17 breaks old binaries ------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cloog ------------------------+-------------------------------- After upgrading of cloog from @0.16.3_2 g++-mp-4.6 doesn't work any more: {{{ dyld: Library not loaded: /opt/local/lib/libcloog-isl.2.dylib Referenced from: /opt/local/libexec/gcc/x86_64-apple- darwin11/4.6.3/cc1plus Reason: image not found g++-mp-4.6: internal compiler error: Trace/BPT trap: 5 (program cc1plus) }}} Symbolic link to /opt/local/lib/libcloog-isl.3.dylib "fixes" this issue (but then a similar thing happens with th upgraded ISL) -- Ticket URL: <https://trac.macports.org/ticket/36418> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+-------------------------------- Comment (by bgschaid@…): This seems to be related to #36419 -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+-------------------------------- Comment (by jwhowse4@…): My experience was that if the symbolic links are not inserted by hand, MacPorts will try to recompile gcc46. On my system (OS 10.7.5, XCode 4.5) this failed because cloog 0.17 is incompatible with gcc46. -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+--------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => adfernandes@… Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+--------------------------- Changes (by macsforever2000@…): * cc: mww@… (added) Comment: Ccing maintainer of gcc46. Maybe gcc46 (and below) need a rev-bump? -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+--------------------------- Comment (by sebastian.scherer@…): Replying to [comment:2 jwhowse4@…]:
My experience was that if the symbolic links are not inserted by hand, MacPorts will try to recompile gcc46. On my system (OS 10.7.5, XCode 4.5) this failed because cloog 0.17 is incompatible with gcc46.
I observe the same issue on OSX 10.8.2 with Xcode 4.5 -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries -------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog | -------------------------+--------------------------- Comment (by gnwiii@…): gcc46 builds (and the compilers work!) with two changes: 1. add {{{ --disable-cloog-version-check }}} to the configure args, and 2. apply the patch [http://gcc.gnu.org/ml/gcc- help/2012-04/msg00184/gcc-4.6-cloog_lang_c.patch] -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Changes (by macsforever2000@…): * port: cloog => cloog gcc46 -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Changes (by macsforever2000@…): * cc: jeremyhu@… (added) -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Comment (by bgschaid@…): After the comments in #36419 tried "port upgrade cloog isl". The upgrade is still running. Result so far: gcc46 deinstalled and won't compile (see attached log). Don't know if it helps. But the output of the upgrade is (it is still compiling gcc47): {{{ ---> Computing dependencies for isl ---> Fetching archive for isl ---> Attempting to fetch isl-0.10_1.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/isl ---> Attempting to fetch isl-0.10_1.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/isl ---> Installing isl @0.10_1 ---> Cleaning isl ---> Computing dependencies for isl ---> Deactivating isl @0.10_0 ---> Cleaning isl ---> Activating isl @0.10_1 ---> Cleaning isl ---> Computing dependencies for cloog ---> Fetching archive for cloog ---> Attempting to fetch cloog-0.17.0_1.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/cloog ---> Attempting to fetch cloog-0.17.0_1.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/cloog ---> Installing cloog @0.17.0_1 ---> Cleaning cloog ---> Computing dependencies for cloog ---> Deactivating cloog @0.17.0_0 ---> Cleaning cloog ---> Activating cloog @0.17.0_1 ---> Cleaning cloog ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 26 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order gcc46 @4.6.3 gcc47 @4.7.2 ---> Computing dependencies for gcc46 ---> Cleaning gcc46 ---> Computing dependencies for gcc47 ---> Cleaning gcc47 ---> Scanning binaries for linking errors: 100.0% ---> Found 26 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order gcc46 @4.6.3 gcc47 @4.7.2 ---> Computing dependencies for gcc46 ---> Cleaning gcc46 ---> Unable to uninstall gcc46 @4.6.3_8, the following ports depend on it: ---> openmpi @1.5.5_0+gcc46 ---> py27-scipy @0.10.1_2+gcc46 ---> openmpi @1.5.5_1+gcc46 ---> py27-scipy @0.10.1_3+gcc46 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating gcc46 @4.6.3_8 ---> Unable to deactivate gcc46 @4.6.3_8, the following ports depend on it: ---> openmpi @1.5.5_1+gcc46 ---> py27-scipy @0.10.1_3+gcc46 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning gcc46 ---> Uninstalling gcc46 @4.6.3_8 ---> Cleaning gcc46 ---> Computing dependencies for gcc46 ---> Fetching distfiles for gcc46 ---> Attempting to fetch gcc-4.6.3.tar.bz2 from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gcc46 ---> Attempting to fetch ecj-4.5.jar from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gcc46 ---> Verifying checksum(s) for gcc46 ---> Extracting gcc46 ---> Configuring gcc46 Error: org.macports.configure for port gcc46 returned: configure failure: command execution failed Please see the log file for port gcc46 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/main.log ---> Computing dependencies for gcc47 ---> Cleaning gcc47 ---> Unable to uninstall gcc47 @4.7.2_1, the following ports depend on it: ---> ghc @7.4.2_0+gcc47 ---> ghc @7.4.2_1+gcc47 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating gcc47 @4.7.2_1 ---> Unable to deactivate gcc47 @4.7.2_1, the following ports depend on it: ---> ghc @7.4.2_1+gcc47 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning gcc47 ---> Uninstalling gcc47 @4.7.2_1 ---> Cleaning gcc47 ---> Computing dependencies for gcc47 ---> Fetching distfiles for gcc47 ---> Attempting to fetch gcc-4.7.2.tar.bz2 from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gcc47 ---> Attempting to fetch ecj-4.5.jar from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gcc47 ---> Verifying checksum(s) for gcc47 ---> Extracting gcc47 ---> Applying patches to gcc47 ---> Configuring gcc47 ---> Building gcc47 }}} -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Comment (by bgschaid@…): The upgrade finished and it seems tat gcc46 is broken for good: {{{ ---> Building gcc47 ---> Staging gcc47 into destroot ---> Installing gcc47 @4.7.2_1 ---> Activating gcc47 @4.7.2_1 ---> Cleaning gcc47 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 122 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order openmpi @1.5.5 +gcc46 py27-scipy @0.10.1 +gcc46 ---> Computing dependencies for openmpi ---> Dependencies to be installed: gcc46 ---> Configuring gcc46 Error: org.macports.configure for port gcc46 returned: configure failure: command execution failed Error: Failed to install gcc46 Please see the log file for port gcc46 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/main.log Error: The following dependencies were not installed: gcc46 Error: Unable to upgrade port: 1 Error rebuilding openmpi while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 370) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_upgrade" line 24) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 95) invoked from within "process_cmd $line" (procedure "process_command_file" line 42) invoked from within "process_command_file $in" (procedure "process_command_files" line 15) invoked from within "process_command_files $ui_options(ports_commandfiles)" invoked from within "if { ($exit_status == 0 || [macports::ui_isset ports_processall]) && [info exists ui_options(ports_commandfiles)] } { set exit_status [process_com..." (file "/opt/local/bin/port" line 4791) }}} -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Comment (by manphiz@…): A possible fix is proposed (also above in comment 7). http://trac.macports.org/ticket/36385#comment:5 http://trac.macports.org/ticket/36418#comment:7 -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Thanks for the patch, committed with r98368 -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36418: Upgrade to cloog 0.17 breaks old binaries --------------------------+--------------------------- Reporter: bgschaid@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: cloog gcc46 | --------------------------+--------------------------- Comment (by howarth@…): You do realize that FSF gcc upstream is transitioning away from ppl for graphite and toward isl?[[BR]] [[BR]] http://gcc.gnu.org/ml/gcc-patches/2012-06/msg01773.html [[BR]] [[BR]] On fink, I handled this by leaving older gcc45, gcc46 and gcc47 packages depending on a cloog-org[[BR]] package left at 0.16.2. A separate cloog-org2 package based on 0.17 was built against isl and used for[[BR]] gcc48 and later. The current approach you are using of remaining on ppl is a short term hack because[[BR]] upstream is likely to let the ppl support in cloog degrade with the focus on isl support. -- Ticket URL: <https://trac.macports.org/ticket/36418#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts