Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#55687 closed defect (invalid)

root6 @6.12.04_1 build fail in High Sierra (XCode 8.3)

Reported by: diemort (Gustavo) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: highsierra Cc: mojca (Mojca Miklavec)
Port: root6

Description

Dear developers,

I've tried to install root6 in MacPorts 2.4.2 but it fails with the following error message:

Error: Failed to build root6: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port root6 failed

Log file attached. Also, I noticed several warnings like this:

Warning: reinplace s|/usr/bin/env python|/usr/bin/python|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/root-6-12-04/main/python/****

I already ran a port clean root6, but it still fails.

Cheers,

--Gustavo

Attachments (1)

main.log (3.6 MB) - added by diemort (Gustavo) 6 years ago.
log file after trying to build root6

Change History (6)

Changed 6 years ago by diemort (Gustavo)

Attachment: main.log added

log file after trying to build root6

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

Cc: mojca added
Owner: set to cjones051073
Port: @6.12.04_1 removed
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers root6), if any.

comment:2 Changed 6 years ago by cjones051073 (Chris Jones)

Ignore the reinplace warnings, they are 'normal' ( I have to perform a 'catch' replacement on all python scripts to make sure they specific the python version correctly. Not all need it but giving an explicit list would be unmaintainable, given the number and how they change between releases, so I run a catch all search. The warning is for those that do not need it. )

Anyway, your issue is your Xcode version is too old for macOS 10.13. Please update (to 9.2 as of this time) and try again.

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

Keywords: highsierra added
Resolution: invalid
Status: assignedclosed

Replying to cjones051073:

Ignore the reinplace warnings, they are 'normal' ( I have to perform a 'catch' replacement on all python scripts to make sure they specific the python version correctly. Not all need it but giving an explicit list would be unmaintainable, given the number and how they change between releases, so I run a catch all search. The warning is for those that do not need it. )

Then use reinplace's -q flag to silence the warning.

Anyway, your issue is your Xcode version is too old for macOS 10.13. Please update (to 9.2 as of this time) and try again.

Agreed; the log shows clang version 802.0.38, which is from Xcode 8.3; macOS High Sierra requires Xcode 9.

comment:4 Changed 6 years ago by diemort (Gustavo)

Thanks, it worked. I didn't noticed I was so far behind the current XCode version.

comment:5 in reply to:  3 Changed 6 years ago by cjones051073 (Chris Jones)

Replying to ryandesign:

Replying to cjones051073:

Ignore the reinplace warnings, they are 'normal' ( I have to perform a 'catch' replacement on all python scripts to make sure they specific the python version correctly. Not all need it but giving an explicit list would be unmaintainable, given the number and how they change between releases, so I run a catch all search. The warning is for those that do not need it. )

Then use reinplace's -q flag to silence the warning.

Thanks ! Is that a new option ? When I first started getting this warnings I asked how to suppress them, and was told at the time it was not possible.

Anyway, your issue is your Xcode version is too old for macOS 10.13. Please update (to 9.2 as of this time) and try again.

Agreed; the log shows clang version 802.0.38, which is from Xcode 8.3; macOS High Sierra requires Xcode 9.

Note: See TracTickets for help on using tickets.