Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895256 - dev-db/mysql-8.0.32-r2 - /.../aligned_atomic.h: error: _SC_LEVEL1_DCACHE_LINESIZE was not declared in this scope
Summary: dev-db/mysql-8.0.32-r2 - /.../aligned_atomic.h: error: _SC_LEVEL1_DCACHE_LINE...
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: PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-18 13:41 UTC by Toralf Förster
Modified: 2023-10-14 08:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.36 KB, text/plain)
2023-02-18 13:41 UTC, Toralf Förster
Details
dev-db:mysql-8.0.32-r2:20230218-131059.log.bz2 (dev-db:mysql-8.0.32-r2:20230218-131059.log.bz2,11.61 KB, application/x-bzip)
2023-02-18 13:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,122.38 KB, text/plain)
2023-02-18 13:41 UTC, Toralf Förster
Details
environment (environment,162.42 KB, text/plain)
2023-02-18 13:41 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,694 bytes, application/x-bzip)
2023-02-18 13:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.25 KB, application/x-bzip)
2023-02-18 13:41 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,258.99 KB, application/x-bzip)
2023-02-18 13:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,47.54 KB, application/x-bzip)
2023-02-18 13:41 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 2023-02-18 13:41:38 UTC
too long lines were shrinked:

cd /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/sql/server_component && /usr/bin/x86_64-gentoo-linux-musl-g++ -DBOOST_NO_CXX98_FUNCTION_BASE -DHAVE_CONFIG_H -DHAVE_TLSv13 -DLZ4_DISABLE_DEPRECATE_WARNINGS -DMYSQL_SERVER -DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 
In file included from /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/binlog/group_commit/bgc_ticket.h:31,
                 from /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/rpl_context.h:31,
                 from /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/sql_class.h:96,
                 from /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/server_component/clone_protocol_service.cc:34:
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/memory/aligned_atomic.h: In function 'size_t memory::_cache_line_size()':
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/memory/aligned_atomic.h:81:23: error: '_SC_LEVEL1_DCACHE_LINESIZE' was not declared in this scope; did you mean 'CPU_LEVEL1_DCACHE_LINESIZE'?
   81 |   long size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20230217-172737

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit b6f6895303a77bb10a32a846732c41e3623b6edc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 18 11:02:03 2023 +0000

    2023-02-18 11:02:03 UTC

emerge -qpvO dev-db/mysql
[ebuild  N    ] dev-db/mysql-8.0.32-r2  USE="cjk perl server -cracklib -debug -jemalloc -latin1 -numa -profiling -router (-selinux) -tcmalloc -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-18 13:41:39 UTC
Created attachment 852636 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-18 13:41:40 UTC
Created attachment 852638 [details]
dev-db:mysql-8.0.32-r2:20230218-131059.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-18 13:41:41 UTC
Created attachment 852640 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-18 13:41:43 UTC
Created attachment 852642 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-18 13:41:43 UTC
Created attachment 852644 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-18 13:41:44 UTC
Created attachment 852646 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-18 13:41:46 UTC
Created attachment 852648 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-18 13:41:47 UTC
Created attachment 852650 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-10-14 08:34:20 UTC
The bug has been closed via the following commit(s):

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

commit dc244bfc220f48b2d7fb240e3b1517a47ba63d08
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-09-08 00:56:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-14 08:30:47 +0000

    dev-db/mysql: add 8.0.34
    
    Spent time getting tests to pass as well. I can verify that USE="cjk cracklib numa perl profiling router server"
    pass with gcc-13. I had some testing with other flags as well and didn't see issues other than
    USE="debug" with having failing tests last I checked.
    
    Opted out of fixing some stuff as they would fit better with 8.1 like removing and updating deprecated configurations.
    
    Closes: https://bugs.gentoo.org/895256
    Closes: https://bugs.gentoo.org/912797
    Closes: https://bugs.gentoo.org/905209
    Closes: https://bugs.gentoo.org/891369
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32749
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mysql/Manifest            |    2 +
 dev-db/mysql/mysql-8.0.34.ebuild | 1220 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 1222 insertions(+)