Error: Failed to build source-highlight: command execution failed
tom eee
eeetom87 at gmail.com
Fri Apr 30 23:11:20 UTC 2021
I did as you suggested and after a lengthy period of time I got the
following:
Error: On macOS 10.7, libsdl2 @2.0.14 requires Xcode 4.3 or later but you
have Xcode 4.2.
Error: See https://guide.macports.org/chunked/installing.xcode.html for
download links.
Error: Failed to extract libsdl2: incompatible Xcode version
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/main.log
for details.
Error: rev-upgrade failed: Error rebuilding ffmpeg
I went to Apple Developer to get Xcode 4.3 and the log in screen just spins
at me after entering my id and password.
So I guess I am just hosed until I can figure out how to get Xcode 4.3. I
do not really understand all of this and how it all fits together, the best
I can do is just keep going until I run out of windmills to tilt. Is there
any value to just erasing everything and starting over?
Thanks everybody for all your help,
Tom
On Fri, Apr 30, 2021 at 1:31 PM Bill Cole <
macportsusers-20171215 at billmail.scconsult.com> wrote:
> On 30 Apr 2021, at 11:48, tom eee wrote:
>
> > The following is my terminal output for the clean/install commands you
> > ask
> > me to run. Attached is the install config.log and main.log.
>
> The config.log indicates a serious problem with your clang-9.0
> installation:
>
> > configure:4766: checking for C compiler version
> > configure:4775: /opt/local/bin/clang-mp-9.0 --version >&5
> > xcodebuild: error: '/opt/local/libexec/llvm-9.0/bin/clang' not found.
> > /Developer/usr/bin/xcodebuild fails with 17664 - Unknown error: 17664
>
> Because the clang-9.0 port installs both /opt/local/bin/clang-mp-9.0 (a
> shell script) and /opt/local/libexec/llvm-9.0/bin/clang (the actual
> compiler binary, which is called by that script) it should not be
> possible to get that error unless damage has been done to the clang-9.0
> installation.
>
> You should try to uninstall and reinstall clang-9.0, then try the
> installation of source-highlight again.
>
>
>
>
> > Do you want
> > me to run the 'port -v installed boost' command also?
> >
> > Last login: Fri Apr 30 11:26:05 on ttys000
> > 11:29-1> sudo port clean source-highlight
> > Password:
> > ---> Cleaning source-highlight
> > 11:30-2> sudo port -s install source-highlight
> > configure.compiler=macports-clang-9.0
> > ---> Computing dependencies for source-highlight
> > ---> Fetching distfiles for source-highlight
> > ---> Verifying checksums for source-highlight
> > ---> Extracting source-highlight
> > ---> Configuring source-highlight
> > Error: Failed to configure source-highlight, consult
> >
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_source-highlight/source-highlight/work/source-highlight-3.1.9/config.log
> > Error: Failed to configure source-highlight: configure failure:
> > command
> > execution failed
> > Error: See
> >
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_source-highlight/source-highlight/main.log
> > for details.
> > Error: Follow https://guide.macports.org/#project.tickets to report a
> > bug.
> > Error: Processing of port source-highlight failed
> >
> > Thank you for your help,
> > Tom
> >
> >
> > On Thu, Apr 29, 2021 at 5:59 PM Ryan Schmidt <ryandesign at macports.org>
> > wrote:
> >
> >>
> >>
> >> On Apr 29, 2021, at 10:54, tom eee wrote:
> >>
> >>> Hello Ryan, I have been watching the ticket 59258 that you
> >>> associated
> >> with my problem and it is not quite clear to me whether I am being
> >> asked to
> >> do something with boost. Please update me with how I should proceed.
> >> Thank you, Tom
> >>
> >> In that ticket, I asked you to run:
> >>
> >> port -v installed boost
> >>
> >> However, since we also see the problem on our 10.7 build machine,
> >> that
> >> suggests it's not a problem with your machine, so the results of the
> >> above
> >> command may not turn out to be useful.
> >>
> >> In that ticket, René mentioned that building source-highlight with a
> >> newer
> >> compiler worked for him. So you could try running:
> >>
> >> sudo port clean source-highlight
> >> sudo port -s install source-highlight
> >> configure.compiler=macports-clang-9.0
> >>
> >> If that works, let us know; it at least gives us a workaround we can
> >> apply
> >> to the port until the developers respond to the upstream bug report I
> >> filed.
>
>
> --
> Bill Cole
> bill at scconsult.com or billcole at apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210430/4332dc42/attachment.htm>
More information about the macports-users
mailing list