Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827958 - media-gfx/inkscape-1.1[spell] - multiple undefined references to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
Summary: media-gfx/inkscape-1.1[spell] - multiple undefined references to `double_conv...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-01 23:38 UTC by ernsteiswuerfel
Modified: 2022-10-20 14:27 UTC (History)
2 users (show)

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


Attachments
build.log.xz (inkscape-1.1:20211201-224214.log.xz,33.43 KB, application/x-xz)
2021-12-01 23:38 UTC, ernsteiswuerfel
Details
emerge --info (file_827958.txt,5.69 KB, text/plain)
2021-12-01 23:39 UTC, ernsteiswuerfel
Details
build.log.xz (ppc, 1.2.1) (inkscape-1.2.1-r2:20221020-110701.log.xz,53.97 KB, application/x-xz)
2022-10-20 14:27 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-12-01 23:38:59 UTC
Created attachment 757154 [details]
build.log.xz

[...]
[1007/1008] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -Os -mcpu=7450 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkscape.dir/inkscape-main.cpp.o -o bin/inkscape  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
FAILED: bin/inkscape 
: && /usr/bin/powerpc-unknown-linux-gnu-g++ -Os -mcpu=7450 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkscape.dir/inkscape-main.cpp.o -o bin/inkscape  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_shortest[abi:cxx11](double)':
(.text+0x114): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_nice[abi:cxx11](double)':
(.text+0x304): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::parse_coord(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
(.text+0x4b4): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
collect2: error: ld returned 1 exit status
[1008/1008] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -Os -mcpu=7450 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkview.dir/inkview-main.cpp.o -o bin/inkview  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
FAILED: bin/inkview 
: && /usr/bin/powerpc-unknown-linux-gnu-g++ -Os -mcpu=7450 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkview.dir/inkview-main.cpp.o -o bin/inkview  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_shortest[abi:cxx11](double)':
(.text+0x114): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_nice[abi:cxx11](double)':
(.text+0x304): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::parse_coord(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
(.text+0x4b4): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Comment 1 ernsteiswuerfel archtester 2021-12-01 23:39:37 UTC
Created attachment 757155 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-02 00:41:55 UTC
Does it fail with -O2 instead of -Os?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-02 00:43:38 UTC
Wonder if https://gitlab.com/inkscape/inkscape/-/commit/f1575c62ac0b2114d13cd67f708745a83e36226a would make any difference.
Comment 4 ernsteiswuerfel archtester 2021-12-02 11:36:46 UTC
(In reply to Sam James from comment #3)
> Wonder if
> https://gitlab.com/inkscape/inkscape/-/commit/
> f1575c62ac0b2114d13cd67f708745a83e36226a would make any difference.
This patch does not apply on 1.1. I had a look on this: It need 2 earliear patches https://gitlab.com/inkscape/inkscape/-/commit/de3c65329930a6502345ed0aaf07bc155eda063e and https://gitlab.com/inkscape/inkscape/-/commit/b1c5d62fbf0cb3dca3f41231958566826e2d794b which pull in a lot of code and need other patches throughout the source themselves.

I think it's probably better to wait for a new release in that case.

Building only fails with USE=spell and is ok otherwise. As this is a vector graphics drawing package I don't think USE=spell is critical.
Comment 5 ernsteiswuerfel archtester 2021-12-02 11:41:28 UTC
(In reply to Sam James from comment #2)
> Does it fail with -O2 instead of -Os?
It does.

[869/1008] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkview.dir/inkview-main.cpp.o -o bin/inkview  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
FAILED: bin/inkview 
: && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format -Werror=format-security -Wno-switch -Wstrict-null-sentinel -pthread -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu   -rdynamic src/CMakeFiles/inkview.dir/inkview-main.cpp.o -o bin/inkview  -Wl,-rpath,:::::::::::::::::::::::  lib/libinkscape_base.a  lib/libnrtype_LIB.a  lib/libinkscape_base.a  lib/libnrtype_LIB.a  /usr/lib/libboost_filesystem.so.1.77.0  /usr/lib/libboost_atomic.so.1.77.0  lib/libcroco_LIB.a  lib/libavoid_LIB.a  lib/libcola_LIB.a  lib/libvpsc_LIB.a  lib/liblivarot_LIB.a  lib/libuemf_LIB.a  lib/libdepixelize_LIB.a  lib/libautotrace_LIB.a  lib/libutil_LIB.a  lib/libgc_LIB.a  -Wl,-Bstatic  -l2geom  -Wl,-Bdynamic  -latomic  -lpangocairo-1.0  -lcairo  -lpangoft2-1.0  -lpango-1.0  -lharfbuzz  -lfontconfig  -lfreetype  -lgsl  -lgslcblas  -lm  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lsoup-2.4  -lgio-2.0  -lgobject-2.0  -latomic_ops  -lgc  -llcms2  -lc  -lpoppler  -lpoppler-glib  -lcairo  -ljpeg  -lpng  -lpotrace  -ldbus-glib-1  -ldbus-1  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4  -lpangomm-1.4  -lglibmm-2.4  -lcairomm-1.0  -lsigc-2.0  -lgtk-3  -latk-1.0  -lgio-2.0  -lgdk-3  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -lgdk_pixbuf-2.0  -lcairo-gobject  -lcairo  -lgobject-2.0  -lglib-2.0  -lgspell-1  -lgtk-3  -lgdk-3  -latk-1.0  -lcairo-gobject  -lgdk_pixbuf-2.0  -lenchant-2  -lxslt  -lxml2  -lz  -lreadline  -lsigc-2.0  -lSM  -lICE  -lX11  -lXext && :
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_shortest[abi:cxx11](double)':
(.text+0x114): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::format_coord_nice[abi:cxx11](double)':
(.text+0x304): undefined reference to `double_conversion::DoubleToStringConverter::ToShortestIeeeNumber(double, double_conversion::StringBuilder*, double_conversion::DoubleToStringConverter::DtoaMode) const'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../lib/lib2geom.a(coord.cpp.o): in function `Geom::parse_coord(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
(.text+0x4b4): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: media-gfx/inkscape-1.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
Comment 6 ernsteiswuerfel archtester 2022-10-20 14:27:29 UTC
Created attachment 824857 [details]
build.log.xz (ppc, 1.2.1)

inksape-1.2.1 and 1.1.2 build fine with +spell.

Closing.