Summary: | app-text/ghostscript-gpl-10.04.0 - [ncurses-6.5] [meson] [libtool] [gcc-15] ./.../stdpre.h: error: two or more data types in declaration specifiers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Codec Project <codec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cyrilmaley, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.ghostscript.com/show_bug.cgi?id=708160 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: |
emerge-info.txt
app-text:ghostscript-gpl-10.04.0:20241118-205312.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 909617 [details]
emerge-info.txt
Created attachment 909618 [details]
app-text:ghostscript-gpl-10.04.0:20241118-205312.log
Created attachment 909619 [details]
emerge-history.txt
Created attachment 909620 [details]
environment
Created attachment 909621 [details]
etc.clang.tar.xz
Created attachment 909622 [details]
etc.portage.tar.xz
Created attachment 909623 [details]
logs.tar.xz
Created attachment 909624 [details]
qlist-info.txt
Created attachment 909625 [details]
temp.tar.xz
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de829b7a5819e93bb69eb0894e519b3bfebfd676 commit de829b7a5819e93bb69eb0894e519b3bfebfd676 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-26 06:48:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-26 06:48:15 +0000 app-text/ghostscript-gpl: build w/ -std=gnu17 Indeed, this and a few others really do need to be reported upstream, but I'd like to unblock tinderbox testing given these and the other packages I've touched today or so have so many reverse dependencies and it blocks further builds. Closes: https://bugs.gentoo.org/943857 Signed-off-by: Sam James <sam@gentoo.org> app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) FYI This fix causes a build failure with clang-19 : mkdir ./soobj/tesseract ./soobj/aux/echogs -w ./soobj/tesseract/version.h -x 23 define TESSERACT_VERSION_STR -x 2022 5.0.0-beta-gs -x 22 clang++ -Itesseract/include -Itesseract/src/api -Itesseract/src/arch -Itesseract/src/ccmain -Itesseract/src/ccstruct -Itesseract/src/ccutil -Itesseract/src/classify -Itesseract/src/cutil -Itesseract/src/dict -Itesseract/src/lstm -Itesseract/src/opencl -Itesseract/src/textord -Itesseract/src/training -Itesseract/src/viewer -Itesseract/src/wordrec -Ileptonica/src -I./base -I./soobj -march=nocona -mtune=native -O2 -pipe -std=c++17 -DHAVE_SSE4_1 -DHAVE_AVX -DHAVE_AVX2 -DHAVE_FMA -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_FSEEKO -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -DHAVE_STRERROR -DHAVE_ISNAN -DHAVE_ISINF -DHAVE_PREAD_PWRITE=1 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2 -DNDEBUG -fPIC -fvisibility=hidden -DGSDLLEXPORT="__attribute__((visibility(\"default\")))" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF -DBUILD_PDF=1 -I./pdf -march=nocona -mtune=native -O2 -pipe -std=gnu17 -DHAVE_RESTRICT=1 -DUSE_LIBPAPER -I/usr/include/webp -fno-strict-aliasing -DHAVE_POPEN_PROTO=1 -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED -UCLUSTER -DOCR_SHARED=0 -DLEPTONICA_INTERCEPT_ALLOC=1 -I./soobj/ -o ./soobj/tessocr.o -c -DTESSDATA="/usr/share/tessdata" ./base/tessocr.cpp error: invalid argument '-std=gnu17' not allowed with 'C++' |