[MacPorts] #36408: mercury @11.01 error while staging into destroot
#36408: mercury @11.01 error while staging into destroot -------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------+-------------------------------- Installing fails at "staging into destroot" step These are the last 30 lines of the installation log : {{{ :info:destroot In file included from ./mercury_imp.h:62: :info:destroot ./mercury_engine.h:437:12: error: thread-local storage is unsupported for the current target :info:destroot extern __thread MercuryEngine *MR_thread_engine_base; :info:destroot ^ :info:destroot 1 error generated. :info:destroot gmake[2]: *** [mercury_accurate_gc.o] Error 1 :info:destroot gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/work /mercury-compiler-11.01/install_grade_dir.hlc.par.gc/runtime' :info:destroot To clean up from failed install, remove /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/work /mercury-compiler-11.01/install_grade_dir.hlc.par.gc :info:destroot gmake[1]: *** [install_grades] Error 1 :info:destroot gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/work /mercury-compiler-11.01' :info:destroot make: *** [install] Error 2 :info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/work /mercury-compiler-11.01' :info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/work /mercury-compiler-11.01" && /usr/bin/make -w install :info:destroot Exit code: 2 :error:destroot org.macports.destroot for port mercury returned: command execution failed :debug:destroot Error code: CHILDSTATUS 1067 2 :debug:destroot Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" :info:destroot Warning: targets not executed for mercury: org.macports.activate org.macports.destroot org.macports.install :notice:destroot Please see the log file for port mercury for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mercury/mercury/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/36408> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36408: mercury @11.01 error while staging into destroot --------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): Can you attach the full main.log file please? -- Ticket URL: <https://trac.macports.org/ticket/36408#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36408: mercury @11.01: error: thread-local storage is unsupported for the current target --------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: mercury | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: elvadrias@… (removed) * cc: ryandesign@… (added) * port: => mercury Comment: Thanks. That's a huge log... 23 MB... I've attached a compressed version of it and deleted the original. It's still not a complete log though: for all phases before destroot it just says "Skipping completed". Could you "sudo port clean mercury", then try again, then attach the new compressed main.log? I'm currently also trying the install on my system (Mountain Lion). Previously (on Snow Leopard a year ago) I was able to compile mercury but it did not work; see #31300. A new version of mercury is available. I'll try updating the port. Note that you don't need to Cc yourself when you are the reporter. -- Ticket URL: <https://trac.macports.org/ticket/36408#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36408: mercury @11.01: error: thread-local storage is unsupported for the current target --------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: mercury | --------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:4 ryandesign@…]:
Thanks. That's a huge log... 23 MB... I've attached a compressed version of it and deleted the original. It's still not a complete log though: for all phases before destroot it just says "Skipping completed". Could you "sudo port clean mercury", then try again, then attach the new compressed main.log? I'm currently also trying the install on my system (Mountain Lion).
I've attached my complete main.log; I get the same error as you. -- Ticket URL: <https://trac.macports.org/ticket/36408#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36408: mercury @11.01: error: thread-local storage is unsupported for the current target --------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: mercury | --------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [ticket:36408 elvadrias@…]:
{{{ :info:destroot In file included from ./mercury_imp.h:62: :info:destroot ./mercury_engine.h:437:12: error: thread-local storage is unsupported for the current target }}}
The NEWS file for mercury 11.07.2 includes this change: * Thread local storage now works on Mac OS X when using clang as the C compiler. So I'm hopeful updating to that version will help. -- Ticket URL: <https://trac.macports.org/ticket/36408#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36408: mercury @11.01: error: thread-local storage is unsupported for the current target --------------------------+-------------------------------- Reporter: elvadrias@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: mercury | --------------------------+-------------------------------- Comment (by ryandesign@…): I'm attaching a patch to update the port to 11.07.2. It seems upstream now supports DESTDIR which lets us simplify the port a lot and hopefully thereby fix #31300. But destroot does not complete for me. It complains: {{{ cp ./libatomic_ops-install/lib/libatomic_ops.a gc.a cp: ./libatomic_ops-install/lib/libatomic_ops.a: No such file or directory }}} Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/36408#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts