Re: Error: Failed to build source-highlight: command execution failed

2021-05-05 Thread Ken Cunningham
> That log shows that you are back at the original problem, whose proposed 
> solution was to force the use of a newer version of the clang compiler 
> by running these:

At least we can get source-highlight off this table, and then if there is some 
other problem with clang-9.0, fix that.

clang-9.0 was just revbumped, so perhaps that will lead to a rebuild for him of 
a new working version.

perhaps.

K

Re: Error: Failed to build source-highlight: command execution failed

2021-05-05 Thread Bill Cole

On 2021-05-05 at 19:39:33 UTC-0400 (Wed, 5 May 2021 19:39:33 -0400)
tom eee 
is rumored to have said:

/Developer is gone and Xcode 4.6.3 in service.  Still failing build.  
See

attachment.  Thanks, Tom


That log shows that you are back at the original problem, whose proposed 
solution was to force the use of a newer version of the clang compiler 
by running these:


   sudo port clean source-highlight
   sudo port -s install source-highlight 
configure.compiler=macports-clang-9.0



However, I've lost track of whether we've actually solved the problem 
you hit the last time you tried that: a broken installation of 
clang-9.0. To make sure that problem is fixed, run this:


   /opt/local/bin/clang-mp-9.0 --version

That should put out something like this:

   clang version 9.0.1
   Target: i386-apple-darwin11.4.2
   Thread model: posix
   InstalledDir: /opt/local/libexec/llvm-9.0/bin



On Wed, May 5, 2021 at 5:14 PM Ryan Schmidt  
wrote:





On May 5, 2021, at 12:19, tom eee wrote:

Second, I retried 'sudo port install source-light' with no success.  
The

main.log was very big, so I cut out a big portion of the middle and
attached it to this email.

The log still shows the same error described in
https://trac.macports.org/ticket/59258 and shows that MacPorts still
recognizes that you have Xcode 4.2.

Deleting parts of logs can make it harder for us to help you. A 
better

file size reduction choice is to compress the log.


Third, I downloaded Xcode 4.6.3 and when the opened dmg directed me 
to
install the Xcode in my Application folder, I checked for what was 
already

there first, only to discover that I had Xcode 4.6.3 installed in the
Application folder since 2013!  I then looked in the Developer folder 
and
discovered Xcode 4.2 was there.  So I am confused about how to make 
Xcode
4.6.3 the version that MacPorts sees when it is doing it's thing and 
do I

now have to do some update for Developer?

The /Developer folder is obsolete. You can delete it. It is where 
Apple
used to install Xcode and associated files, but sometime after Xcode 
4.2

they stopped doing that. Xcode now belongs in /Applications.

You can use "xcode-select -print-path" to see what Xcode your system 
is

configured to use. MacPorts will use this Xcode.

Assuming it does not say the path is
/Applications/Xcode.app/Contents/Developer, change it to that by 
running
"sudo xcode-select -switch 
/Applications/Xcode.app/Contents/Developer"


Then you can run "sudo port clean source-highlight" and try to 
install it

again.





--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: Error: Failed to build source-highlight: command execution failed

2021-05-05 Thread Ken Cunningham
I believe this should be fixed now (fix works for me on 10.7).

please wait a bit for the commits to propagate through (couple of hours) and 
then try your build again and I hope this brings you success.

best,

K

Re: Error: Failed to build source-highlight: command execution failed

2021-05-05 Thread tom eee
/Developer is gone and Xcode 4.6.3 in service.  Still failing build.  See
attachment.  Thanks, Tom

On Wed, May 5, 2021 at 5:14 PM Ryan Schmidt  wrote:

>
>
> On May 5, 2021, at 12:19, tom eee wrote:
>
> > Second, I retried 'sudo port install source-light' with no success.  The
> main.log was very big, so I cut out a big portion of the middle and
> attached it to this email.
>
> The log still shows the same error described in
> https://trac.macports.org/ticket/59258 and shows that MacPorts still
> recognizes that you have Xcode 4.2.
>
> Deleting parts of logs can make it harder for us to help you. A better
> file size reduction choice is to compress the log.
>
>
> > Third, I downloaded Xcode 4.6.3 and when the opened dmg directed me to
> install the Xcode in my Application folder, I checked for what was already
> there first, only to discover that I had Xcode 4.6.3 installed in the
> Application folder since 2013!  I then looked in the Developer folder and
> discovered Xcode 4.2 was there.  So I am confused about how to make Xcode
> 4.6.3 the version that MacPorts sees when it is doing it's thing and do I
> now have to do some update for Developer?
>
> The /Developer folder is obsolete. You can delete it. It is where Apple
> used to install Xcode and associated files, but sometime after Xcode 4.2
> they stopped doing that. Xcode now belongs in /Applications.
>
> You can use "xcode-select -print-path" to see what Xcode your system is
> configured to use. MacPorts will use this Xcode.
>
> Assuming it does not say the path is
> /Applications/Xcode.app/Contents/Developer, change it to that by running
> "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer"
>
> Then you can run "sudo port clean source-highlight" and try to install it
> again.
>
>


source-highlight-main.log.tbz2
Description: Binary data


Re: Error: Failed to build source-highlight: command execution failed

2021-05-05 Thread Ryan Schmidt



On May 5, 2021, at 12:19, tom eee wrote:

> Second, I retried 'sudo port install source-light' with no success.  The 
> main.log was very big, so I cut out a big portion of the middle and attached 
> it to this email.

The log still shows the same error described in 
https://trac.macports.org/ticket/59258 and shows that MacPorts still recognizes 
that you have Xcode 4.2.

Deleting parts of logs can make it harder for us to help you. A better file 
size reduction choice is to compress the log.


> Third, I downloaded Xcode 4.6.3 and when the opened dmg directed me to 
> install the Xcode in my Application folder, I checked for what was already 
> there first, only to discover that I had Xcode 4.6.3 installed in the 
> Application folder since 2013!  I then looked in the Developer folder and 
> discovered Xcode 4.2 was there.  So I am confused about how to make Xcode 
> 4.6.3 the version that MacPorts sees when it is doing it's thing and do I now 
> have to do some update for Developer?

The /Developer folder is obsolete. You can delete it. It is where Apple used to 
install Xcode and associated files, but sometime after Xcode 4.2 they stopped 
doing that. Xcode now belongs in /Applications.

You can use "xcode-select -print-path" to see what Xcode your system is 
configured to use. MacPorts will use this Xcode.

Assuming it does not say the path is 
/Applications/Xcode.app/Contents/Developer, change it to that by running "sudo 
xcode-select -switch /Applications/Xcode.app/Contents/Developer"

Then you can run "sudo port clean source-highlight" and try to install it again.