> Le 12 juil. 2017 à 17:52, <[email protected]> <[email protected]> a écrit :
> 
> 
>> On Jul 12, 2017, at 9:47 AM, pagani laurent <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> 
>>> Le 12 juil. 2017 à 17:44, <[email protected] <mailto:[email protected]>> 
>>> <[email protected] <mailto:[email protected]>> a écrit :
>>> 
>>>> 
>>>> On Jul 12, 2017, at 9:40 AM, pagani laurent via macports-users 
>>>> <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> 
>>>>> Le 12 juil. 2017 à 17:19, MacPorts <[email protected] 
>>>>> <mailto:[email protected]>> a écrit :
>>>>> 
>>>>> #54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3
>>>>> ------------------------+----------------------------
>>>>> Reporter:  lpagani91  |      Owner:  jyrkiwahlstedt
>>>>>     Type:  defect     |     Status:  closed
>>>>> Priority:  Normal     |  Milestone:
>>>>> Component:  ports      |    Version:  2.4.1
>>>>> Resolution:  invalid    |   Keywords:
>>>>>     Port:  python36   |
>>>>> ------------------------+----------------------------
>>>>> 
>>>>> Comment (by mf2k):
>>>>> 
>>>>> To clarify, your Xcode command line tools are out of date. Did you follow
>>>>> the wiki:Migration Instructions?
>>>> 
>>>> Sort of…
>>>> 
>>>> My XCode info window says I have 8.3.3
>>>> When I run softwareupdate :
>>>> 
>>>> Lorenzo>softwareupdate --list
>>>> Software Update Tool
>>>> 
>>>> Finding available software
>>>> No new software available.
>>>> 
>>>> it finds nothing to update. So my CLT should be uptodate. I don’t 
>>>> understand why python3.6 is finding an older version.
>>> 
>>> Maybe it was built with the old command line tools then. Can you try 
>>> rebuilding it?
>>> 
>>> sudo port -f uninstall python36
>>> sudo port install python36
>> 
>> 
>> That is exactly what I did just before I posted the failure message.
> 
> I see from the other thread that you rebuilt python35, so you also rebuilt 
> python36 then?

Yes! 3.5 was pretending being 3.5.3 package but execution was showing 3.5.2. 
After successful uninstall/reinstall I tried the same trick with 3.6 but with 
no success.

> 
> What is the output of this?
> 
> echo -en "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': 
> $(/usr/bin/xcodebuild -version |tail -1)\n$(test -x /usr/bin/gcc-3.3 && echo 
> " * '''gcc-3.3''': $(/usr/bin/gcc-3.3 --version 2>/dev/null |head 
> -1)\n")$(test -x /usr/bin/gcc-4.0 && echo " * '''gcc-4.0''': 
> $(/usr/bin/gcc-4.0 --version 2>/dev/null |head -1)\n")$(test -x 
> /usr/bin/gcc-4.2 && echo " * '''gcc-4.2''': $(/usr/bin/gcc-4.2 --version 
> 2>/dev/null |head -1)\n")$((test -x /usr/bin/llvm-gcc-4.2 || test -x 
> /Developer/usr/bin/llvm-gcc-4.2) && echo " * '''llvm-gcc''': 
> $((/usr/bin/llvm-gcc --version 2>/dev/null || /Developer/usr/bin/llvm-gcc 
> --version 2>/dev/null) |head -1)\n")$((test -x /usr/bin/clang || test -x 
> /Developer/usr/bin/clang) && echo " * '''clang''': $((test -x /usr/bin/clang 
> && /usr/bin/clang --version 2>&1 || /Developer/usr/bin/clang --version 2>&1) 
> |head -1)\n")" |tee /dev/tty |pbcopy

Waouh! Under tcsh, it failed, under bash :

=== Xcode 8.3.3 ===
 * '''Xcode''': Build version 8E3004b
 * '''clang''': Apple LLVM version 8.1.0 (clang-802.0.42)

Laurent




> 
> -Frank
> 
> 

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)

Reply via email to