LibcxxOnOlderSystems

Bjarne D Mathiesen macintosh at mathiesen.info
Thu Aug 29 10:04:02 UTC 2019



Ken Cunningham wrote:
>> ---
>> Now, how do I switch this automatic process off ?
>> I really need to get my system into a working condition ;-)
>>
> I think if you start over, uninstall all ports, and then set your macports.conf back to the way it was at birth (comment out all your additions, so it's pristine, or use the default one and copy it over as yours) you should be OK.
> 
> I suspect your troubles are coming from the changed libc++ setting and the default_compilers setting you added. 

I only had the libc++ setting when I started.

> 
> For bootstrapping LibcxxOnOlderSystems, you can't have those in macports.conf until the proper stage of bootstrapping, as per the instructions when it says to add the changes to macports.conf step by step along the way.

I went back to a pristine macports.conf

> 
> You can why Josh has been working so nicely to automate it. He'll get it -- always does. But there may be differences between 2.6 and 2.5.4 that mean it'll only work on macports 2.6 Not sure about that yet.
> 
> Ken
> 

Now, at present i get :

macOS 10.6.8 10K549
Xcode 3.2.6 DevToolsSupport-1806.0 10M2518

#=> system_profiler -detailLevel mini SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: Mac mini
      Model Identifier: Macmini2,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 4 GB
      Bus Speed: 667 MHz
      Boot ROM Version: MM21.009A.B00
      SMC Version (system): 1.19f2


x ./macports/bin/llvm-tblgen-mp-3.4
x ./macports/bin/macho-dump-mp-3.4
x ./macports/bin/opt-mp-3.4
--->  Cleaning llvm-3.4
--->  Removing work directory for llvm-3.4
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port libcxx failed
--->  Some of the ports you installed have notes:

So it get's a bit further now

It has removed the work directory for llvm-3.4 :
root at 0125000629 00:48:37 /macports/var/macports/build
#=> ls -l
total 0
drwxr-xr-x  3 root  admin  102 29 Aug 00:53
_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libcxx

According to my i386 installation :
#=> port installed name:cxx
The following ports are currently installed:
  libcxx @5.0.1_4+universal (active)
#=> port contents libcxx
Port libcxx contains:
  /macports/var/system_roots/libcxx-5.0.1-4.tgz

But this isn't present yet on the x86_64 :
#=> ls -l
total 0
drwxr-xr-x  3 root  admin  102 29 Aug 00:53
_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libcxx
root at 0125000629 11:52:30 /macports/var/macports/build
#=> find . -name 'libcxx-5.0.1-4.tgz'
root at 0125000629 11:52:42 /macports/var/macports/build
#=> ls -l /macports/var/
total 0
drwxr-xr-x   3 root  admin  102  2 Okt  2011 cache
drwxr-xr-x  11 root  admin  374 20 Aug 00:21 db
drwxr-xr-x   4 root  admin  136 15 Aug 12:35 lib
drwxr-xr-x   6 root  admin  204 23 Aug 23:36 log
drwxr-xr-x@ 11 root  admin  510 14 Aug 13:59 macports
drwxr-xr-x   3 root  admin  102 15 Aug 12:45 net-snmp
drwxr-xr-x   7 root  admin  272 27 Aug 14:06 run
drwxr-xr-x   3 root  admin  102  4 Jan  2012 spool
drwxr-xr-x   2 root  admin   68 23 Aug  2016 tmp

It's impossible to install the remaining ports one-by-one as they all
depend on each other :

#=> port install cctools
--->  Computing dependencies for cctools
The following dependencies will be installed:
 cctools
 clang-3.4
 clang-3.7
 clang-5.0
 cmake
 ld64
 ld64-latest
 libcxx
 libomp
 llvm-3.7
 llvm-5.0
Continue? [Y/n]: n
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.


-- 
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-users mailing list