Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 01:31:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 249974] security/seahorse: link failure on 11.x (old ld(1))
Message-ID:  <bug-249974-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249974

            Bug ID: 249974
           Summary: security/seahorse: link failure on 11.x (old ld(1))
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

seahorse fails to link on 11.x with the old default ld(1).


[151/151] cc  -o src/seahorse
src/seahorse.p/meson-generated_.._.._data_seahorse-resources.c.o
src/seahorse.p/meson-generated_.._seahorse-shell-search-provider-generated.=
c.o
src/seahorse.p/meson-generated_application.c.o
src/seahorse.p/meson-generated_import-dialog.c.o
src/seahorse.p/meson-generated_key-manager.c.o
src/seahorse.p/meson-generated_key-manager-item-row.c.o
src/seahorse.p/meson-generated_main.c.o
src/seahorse.p/meson-generated_search-provider.c.o
src/seahorse.p/meson-generated_sidebar.c.o -L/usr/local/lib -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -O2 -pipe -fstack-protector-strong -DLDAP_DEPREC=
ATED
-isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong
-Wl,--start-group libegg/liblibeggdatetime.a libegg/liblibtreemultidnd.a
common/libcommon.a libseahorse/liblibseahorse.a gkr/libseahorse-gkr.a
ssh/libseahorse-ssh.a pgp/libseahorse-pgp.a pkcs11/libseahorse-pkcs11.a
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgio-2.0.so
-Wl,--export-dynamic /usr/local/lib/libgmodule-2.0.so -pthread
/usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so
/usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so
/usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so
/usr/local/lib/libcairo.so -lpthread /usr/local/lib/libgdk_pixbuf-2.0.so
/usr/local/lib/libhandy-0.0.so /usr/local/lib/libsecret-1.so
/usr/local/lib/libgcr-ui-3.so /usr/local/lib/libgcr-base-3.so
/usr/local/lib/libgck-1.so /usr/local/lib/libp11-kit.so
/usr/local/lib/libpwquality.so /usr/local/lib/libgpgme.so
/usr/local/lib/libassuan.so /usr/local/lib/libgpg-error.so -lldap -llber
/usr/local/lib/libsoup-2.4.so /usr/local/lib/libavahi-common.so
/usr/local/lib/libavahi-client.so /usr/local/lib/libavahi-glib.so
-Wl,--end-group
FAILED: src/seahorse=20
cc  -o src/seahorse
src/seahorse.p/meson-generated_.._.._data_seahorse-resources.c.o
src/seahorse.p/meson-generated_.._seahorse-shell-search-provider-generated.=
c.o
src/seahorse.p/meson-generated_application.c.o
src/seahorse.p/meson-generated_import-dialog.c.o
src/seahorse.p/meson-generated_key-manager.c.o
src/seahorse.p/meson-generated_key-manager-item-row.c.o
src/seahorse.p/meson-generated_main.c.o
src/seahorse.p/meson-generated_search-provider.c.o
src/seahorse.p/meson-generated_sidebar.c.o -L/usr/local/lib -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -O2 -pipe -fstack-protector-strong -DLDAP_DEPREC=
ATED
-isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong
-Wl,--start-group libegg/liblibeggdatetime.a libegg/liblibtreemultidnd.a
common/libcommon.a libseahorse/liblibseahorse.a gkr/libseahorse-gkr.a
ssh/libseahorse-ssh.a pgp/libseahorse-pgp.a pkcs11/libseahorse-pkcs11.a
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgio-2.0.so
-Wl,--export-dynamic /usr/local/lib/libgmodule-2.0.so -pthread
/usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so
/usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so
/usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so
/usr/local/lib/libcairo.so -lpthread /usr/local/lib/libgdk_pixbuf-2.0.so
/usr/local/lib/libhandy-0.0.so /usr/local/lib/libsecret-1.so
/usr/local/lib/libgcr-ui-3.so /usr/local/lib/libgcr-base-3.so
/usr/local/lib/libgck-1.so /usr/local/lib/libp11-kit.so
/usr/local/lib/libpwquality.so /usr/local/lib/libgpgme.so
/usr/local/lib/libassuan.so /usr/local/lib/libgpg-error.so -lldap -llber
/usr/local/lib/libsoup-2.4.so /usr/local/lib/libavahi-common.so
/usr/local/lib/libavahi-client.so /usr/local/lib/libavahi-glib.so
-Wl,--end-group
/usr/bin/ld: undefined reference to symbol `atk_relation_new' (try adding
-latk-1.0)
/usr/local/lib/libatk-1.0.so: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
+ [ -n 'Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the
failure to the maintainer.' ]
+ echo '=3D=3D=3D> Compilation failed unexpectedly.'
=3D=3D=3D> Compilation failed unexpectedly.


The problem has to do with the old ld(1) implementation of --start-group and
--end-group.  If you put just the .a libs between --start-group and
--end-group, it works with the old ld(1).  If you include .so's (which does=
n't
make much sense really for what --start-group and --end-group are there for=
),
then the old ld(1) gets confused somehow and can't find symbols sometimes.=
=20
This could be considered a meson bug since it brackets too much between
--start-group and --end-group.  I'm seeing this on other ports, too (e.g., =
bug
249418).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249974-6497>