Opened 5 years ago

Closed 5 years ago

#60134 closed defect (worksforme)

consul - unable to upgrade or new install

Reported by: schnide (Joe Schnide) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: consul

Description (last modified by ryandesign (Ryan Carsten Schmidt))

MacOS 10.13.6 fully patched
macports 2.6.2

I first tried to upgrade via port -u upgrade outdated. All other ports updated but consul failed. I them uninstalled it, did a clean on it and then tried re-installing and got the same error.

The relevant part of the log:

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_consul/consul/work/src/github.com/hashicorp/consul" && /usr/bin/make -j8 -w dev
:info:build Exit code: 2
:error:build Failed to build consul: command execution failed
:debug:build Error code: CHILDSTATUS 20048 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

I'll attach full log.

And apologies if I mess up the format/process for a ticket again.

Thanks Joe

Attachments (1)

main.log (107.8 KB) - added by schnide (Joe Schnide) 5 years ago.
main.log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by herbygillot (Herby Gillot)

Thanks for reporting, Joe.

  • Is go installed and working properly?
  • I don't see a full log attached.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: herby.gillot@… herbygillot openmaintainer removed
Description: modified (diff)
Owner: set to herbygillot
Status: newassigned

Please do attach the main.log. The relevant part is before the part you quoted.

Changed 5 years ago by schnide (Joe Schnide)

Attachment: main.log added

main.log

comment:3 Changed 5 years ago by schnide (Joe Schnide)

Hello,

go was installed at the time of upgrade and re-install attempts. go was also updated either yesterday or this morning.

Looks like the attach worked this time for me.

Thanks Joe

comment:4 Changed 5 years ago by herbygillot (Herby Gillot)

OK thanks; it looks like the build is happening because of network issues or settings, and not code issues. On line 1550 in the logfile ( https://trac.macports.org/attachment/ticket/60134/main.log#L1550 ), it looks like the build process on your machine is failing to connect to proxy.golang.org, which is run and hosted by Google ( https://sum.golang.org/ ).

The "dial tcp ... 443: connect" means that Consul's build process can't get an SSL connection going with proxy.golang.org

Can you verify your network setup?

comment:5 Changed 5 years ago by jmroot (Joshua Root)

Needing network access during the build phase is problematic, as port fetch is supposed to download all the files needed to build a port. I understand the Go ecosystem in general is not very well-behaved in this respect.

comment:6 Changed 5 years ago by schnide (Joe Schnide)

ok to close, outgoing firewall caught a modification and I didn't see it.

Thanks Joe

comment:7 Changed 5 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.