Opened 6 years ago

Last modified 5 years ago

#55511 assigned defect

SourceKitten 0.17.6 "Error: Failed to destroot SourceKitten: command execution failed"

Reported by: karnevil9 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: SourceKitten

Description

Trying to install SourceKitten fails on Mac OS High Sierra and plain ol' Sierra, Xcode 9.2. Log attached.

...
--->  Building SourceKitten
--->  Staging SourceKitten into destroot
Error: Failed to destroot SourceKitten: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_SourceKitten/SourceKitten/main.log for details.
...

Attachments (1)

main.log (55.3 KB) - added by karnevil9 6 years ago.

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by karnevil9

Attachment: main.log added

comment:1 Changed 6 years ago by seanfarley (Sean Farley)

Hmm, I can't get this to build either but am getting a different (after trying to update to 0.18.4):

error: no such module 'SWXMLHash'
import SWXMLHash

For your error, it seems something is wrong with the ssl cert (proxy?):

	:info:destroot fatal: unable to access 'https://github.com/Carthage/Commandant.git/': SSL certificate problem: Couldn't understand the server certificate format

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Milestone: MacPorts Future
Priority: Not setNormal

The Milestone field is for use by Macports team members only, please do not set it.

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Cc: sean@… removed
Keywords: sierra high sierra removed
Owner: set to seanfarley
Status: newassigned

comment:4 in reply to:  1 ; Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to seanfarley:

For your error, it seems something is wrong with the ssl cert (proxy?):

	:info:destroot fatal: unable to access 'https://github.com/Carthage/Commandant.git/': SSL certificate problem: Couldn't understand the server certificate format

Ports should not download things outside of the fetch phase.

comment:5 in reply to:  4 Changed 6 years ago by seanfarley (Sean Farley)

Replying to ryandesign:

Replying to seanfarley:

For your error, it seems something is wrong with the ssl cert (proxy?):

	:info:destroot fatal: unable to access 'https://github.com/Carthage/Commandant.git/': SSL certificate problem: Couldn't understand the server certificate format

Ports should not download things outside of the fetch phase.

For sure, I agree. It'd be a bit of work (at least last time I checked) to make this happen. If I recall, everything was stuffed into prefix_install including the fetching of random packages. I can see about changing that assuming it's gotten better.

comment:6 Changed 6 years ago by karnevil9

Have a look at #50469

I think this is the same thing, and has nothing to do with the ssl cert. TD;DR the error is being generated by curl, which for some reason, behaves differently when run manually that it does when MacPorts runs it.

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to karnevil9:

for some reason

As explained in comment:ticket:50469:47, a path needs to be added to the sandbox.

But fixing that will merely allow this port's rogue destroot phase git clone to succeed, which will not fix the fact that the port should not be git cloning in destroot phase at all.

comment:8 Changed 6 years ago by seanfarley (Sean Farley)

Owner: seanfarley deleted

I don't have the bandwidth for swift / source kitten ports; someone else please feel free to take this over.

comment:9 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added
Note: See TracTickets for help on using tickets.