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
Created attachment 918307 [details] build.log
Created attachment 918308 [details] emerge --info '=media-gfx/graphviz-12.2.1-r1::gentoo'
*** This bug has been marked as a duplicate of bug 906214 ***