[MacPorts] #63085: clang-12: compiler-rt build sometimes fails parallel building

MacPorts noreply at macports.org
Tue Jul 20 18:11:33 UTC 2021


#63085: clang-12: compiler-rt build sometimes fails parallel building
-----------------------+--------------------
  Reporter:  blair     |      Owner:  kencu
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  fixed     |   Keywords:
      Port:  clang-12  |
-----------------------+--------------------

Comment (by mouse07410):

 > The buildbot is only useful if you are using MacPorts' defaults, so that
 means your prefix is /opt/local and you have not made any modifications to
 variants.conf or macports.conf.

 Default location was not changed. {{{variants.conf}}} stays default.

 {{{macports.conf}}}:
 - Added proxy configuration (being behind a corporate firewall);
 - After the LLVM-dev suggestion, disabled "universal" build, aka
 {{{
 universal_archs
 }}}

 Once I reverted {{{universal_archs}}} to the default, {{{port}}} appeared
 to download the binary (yay!):
 {{{
 $ sudo port -f uninstall clang-12
 --->  Deactivating clang-12 @12.0.1_0+analyzer+libstdcxx
 --->  Cleaning clang-12
 --->  Uninstalling clang-12 @12.0.1_0+analyzer+libstdcxx
 --->  Cleaning clang-12
 $ port -v installed | grep clang-12
 $ sudo port -v -b install clang-12
 --->  Computing dependencies for clang-12.
 --->  Fetching archive for clang-12
 --->  clang-12-12.0.1_0+analyzer+libstdcxx.darwin_20.x86_64.tbz2 doesn't
 seem to exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch
 clang-12-12.0.1_0+analyzer+libstdcxx.darwin_20.x86_64.tbz2 from
 https://packages.macports.org/clang-12
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  109M  100  109M    0     0   787k      0  0:02:22  0:02:22 --:--:--
 630k
 --->  Attempting to fetch
 clang-12-12.0.1_0+analyzer+libstdcxx.darwin_20.x86_64.tbz2.rmd160 from
 https://packages.macports.org/clang-12
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100   512  100   512    0     0   1471      0 --:--:-- --:--:-- --:--:--
 1471
 --->  Installing clang-12 @12.0.1_0+analyzer+libstdcxx
 --->  Activating clang-12 @12.0.1_0+analyzer+libstdcxx
 x ./
 x ./+PORTFILE
 x ./+CONTENTS
 x ./+DESC
 x ./+STATE
 x ./opt/
 x ./+COMMENT
 x ./opt/local/
 x ./opt/local/bin/
 x ./opt/local/libexec/
 x ./opt/local/etc/
 x ./opt/local/etc/select/
 .  .  .  .  .
 x ./opt/local/bin/clang-check-mp-12
 x ./opt/local/bin/clang-extdef-mapping-mp-12
 x ./opt/local/bin/clang-change-namespace-mp-12
 x ./opt/local/bin/scan-build-mp-12
 --->  Cleaning clang-12
 --->  Removing work directory for clang-12
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 $
 }}}

 Thank you!!

 I wonder if {{{-b}}} flag is necessary...

-- 
Ticket URL: <https://trac.macports.org/ticket/63085#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list