Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942898 - dev-libs/boost-1.87.0-r1 fails to compile on alpha: libs/process/src/error.cpp:128:21: error: duplicate case value
Summary: dev-libs/boost-1.87.0-r1 fails to compile on alpha: libs/process/src/error.cp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard:
Keywords: PATCH, REGRESSION
Depends on:
Blocks: boost-1.86 boost-1.87
  Show dependency tree
 
Reported: 2024-11-05 05:31 UTC by matoro
Modified: 2025-04-27 14:27 UTC (History)
3 users (show)

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


Attachments
build.log and emerge --info (file_942898.txt,407.27 KB, text/plain)
2024-11-05 05:31 UTC, matoro
Details
build.log and emerge --info (file_942898.txt,905.80 KB, text/plain)
2024-12-30 15:02 UTC, matoro
Details
build.log and emerge --info (file_942898.txt,916.21 KB, text/plain)
2025-04-06 20:14 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-11-05 05:31:49 UTC
Created attachment 907901 [details]
build.log and emerge --info

Regression from dev-libs/boost-1.85.0-r1, which still compiles fine.

gcc.compile.c++ bin.v2/libs/process/build/gcc-14.2/gentoorelease/pch-off/threading-multi/visibility-hidden/error.o

    "alpha-unknown-linux-gnu-g++"   -fvisibility-inlines-hidden  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mieee -pipe -O2 -mcpu=ev4 -std=c++17 -fPIC -pthread -finline-functions -Wno-inline -Wall -fvisibility=hidden  -DBOOST_ALL_NO_LIB=1 -DBOOST_ASIO_NO_DEPRECATED -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_PROCESS_DYN_LINK=1 -DBOOST_PROCESS_SOURCE=1 -DNDEBUG   -I"."  -c -o "bin.v2/libs/process/build/gcc-14.2/gentoorelease/pch-off/threading-multi/visibility-hidden/error.o" "libs/process/src/error.cpp"

libs/process/src/error.cpp: In member function ‘virtual std::string boost::process::v2::error::detail::exit_code_category::message(int) const’:
libs/process/src/error.cpp:128:21: error: duplicate case value
  128 |                     case SIGPWR: return "SIGPWR:    Power failure (System V)";
      |                     ^~~~
libs/process/src/error.cpp:104:21: note: previously used here
  104 |                     case SIGINFO: return "SIGINFO:   A synonym for SIGPWR";
      |                     ^~~~

...failed updating 0 target...
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-05 05:53:10 UTC
Does https://github.com/boostorg/process/pull/418 help?
Comment 2 matoro archtester 2024-11-05 19:46:24 UTC
(In reply to Sam James from comment #1)
> Does https://github.com/boostorg/process/pull/418 help?

No, this patch does not help.
Comment 3 matoro archtester 2024-12-30 15:02:12 UTC
Created attachment 915531 [details]
build.log and emerge --info

Still an issue with 1.87.0
Comment 4 matoro archtester 2025-04-06 20:14:10 UTC
Created attachment 923654 [details]
build.log and emerge --info

Still an issue with 1.87.0-r1
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-07 03:12:04 UTC
Reported upstream at https://github.com/boostorg/process/issues/474.
Comment 7 Larry the Git Cow gentoo-dev 2025-04-27 14:27:45 UTC
The bug has been closed via the following commit(s):

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

commit 2f5b19682b6cafca68d260fc27724164745ce19f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-27 14:26:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-27 14:26:32 +0000

    dev-libs/boost: fix build on alpha
    
    No revbump as it shows up when building and isn't an installed file anyway
    (so can't affect other platforms, though it should be fine there anyway).
    
    Closes: https://bugs.gentoo.org/942898
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/boost/boost-1.87.0-r3.ebuild              |  1 +
 dev-libs/boost/boost-1.88.0.ebuild                 |  1 +
 .../files/boost-1.87.0-process-error-alpha.patch   | 28 ++++++++++++++++++++++
 3 files changed, 30 insertions(+)