Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829147 - dev-libs/boost-1.78.0-r2 - ./.../permissions.hpp: error: mode_t in namespace :: does not name a type
Summary: dev-libs/boost-1.78.0-r2 - ./.../permissions.hpp: error: mode_t in namespace ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
: 831370 (view as bug list)
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-14 10:02 UTC by Toralf Förster
Modified: 2022-02-03 04:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,13.82 KB, text/plain)
2021-12-14 10:02 UTC, Toralf Förster
Details
dev-libs:boost-1.78.0:20211213-203619.log (dev-libs:boost-1.78.0:20211213-203619.log,52.13 KB, text/plain)
2021-12-14 10:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.41 KB, text/plain)
2021-12-14 10:02 UTC, Toralf Förster
Details
environment (environment,129.54 KB, text/plain)
2021-12-14 10:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.54 KB, application/x-bzip)
2021-12-14 10:02 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,62.33 KB, application/x-bzip)
2021-12-14 10:02 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.91 KB, application/x-bzip)
2021-12-14 10:02 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-14 10:02:18 UTC
too long lines were shrinked:


    "x86_64-gentoo-linux-musl-g++"  -ftemplate-depth-1024 -fvisibility-inlines-hidden -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -fPIC -m64 -pthread -finline-functions -Wno-inline -Wall -fvisibility=hidden -fno-strict-aliasing -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHR

In file included from libs/log/src/permissions.cpp:18:
./boost/interprocess/permissions.hpp:73:14: error: 'mode_t' in namespace '::' does not name a type
   73 |    typedef ::mode_t    os_permissions_type;
      |              ^~~~~~
./boost/interprocess/permissions.hpp:75:4: error: 'os_permissions_type' does not name a type
   75 |    os_permissions_type  m_perm;

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211213-184654

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
php cli:

  HEAD of ::gentoo
commit 284481e60bf39fa19d98db82bb5dfd2a4d64966d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 13 20:06:54 2021 +0000

    2021-12-13 20:06:52 UTC

emerge -qpvO dev-libs/boost
[ebuild  N    ] dev-libs/boost-1.78.0  USE="bzip2 nls zlib -context -debug -doc -icu -lzma -mpi -numpy -python -tools -zstd" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-14 10:02:19 UTC
Created attachment 758851 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-14 10:02:21 UTC
Created attachment 758852 [details]
dev-libs:boost-1.78.0:20211213-203619.log
Comment 3 Toralf Förster gentoo-dev 2021-12-14 10:02:22 UTC
Created attachment 758853 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-14 10:02:24 UTC
Created attachment 758854 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-14 10:02:25 UTC
Created attachment 758855 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-14 10:02:26 UTC
Created attachment 758856 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-14 10:02:28 UTC
Created attachment 758857 [details]
temp.tar.bz2
Comment 8 12101111 2021-12-15 09:34:37 UTC
Patch for this error: https://github.com/boostorg/interprocess/pull/162
Comment 9 Agostino Sarubbo gentoo-dev 2021-12-30 06:56:52 UTC
tinderbox_musl has reproduced this issue with version 1.78.0-r2 - Updating summary.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-18 04:59:47 UTC
*** Bug 831370 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2022-02-03 04:25:19 UTC
The bug has been closed via the following commit(s):

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

commit 3414b1d35d6862ed5a5ad5251a60bc18b2e2be71
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-03 04:24:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-03 04:24:47 +0000

    dev-libs/boost: fix musl build for 1.78
    
    Closes: https://bugs.gentoo.org/829147
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild              |  2 ++
 .../boost-1.78.0-interprocess-musl-include.patch   | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)