Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761100 - dev-util/boost-build-1.74.0: 32bit builds fail on filesystem with 64bit inodes
Summary: dev-util/boost-build-1.74.0: 32bit builds fail on filesystem with 64bit inodes
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2020-12-21 16:56 UTC by Bruno
Modified: 2021-11-23 12:58 UTC (History)
1 user (show)

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 Bruno 2020-12-21 16:56:17 UTC
b2 cannot file /usr/share/boost-build/bootstrap.jam if it's located on a filesystem with 64bit inodes while userspace is 32bit.

Rebuilding boost-build with "-D_FILE_OFFSET_BITS=64" added to CFLAGS makes boost-build usable to emerge boost.

Reproducible: Always
Comment 1 Bruno 2020-12-21 17:03:20 UTC
>>> Emerging (1 of 1) dev-libs/boost-1.74.0-r1::gentoo
 * boost_1_74_0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking boost_1_74_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.74.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.74.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0 ...
 * Applying boost-1.71.0-disable_icu_rpath.patch ...                                                                                                                                                                                                                                                                    [ ok ]
 * Applying boost-1.71.0-context-x32.patch ...                                                                                                                                                                                                                                                                          [ ok ]
 * Applying boost-1.71.0-build-auto_index-tool.patch ...                                                                                                                                                                                                                                                                [ ok ]
 * Applying boost-1.73-boost-python-cleanup.patch ...                                                                                                                                                                                                                                                                   [ ok ]
 * Applying boost-1.73-boost-mpi-python-PEP-328.patch ...                                                                                                                                                                                                                                                               [ ok ]
 * Applying boost-1.73-property-tree-include.patch ...                                                                                                                                                                                                                                                                  [ ok ]
 * Will copy sources from /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0
 * abi_x86_32.x86: copying to /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0-abi_x86_32.x86
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
 * Creating configuration in /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0-abi_x86_32.x86/user-config.jam
 * Disabling support for NumPy extensions in Boost.Python

b2 --user-config=/var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0-abi_x86_32.x86/user-config.jam --without-python gentoorelease -j4 -q -d+2 pch=off --disable-icu boost.locale.icu=off --without-mpi --without-locale --without-context --without-coroutine --without-fiber --without-stacktrace --boost-build=/usr/share/boost-build --prefix=/var/tmp/portage/dev-libs/boost-1.74.0-r1/image/usr --layout=system --no-cmake-config threading=multi link=shared -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZLIB=0 -sNO_ZSTD=1
Unable to load B2: could not find build system.
-----------------------------------------------
/usr/share/boost-build/boost-build.jam attempted to load the build system by invoking

   'boost-build src/kernel ;'

but we were unable to find 'bootstrap.jam' in the specified directory or in BOOST_BUILD_PATH:
    /usr/share/boost-build/src/kernel
Please consult the documentation at 'https://boostorg.github.io/build/'.

Unable to load B2
-----------------
'/usr/share/boost-build/boost-build.jam' was found by searching from /var/tmp/portage/dev-libs/boost-1.74.0-r1/work/boost_1_74_0-abi_x86_32.x86 up to the root.

However, it failed to call the 'boost-build' rule to indicate the location of the build system.

Please consult the documentation at 'https://boostorg.github.io/build/'.





ls -l /usr/share/boost-build/boost-build.jam
-rw-r--r-- 1 root root 267 Dec 16 01:21 /usr/share/boost-build/boost-build.jam
Comment 2 Larry the Git Cow gentoo-dev 2020-12-28 17:55:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9e021f483478b02dfca0defc8df5e235a97364

commit bc9e021f483478b02dfca0defc8df5e235a97364
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-12-28 17:55:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 17:55:22 +0000

    dev-util/boost-build: Version bump to 1.75.0
    
    Bug: https://bugs.gentoo.org/761100
    Bug: https://bugs.gentoo.org/761328
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/boost-build/Manifest                  |  1 +
 dev-util/boost-build/boost-build-1.75.0.ebuild | 76 ++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
Comment 3 David Seifert gentoo-dev 2021-11-23 12:58:47 UTC
Long fixed