Created attachment 331820 [details] The build log libtool: link: x86_64-pc-linux-gnu-gcc -O2 -D_GNU_SOURCE -march=core2 -O2 -pipe -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o .libs/freewrl main.o options.o internal_version.o ../../src/lib/.libs/libFreeWRL.so -lz -lpthread -lfreetype -lfontconfig -lmozjs185 -lplds4 -lplc4 -lnspr4 -lxml2 -lGLU -lGL -lXext -ljpeg -lpng15 -lcurl -lImlib2 -lSM -lICE -lXxf86vm -lXmu -lXaw7 -lXt -lX11 -lGLEW ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'pow' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'sqrt' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'sincos' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'floor' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'sincosf' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'atan2' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'acos' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'sin' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'sqrtf' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'fmod' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'exp' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'atan' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'acosf' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'cos' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'tan' ../../src/lib/.libs/libFreeWRL.so: error: undefined reference to 'asin' collect2: error: ld returned 1 exit status Looks like missing '-lm' to me.
Created attachment 331822 [details, diff] The proper fix This one fixes the issue in its root. However, it requires eautoreconf.
Created attachment 331824 [details, diff] Complete ebuild patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3431f768e812182324d853402f51ef055ca0c8 commit 9f3431f768e812182324d853402f51ef055ca0c8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-05-01 17:39:45 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-05-01 21:21:52 +0000 profiles: Mask media-gfx/freewrl for removal Bug: https://bugs.gentoo.org/446508 Bug: https://bugs.gentoo.org/678776 Bug: https://bugs.gentoo.org/682600 Bug: https://bugs.gentoo.org/787407 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1646ada2285f277f83042ea17a45a336f7e64172 commit 1646ada2285f277f83042ea17a45a336f7e64172 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-05-30 22:00:04 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-05-30 22:00:04 +0000 media-gfx/freewrl: Remove last-rited package Bug: https://bugs.gentoo.org/446508 Bug: https://bugs.gentoo.org/678776 Bug: https://bugs.gentoo.org/682600 Bug: https://bugs.gentoo.org/787407 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/freewrl/Manifest | 1 - .../freewrl/files/freewrl-3.0.0-fno-common.patch | 11 -- media-gfx/freewrl/freewrl-3.0.0-r1.ebuild | 143 -------------------- media-gfx/freewrl/freewrl-9999.ebuild | 144 --------------------- media-gfx/freewrl/metadata.xml | 23 ---- profiles/package.mask | 6 - 6 files changed, 328 deletions(-)