Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942898 - dev-libs/boost-1.87.0 fails to compile on alpha: libs/process/src/error.cpp:128:21: error: duplicate case value
Summary: dev-libs/boost-1.87.0 fails to compile on alpha: libs/process/src/error.cpp:1...
Status: CONFIRMED
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: 2024-12-30 15:02 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

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