Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777894 - net-dns/avahi[introspection]: error while loading shared libraries: libavahi-common.so.3 with slibtool
Summary: net-dns/avahi[introspection]: error while loading shared libraries: libavahi-...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-23 16:49 UTC by orbea
Modified: 2021-04-06 13:17 UTC (History)
1 user (show)

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


Attachments
Build log. (build.log,243.28 KB, text/plain)
2021-03-23 16:49 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2021-03-23 16:49:33 UTC
Created attachment 693258 [details]
Build log.

When building avahi with slibtool and USE=introspection the build fails, I am not sure if this is a gobject-instrospection, slibtool or avahi bug. I was also able to reproduce this with the avahi github repo using:

  ./configure --enable-introspection=yes

rdlibtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/Avahi-0.6 -export-dynamic -O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing /var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/Avahi-0.6.o -L. libavahi-gobject.la -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed

rdlibtool: lconf: {.name="libtool"}.
rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 2715028}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT].
rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3.
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 65026, .st_ino = 135442775}.
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4.
rdlibtool: lconf: found "/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/libtool".
rdlibtool: link: x86_64-pc-linux-gnu-gcc /var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/Avahi-0.6.o -O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing -L./.libs -L.libs -lavahi-gobject -L./../avahi-common/.libs -lavahi-common -L./../avahi-client/.libs -lavahi-client -ldbus-1 -L./../avahi-client/../avahi-common/.libs -lavahi-common -ldl -L./../avahi-glib/.libs -lavahi-glib -L./../avahi-glib/../avahi-common/.libs -lavahi-common -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-O1 -Wl,--as-needed -o /var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/.libs/Avahi-0.6 -Wl,--export-dynamic
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libcryptsetup.so.12: warning: EVP_EncryptFinal is often misused, please use EVP_EncryptFinal_ex and EVP_CIPHER_CTX_cleanup
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libcryptsetup.so.12: warning: EVP_DecryptFinal is often misused, please use EVP_DecryptFinal_ex and EVP_CIPHER_CTX_cleanup
rdlibtool: link: ln -s Avahi-0.6 /var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/Avahi-0.6.exe.wrapper
/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/.libs/Avahi-0.6: error while loading shared libraries: libavahi-common.so.3: cannot open shared object file: No such file or directory
Command '['/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/Avahi-0.6', '--introspect-dump=/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/functions.txt,/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject/tmp-introspectn9qzysf2/dump.xml']' returned non-zero exit status 127.
make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Avahi-0.6.gir] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject'
make[2]: *** [Makefile:604: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64/avahi-gobject'
make[1]: *** [Makefile:825: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.8-r2/work/avahi-0.8-abi_x86_64.amd64'
make: *** [Makefile:735: all] Error 2
Comment 1 orbea 2021-03-30 18:30:38 UTC Comment hidden (obsolete)
Comment 2 orbea 2021-03-30 18:31:26 UTC
Ignore my comment, wrong issue.
Comment 4 orbea 2021-04-06 13:17:43 UTC
Fixed in slibtool-0.5.33.