Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643380 - bootstrap-prefix.sh: build of =sys-libs/libcxxabi-3.9.1 fails during stage 2
Summary: bootstrap-prefix.sh: build of =sys-libs/libcxxabi-3.9.1 fails during stage 2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 09:58 UTC by Sébastien DIAZ
Modified: 2018-01-05 08:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien DIAZ 2018-01-04 09:58:12 UTC
During Stage 2, emerge sys-libs/libcxxabi-3.9.1::gentoo_prefix crash with the following log :

>>> Emerging (1 of 1) sys-libs/libcxxabi-3.9.1::gentoo_prefix
>>> Downloading 'http://distfiles.gentoo.org/distfiles/libcxxabi-3.9.1.src.tar.xz'
--2018-01-04 09:33:23--  http://distfiles.gentoo.org/distfiles/libcxxabi-3.9.1.src.tar.xz
Resolving distfiles.gentoo.org... 2a00:8a60:e012:a00::21, 64.50.236.52, 2600:3404:200:237::2, ...
Connecting to distfiles.gentoo.org|2a00:8a60:e012:a00::21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 510964 (499K) [application/octet-stream]
Saving to: '/Users/osboots/Gentoo/usr/portage/distfiles/libcxxabi-3.9.1.src.tar.xz'

     0K .......... .......... .......... .......... .......... 10%  218K 2s
    50K .......... .......... .......... .......... .......... 20%  667K 1s
   100K .......... .......... .......... .......... .......... 30%  698K 1s
   150K .......... .......... .......... .......... .......... 40%  266K 1s
   200K .......... .......... .......... .......... .......... 50%  783K 1s
   250K .......... .......... .......... .......... .......... 60%  534K 0s
   300K .......... .......... .......... .......... .......... 70%  282K 0s
   350K .......... .......... .......... .......... .......... 80%  816K 0s
   400K .......... .......... .......... .......... .......... 90%  870K 0s
   450K .......... .......... .......... .......... ........  100%  439K=1.1s

2018-01-04 09:33:25 (442 KB/s) - '/Users/osboots/Gentoo/usr/portage/distfiles/libcxxabi-3.9.1.src.tar.xz' saved [510964/510964]

 * libcxxabi-3.9.1.src.tar.xz SHA256 SHA512 size ;-) ...                 [ ok ]
>>> Downloading 'http://distfiles.gentoo.org/distfiles/libcxx-3.9.1.src.tar.xz'
--2018-01-04 09:33:25--  http://distfiles.gentoo.org/distfiles/libcxx-3.9.1.src.tar.xz
Resolving distfiles.gentoo.org... 2a00:8a60:e012:a00::21, 64.50.236.52, 2600:3404:200:237::2, ...
Connecting to distfiles.gentoo.org|2a00:8a60:e012:a00::21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1209020 (1.2M) [application/octet-stream]
Saving to: '/Users/osboots/Gentoo/usr/portage/distfiles/libcxx-3.9.1.src.tar.xz'

     0K .......... .......... .......... .......... ..........  4%  220K 5s
    50K .......... .......... .......... .......... ..........  8%  577K 3s
   100K .......... .......... .......... .......... .......... 12%  689K 3s
   150K .......... .......... .......... .......... .......... 16%  284K 3s
   200K .......... .......... .......... .......... .......... 21%  728K 2s
   250K .......... .......... .......... .......... .......... 25%  754K 2s
   300K .......... .......... .......... .......... .......... 29%  208K 2s
   350K .......... .......... .......... .......... .......... 33%  586K 2s
   400K .......... .......... .......... .......... .......... 38%  390K 2s
   450K .......... .......... .......... .......... .......... 42%  444K 2s
   500K .......... .......... .......... .......... .......... 46%  804K 2s
   550K .......... .......... .......... .......... .......... 50%  635K 1s
   600K .......... .......... .......... .......... .......... 55%  286K 1s
   650K .......... .......... .......... .......... .......... 59%  822K 1s
   700K .......... .......... .......... .......... .......... 63%  723K 1s
   750K .......... .......... .......... .......... .......... 67%  286K 1s
   800K .......... .......... .......... .......... .......... 71%  956K 1s
   850K .......... .......... .......... .......... .......... 76% 1.03M 1s
   900K .......... .......... .......... .......... .......... 80%  533K 1s
   950K .......... .......... .......... .......... .......... 84%  281K 0s
  1000K .......... .......... .......... .......... .......... 88% 1.00M 0s
  1050K .......... .......... .......... .......... .......... 93%  956K 0s
  1100K .......... .......... .......... .......... .......... 97% 1.04M 0s
  1150K .......... .......... ..........                      100%  177K=2.6s

2018-01-04 09:33:28 (458 KB/s) - '/Users/osboots/Gentoo/usr/portage/distfiles/libcxx-3.9.1.src.tar.xz' saved [1209020/1209020]

 * libcxx-3.9.1.src.tar.xz SHA256 SHA512 size ;-) ...                    [ ok ]
>>> Unpacking source...
>>> Unpacking libcxxabi-3.9.1.src.tar.xz to /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work
>>> Unpacking libcxx-3.9.1.src.tar.xz to /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work
>>> Source unpacked in /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work
>>> Preparing source in /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src ...
 * Applying libcxxabi-3.9.0-cmake-path.patch ...
 [ ok ]
 * Applying libcxxabi-3.9.0-test-unwind.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * cmake-utils_src_prepare has not been run, please open a bug on https://bugs.gentoo.org/
>>> Working in BUILD_DIR: "/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64"
cmake -C /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/Users/osboots/Gentoo/tmp/usr -DLLVM_LIBDIR_SUFFIX= -DLIBCXXABI_LIBDIR_SUFFIX= -DLIBCXXABI_ENABLE_SHARED=ON -DLIBCXXABI_ENABLE_STATIC=yes -DLIBCXXABI_USE_LLVM_UNWINDER=no -DLLVM_INCLUDE_TESTS=no -DLIBCXXABI_LIBCXX_INCLUDES=/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxx-3.9.1.src/include -DLIBCXXABI_LIBUNWIND_INCLUDES=/Users/osboots/Gentoo/tmp/usr/include -DLIBCXXABI_LIBUNWIND_SOURCES=/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/gentoo_toolchain.cmake -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=OFF /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src
loading initial cache file /Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is Clang 3.9.1
-- The CXX compiler identification is Clang 3.9.1
-- Check for working C compiler: /Users/osboots/Gentoo/tmp/usr/bin/clang
-- Check for working C compiler: /Users/osboots/Gentoo/tmp/usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Users/osboots/Gentoo/tmp/usr/bin/clang++
-- Check for working CXX compiler: /Users/osboots/Gentoo/tmp/usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM_CONFIG as /Users/osboots/Gentoo/tmp/usr/bin/llvm-config
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Failed
CMake Error at /Users/osboots/Gentoo/tmp/usr/lib/cmake/llvm/CheckCompilerVersion.cmake:38 (message):
  Host Clang must be able to find libstdc++4.7 or newer!
Call Stack (most recent call first):
  /Users/osboots/Gentoo/tmp/usr/lib/cmake/llvm/HandleLLVMOptions.cmake:9 (include)
  CMakeLists.txt:61 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
See also "/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64/CMakeFiles/CMakeError.log".
 * ERROR: sys-libs/libcxxabi-3.9.1::gentoo_prefix failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 4662:  Called cmake-multilib_src_configure
 *   environment, line  956:  Called multilib-minimal_src_configure
 *   environment, line 2964:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3178:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2825:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2823:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  531:  Called multilib-minimal_abi_src_configure
 *   environment, line 2958:  Called multilib_src_configure
 *   environment, line 3406:  Called cmake-utils_src_configure
 *   environment, line 1127:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/libcxxabi-3.9.1::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/libcxxabi-3.9.1::gentoo_prefix'`.
 * The complete build log is located at '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp/build.log'.
 * The ebuild environment file is located at '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp/environment'.
 * Working directory: '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64'
 * S: '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src'

>>> Failed to emerge sys-libs/libcxxabi-3.9.1, Log file:

>>>  '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp/build.log'

 * Messages for package sys-libs/libcxxabi-3.9.1:

 * ERROR: sys-libs/libcxxabi-3.9.1::gentoo_prefix failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 4662:  Called cmake-multilib_src_configure
 *   environment, line  956:  Called multilib-minimal_src_configure
 *   environment, line 2964:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3178:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2825:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2823:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  531:  Called multilib-minimal_abi_src_configure
 *   environment, line 2958:  Called multilib_src_configure
 *   environment, line 3406:  Called cmake-utils_src_configure
 *   environment, line 1127:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/libcxxabi-3.9.1::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/libcxxabi-3.9.1::gentoo_prefix'`.
 * The complete build log is located at '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp/build.log'.
 * The ebuild environment file is located at '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/temp/environment'.
 * Working directory: '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src-abi_x86_64.amd64'
 * S: '/Users/osboots/Gentoo/tmp/var/tmp/portage/sys-libs/libcxxabi-3.9.1/work/libcxxabi-3.9.1.src'
Comment 1 Fabian Groffen gentoo-dev 2018-01-04 16:03:15 UTC
it should've picked 5.0.1, I think you may have an old copy of bootstrap-prefix.sh, can you refetch it and retry, please?
Comment 2 Fabian Groffen gentoo-dev 2018-01-04 18:12:51 UTC
I just finished a successful bootstrap on High Sierra (64-bits).
Comment 3 Sébastien DIAZ 2018-01-05 08:34:50 UTC
With last commit stage2 finished successfully on my MBP High Sierra (64-bits).