Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949393 - media-gfx/graphviz-12.2.1-r1: fails to build: libxdot.so.4, needed by ../../lib/gvc/.libs/libgvc.so, not found
Summary: media-gfx/graphviz-12.2.1-r1: fails to build: libxdot.so.4, needed by ../../l...
Status: RESOLVED DUPLICATE of bug 906214
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-07 13:40 UTC by Benjamin Block
Modified: 2025-02-07 21:22 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,970.98 KB, text/plain)
2025-02-07 13:41 UTC, Benjamin Block
Details
emerge --info '=media-gfx/graphviz-12.2.1-r1::gentoo' (file_949393.txt,6.51 KB, text/plain)
2025-02-07 13:43 UTC, Benjamin Block
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Block 2025-02-07 13:40:27 UTC
When emerging media-gfx/graphviz it inevitably fails because during linking of the `dot` executable it doesn't find certain libraries that are also part of the same build - part of graphviz.

This is likely related to prefix, but I don't know why.

Here is the last steps before failure:

make[3]: Entering directory '/home/share/gentoo/var/tmp/portage/media-gfx/graphviz-12.2.1-r1/work/graphviz-12.2.1/cmd/dot'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../lib -I../../lib/common -I../../lib/gvc -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DDEMAND_LOADING=1   -O2 -pipe -O3 -pipe -march=tigerlake -mtune=tigerlake -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wtrampolines -Wlogical-op -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -c -o dot-dot.o `test -f 'dot.c' || echo './'`dot.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../lib -I../../lib/common -I../../lib/gvc -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DDEMAND_LOADING=1   -O2 -pipe -O3 -pipe -march=tigerlake -mtune=tigerlake -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wtrampolines -Wlogical-op -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -c -o dot-no_builtins.o `test -f 'no_builtins.c' || echo './'`no_builtins.c
/home/share/gentoo/bin/bash ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -O3 -pipe -march=tigerlake -mtune=tigerlake -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wtrampolines -Wlogical-op -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall  -Wl,-O1 -Wl,--as-needed -o dot dot-dot.o dot-no_builtins.o ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -O3 -pipe -march=tigerlake -mtune=tigerlake -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wtrampolines -Wlogical-op -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -Wl,-O1 -o .libs/dot dot-dot.o dot-no_builtins.o  -Wl,--as-needed ../../lib/gvc/.libs/libgvc.so ../../lib/cgraph/.libs/libcgraph.so -Wl,-rpath -Wl,/home/share/gentoo/usr/lib64
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libxdot.so.4, needed by ../../lib/gvc/.libs/libgvc.so, not found (try using -rpath or -rpath-link)
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpathplan.so.4, needed by ../../lib/gvc/.libs/libgvc.so, not found (try using -rpath or -rpath-link)
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libcdt.so.5, needed by ../../lib/gvc/.libs/libgvc.so, not found (try using -rpath or -rpath-link)
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `dtflatten'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/cgraph/.libs/libcgraph.so: undefined reference to `dtrestore'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/cgraph/.libs/libcgraph.so: undefined reference to `dtextract'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/cgraph/.libs/libcgraph.so: undefined reference to `dtdisc'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `dtclose'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `Dttree'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `freePath'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/cgraph/.libs/libcgraph.so: undefined reference to `dtview'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `Dtobag'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `make_polyline'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `Pshortestpath'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `parseXDotF'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `freeXDot'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `Proutespline'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `Dtoset'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `dtsize'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/cgraph/.libs/libcgraph.so: undefined reference to `dtrenew'
/home/share/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/gvc/.libs/libgvc.so: undefined reference to `dtopen'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:757: dot] Error 1
make[3]: Leaving directory '/home/share/gentoo/var/tmp/portage/media-gfx/graphviz-12.2.1-r1/work/graphviz-12.2.1/cmd/dot'
make[2]: *** [Makefile:536: all-recursive] Error 1
make[2]: Leaving directory '/home/share/gentoo/var/tmp/portage/media-gfx/graphviz-12.2.1-r1/work/graphviz-12.2.1/cmd'
make[1]: *** [Makefile:751: all-recursive] Error 1
make[1]: Leaving directory '/home/share/gentoo/var/tmp/portage/media-gfx/graphviz-12.2.1-r1/work/graphviz-12.2.1'
make: *** [Makefile:582: all] Error 2

Reproducible: Always
Comment 1 Benjamin Block 2025-02-07 13:41:46 UTC
Created attachment 918307 [details]
build.log
Comment 2 Benjamin Block 2025-02-07 13:43:56 UTC
Created attachment 918308 [details]
emerge --info '=media-gfx/graphviz-12.2.1-r1::gentoo'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-07 21:22:56 UTC
*** This bug has been marked as a duplicate of bug 906214 ***