Date: Tue, 31 Aug 2021 13:34:21 -0700 From: Mark Millard via freebsd-ports <freebsd-ports@freebsd.org> To: bob prohaska <fbsd@www.zefox.net>, freebsd-ports@freebsd.org Subject: Re: Mixed signals for graphics/librsvg2-rust on RPi4 Message-ID: <D065D7D4-9A1E-46F6-B5F8-EC8943450FC4@yahoo.com> References: <D065D7D4-9A1E-46F6-B5F8-EC8943450FC4.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: bob prohaska <fbsd_at_www.zefox.net> wrote on Date: Tue, 31 Aug 2021 12:04:35 -0700 : > A recent attempt to compile gimp under poudriere stopped, reporting=20 > a failure to build graphics/librsvg2-rust. The offending directory=20 > was deleted then restored using git restore graphics/librsvg2-rust=20 > and the build of gimp attempted again. >=20 > The build ended with status done, but graphics/librsvg2-rust is still > reported as failed. The log ends with >=20 > libtool: link: cc -o = /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3/tmp-introspe= ctavpjcero/.libs/Rsvg-2.0 -I/usr/local/include -O2 -pipe = -fstack-protector-strong -fno-strict-aliasing = /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3/tmp-introspe= ctavpjcero/Rsvg-2.0.o -Wl,--export-dynamic -pthread = -fstack-protector-strong -Wl,--export-dynamic -L. ./.libs/librsvg-2.so = -L/usr/local/lib -lgmodule-2.0 -lpng16 -lz -lcairo-gobject = -lgdk_pixbuf-2.0 -lgio-2.0 -lxml2 -lpangocairo-1.0 -lcairo -lpthread = -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz = -lfontconfig -lfreetype -lm -pthread -Wl,-rpath -Wl,/usr/local/lib > ld: error: ./.libs/librsvg-2.so: undefined reference to getauxval = [--no-allow-shlib-undefined] The message above means that ./.libs/librsvg-2.so contains a reference to (uses) getauxval but does not define getauxval --and no other source of definitions in the link supplied the definition either. getauxval is from linux, not FreeBSD. So the message seems to indicate an incomplete port that has not dealt with that issue (at least for aarch64). > cc: error: linker command failed with exit code 1 (use -v to see = invocation) > linking of temporary binary failed: Command '['/bin/sh', './libtool', = '--mode=3Dlink', '--tag=3DCC', 'cc', '-o', = '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3/tmp-introsp= ectavpjcero/Rsvg-2.0', '-export-dynamic', '-I/usr/local/include', '-O2', = '-pipe', '-fstack-protector-strong', '-fno-strict-aliasing', = '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3/tmp-introsp= ectavpjcero/Rsvg-2.0.o', '-L.', 'librsvg-2.la', '-L/usr/local/lib', = '-lgio-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', = '-lglib-2.0', '-lpango-1.0', '-lgobject-2.0', '-lglib-2.0', '-lintl', = '-lharfbuzz', '-lxml2', '-fstack-protector-strong']' returned non-zero = exit status 1. > gmake[3]: *** = [/usr/local/share/gobject-introspection-1.0/Makefile.introspection:156: = Rsvg-2.0.gir] Error 1 > gmake[3]: Leaving directory = '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3' > gmake[2]: *** [Makefile:1274: all-recursive] Error 1 > gmake[2]: Leaving directory = '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3' > gmake[1]: *** [Makefile:825: all] Error 2 > gmake[1]: Leaving directory = '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.50.3' > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to > the maintainer. > *** Error code 1 >=20 > Any hints what might be wrong? I'm especially perplexed by the = seemingly > successful "done" status combined with the failed dependency. The = complete > log is at >=20 > http://www.zefox.net/~fbsd/rpi4/librsvg2-rust-2.50.3_5.log =20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D065D7D4-9A1E-46F6-B5F8-EC8943450FC4>