Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Michael Newman via macports-users
> On Sep 4, 2020, at 07:27, Ryan Schmidt  wrote:
> 
> It's especially non-straightforward when Apple breaks things, like removing 
> the receipt of the command line tools periodically, which is what that 
> problem hotlist entry is about.

OK, now I understand why what I tried didn't work and why you need the little 
"touch" trick.

Thanks.



Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Ryan Schmidt
On Sep 3, 2020, at 19:05, Michael Newman wrote:

> On Sep 4, 2020, at 05:51, Ryan Schmidt wrote:
> 
>>> Warning: cltversion: For a possible fix, please see: 
>>> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
>> 
>> Follow the instructions at that URL.
> 
> Thank you. Graphviz built after updating the command line tools.
> 
> I'm still not sure why this didn't work:
> 
> MrMuscle:~ mnewman$ xcode-select --install
> xcode-select: error: command line tools are already installed, use "Software 
> Update" to install updates
> 
> But, after doing that, Software Update didn't find any updates available. 
> 
> My browser history shows that after graphviz failed to build I visited:
> 
>> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
> 
> But my bash history doesn't go back far enough to show me what went wrong the 
> first time I tried that.
> 
> Thanks again for your help. As you may have discovered, I need primary school 
> level instructions.

No worries, it's not all straightforward so you're right to ask here.

It's especially non-straightforward when Apple breaks things, like removing the 
receipt of the command line tools periodically, which is what that problem 
hotlist entry is about.

Maybe your command line tools were incomplete for some reason, or were too old 
or too new, and reinstalling them has gotten you the right version.

I haven't updated the graphviz ports substantially in about 3 years so it's 
possible they're no longer compatible with some more recent Xcodes or command 
line tools. I clearly need to update them but with 3 years of changes built up 
it'll take a bit to see what all I need to do.



Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Michael Newman via macports-users
> On Sep 4, 2020, at 05:51, Ryan Schmidt  wrote:
> 
>> Warning: cltversion: For a possible fix, please see: 
>> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt 
>> 
> 
> Follow the instructions at that URL.

Thank you. Graphviz built after updating the command line tools.

I'm still not sure why this didn't work:

MrMuscle:~ mnewman$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software 
Update" to install updates

But, after doing that, Software Update didn't find any updates available. 

My browser history shows that after graphviz failed to build I visited:

> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt 
> 
But my bash history doesn't go back far enough to show me what went wrong the 
first time I tried that.

Thanks again for your help. As you may have discovered, I need primary school 
level instructions.

Mike

Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Ryan Schmidt



On Sep 3, 2020, at 17:37, Michael Newman wrote:

> On Sep 3, 2020, at 22:01, Ryan Schmidt wrote:
> 
>> There have been a few other reports lately of graphviz build failures for 
>> other reasons; if you're experiencing a graphviz build failure, see if one 
>> of them applies.
> 
> I spent some time searching around, but all I found were other instance of 
> graphviz related tickets, the details of which are beyond my ability to 
> comprehend.
> 
> When graphviz builds, I get this warning:
> 
> Warning: cltversion: The Command Line Tools are installed, but MacPorts 
> cannot determine the version.
> Warning: cltversion: For a possible fix, please see: 
> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt

Follow the instructions at that URL.

> Error: Failed to build graphviz: command execution failed
> Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log
>  for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
> 
> The log file referred to is rather large (almost 1MB) and incomprehensible to 
> me.

Show me the log. File a ticket at https://trac.macports.org/newticket and 
upload the compressed log there. If it's the same problem as in another ticket, 
I'll mark it as a duplicate and you can see what to do in that ticket.



Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Michael Newman via macports-users


> On Sep 3, 2020, at 22:01, Ryan Schmidt  wrote:
> 
> There have been a few other reports lately of graphviz build failures for 
> other reasons; if you're experiencing a graphviz build failure, see if one of 
> them applies.

I spent some time searching around, but all I found were other instance of 
graphviz related tickets, the details of which are beyond my ability to 
comprehend.

When graphviz builds, I get this warning:

Warning: cltversion: The Command Line Tools are installed, but MacPorts cannot 
determine the version.
Warning: cltversion: For a possible fix, please see: 
https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt

So, I run this:

MrMuscle:~ mnewman$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software 
Update" to install updates

But, that doesn't fix the "MacPorts cannot determine the version" warning. 

Xcode is at Version 11.7 (11E801a)

The details:

--->  Computing dependencies for graphviz
--->  Fetching archive for graphviz
--->  Attempting to fetch 
graphviz-2.40.1_3+pangocairo+x11.darwin_19.x86_64.tbz2 from 
http://jog.id.packages.macports.org/macports/packages/graphviz
--->  Attempting to fetch 
graphviz-2.40.1_3+pangocairo+x11.darwin_19.x86_64.tbz2 from 
https://kmq.jp.packages.macports.org/graphviz
--->  Attempting to fetch 
graphviz-2.40.1_3+pangocairo+x11.darwin_19.x86_64.tbz2 from 
http://nue.de.packages.macports.org/graphviz
--->  Building graphviz
Error: Failed to build graphviz: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log
 for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

The log file referred to is rather large (almost 1MB) and incomprehensible to 
me.

I don't know how to proceed from here.






Re: Failed to build graphviz: command execution failed

2020-09-03 Thread Ryan Schmidt
On Sep 2, 2020, at 20:55, Michael Newman wrote:

> I realize that there is a ticket on this (57137) that has been open for quite 
> some time.
> 
> However, this is the first time I've seen this error. What concerns me is 
> this:
> 
> MrMuscle:~ mnewman$ port rdependents graphviz
> The following ports are dependent on graphviz:
>  vala
>gssdp
>  gupnp
>gupnp-igd
>  libnice
>gstreamer1-gst-plugins-bad
>libproxy
>  glib-networking
>libsoup
>  gstreamer1-gst-plugins-good
>  neon
>librsvg
>  ffmpeg
>chromaprint
> 
> I use both gstreamer and ffmpeg regularly.
> 
> Does this mean that these may stop working until the graphviz problem is 
> fixed?
> 
> If so, what can I do?

Ticket 57137 is about the need for us to modify the xcode portgroup to set 
-derivedDataPath when using recent versions of Xcode. This is needed to prevent 
build failures of ports that build using xcodebuild. I do intent to look into 
that as I update graphviz to a more recent version.

graphviz-gui builds using xcodebuild, but graphviz does not. So that problem 
will not prevent graphviz from building.

There have been a few other reports lately of graphviz build failures for other 
reasons; if you're experiencing a graphviz build failure, see if one of them 
applies.