[MacPorts] #52506: go @1.7.1_0.darwin_10.x86_64 fails to compile/install
#52506: go @1.7.1_0.darwin_10.x86_64 fails to compile/install ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: go ------------------------+-------------------------------- Upgrading, cleaning, uninstalling and reinstalling didn't work. The only thing in the logfile that looks like an error is: {{{ :info:build # crypto/x509 :info:build crypto/x509/root_cgo_darwin.go: In function 'FetchPEMRoots': :info:build crypto/x509/root_cgo_darwin.go:97: error: 'for' loop initial declaration used outside C99 mode :info:build crypto/x509/root_cgo_darwin.go:106: error: 'for' loop initial declaration used outside C99 mode ... :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_go/go/work/go/src" && ./make.bash :info:build Exit code: 2 :error:build org.macports.build for port go returned: command execution failed :debug:build Error code: CHILDSTATUS 35058 2 :debug:build 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 build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for go: org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} Another odd thing is that the top of the logfile, it says that go-1.4 is installed and active even though I uninstalled it first and port installed go reports "None of the specified ports are installed.": {{{ :debug:main go-1.4 1.4.3_0 exists in the ports tree :debug:main go-1.4 1.4.3_0 is the latest installed :debug:main go-1.4 1.4.3_0 is active }}} But that may not be important. -- Ticket URL: <https://trac.macports.org/ticket/52506> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52506: go @1.7.1_0.darwin_10.x86_64 fails to compile/install -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: go | -------------------------+-------------------------------- Comment (by ciserlohn@…): Please provide a complete log of a clean install attempt. Looks like a duplicate of #52036.
Another odd thing is that the top of the logfile, it says that go-1.4 is installed and active even though I uninstalled it first and port installed go reports "None of the specified ports are installed.":
{{{ :debug:main go-1.4 1.4.3_0 exists in the ports tree :debug:main go-1.4 1.4.3_0 is the latest installed :debug:main go-1.4 1.4.3_0 is active }}}
Since version 1.5 go ist self hosting. Go-1.4 is the last version written in C and used for bootstrapping go versions > 1.4. If you install go > 1.4 from source go-1.4 will be installed as a build time dependency. -- Ticket URL: <https://trac.macports.org/ticket/52506#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52506: go @1.7.1_0.darwin_10.x86_64 fails to compile/install -------------------------+------------------------- Reporter: macports@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: go | -------------------------+------------------------- Changes (by ciserlohn@…): * owner: macports-tickets@… => ciserlohn@… -- Ticket URL: <https://trac.macports.org/ticket/52506#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts