[Pkg-rust-maintainers] Bug#1013273: Bug#1013273: linking problems on ppc64el

Sylvestre Ledru sylvestre at debian.org
Mon Jun 20 15:15:47 BST 2022


I think this is a problem with squeekboard, not rustc?

Thanks
Sylvestre

Le 20/06/2022 à 15:15, Frédéric Bonnard a écrit :
> Package: src:rustc
> Version: 1.59.0+dfsg1-1
> 
> --
> 
> Dear maintainer,
> squeekboard 1.18.0-1 package does not build on ppc64el, due to unknown symbols at
> link time :
> https://buildd.debian.org/status/fetch.php?pkg=squeekboard&arch=ppc64el&ver=1.18.0-1&stamp=1654176130&raw=0
> 
> ---
> error: linking with `cc` failed: exit status: 1
>    |
>    = note: "cc" "-m64" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.0.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.1.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.10.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.11.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.12.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.13.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.14.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.15.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.2.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.3.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.4.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.5.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.6.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.7.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.8.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.test_layout.5e362dd1-cgu.9.rcgu.o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c.1za2zgv28ktto65n.rcgu.o" "-Wl,--as-needed" "-L" "/<<PKGBUILDDIR>>/_build/debug/deps" "-L" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/<<PKGBUILDDIR>>/_build/debug/deps/librs-5d86b83039a84e4a.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libserde_yaml-182dcbb15eccd1ba.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libryu-7d6712dc88b0b711.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libyaml_rust-e76b2bd4d479ec56.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/liblinked_hash_map-09b08e6076b66a8e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libzbus-25a4189db214a4dc.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures-9ee459e9cf24e2b6.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libscoped_tls-e59bab24ec7035fb.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libnix-c5f7f77c0593be65.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libnb_connect-44b9e0fa6198e155.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libasync_io-c34c4abd1906ee98.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libpolling-07e2bc397cc98c19.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/liblog-dbee90f3836af202.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libcfg_if-9e32ba18a1817034.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libcfg_if-fb419582bef37c5a.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libconcurrent_queue-a94174f7ffcf459a.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libcache_padded-243fa3e784b08dd8.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libsocket2-a75ba586938f1e15.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_lite-7352720b89eeed5a.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfastrand-1103597adb74edbb.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libwaker_fn-d20a06f406fe7651.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libparking-17a48000badaf41e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libzvariant-595d9a83c1def639.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libenumflags2-844ac59f720af453.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libbyteorder-ada794db65a1f56d.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libstatic_assertions-b62bc4678c7c6d94.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libxkbcommon-36f3ed3ee003730a.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libmemmap-b3cacf2502f8f9e6.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libserde-4af0d4f241b26211.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libmaplit-34c7600902ce6af3.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgtk-4b4bef998a2e0f2e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfield_offset-b5def348e0a8b749.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libmemoffset-adf3169c2519dd70.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libatk-4941d3edd8b881a8.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgtk_sys-57f8a50fb311e6aa.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libatk_sys-d297c0861969ac24.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgdk-681b86830d325991.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libpango-07397902ad818871.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgdk_pixbuf-9ba05374e7cd33f8.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgio-93043fdf8b8be867.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgdk_sys-57c2263db51d6072.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libpango_sys-23583ca7ba854bb5.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgdk_pixbuf_sys-32f25d7c541922ac.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgio_sys-6ec4829a8f848d72.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libcairo-3a8bb59577195f5d.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libthiserror-c34d3242a646b5ba.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libglib-55444f920ea41c83.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_executor-5fcf7e1faf48524e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_util-51a97b470bd911a6.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_io-c5219290384ca41d.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libslab-40bf4d357c0f49bd.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libpin_project_lite-eec3709a71b51f89.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libpin_utils-3f05b3eb4b3cc4b4.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_channel-113842086c364199.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_sink-efecc2065981794b.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_task-1835c41b5def8721.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libfutures_core-cc6969236858d8cd.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libsmallvec-d7a2fed6abfcf1a8.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libonce_cell-8b3d8b8f9e4d62fe.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libgobject_sys-131584cd9647259b.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libcairo_sys-eadd2b2e752ddd7e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libglib_sys-36a153b3c11e62ed.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/liblibc-a77fb3d0332fa06e.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libclap-3edb0904a66c3007.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libtextwrap-dcd28c8802fcfa47.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libindexmap-b7369f51062ce3d7.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libhashbrown-d12f0be44759b378.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libos_str_bytes-d5d0b43c6095f7a3.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libmemchr-146a777d24301ed5.rlib" "/<<PKGBUILDDIR>>/_build/debug/deps/libbitflags-767939b1f0e74e47.rlib" "-Wl,--start-group" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libstd-8988c4d343fc78a9.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libpanic_unwind-3abd93939c1d7f55.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libminiz_oxide-16f4ba8afe0b786c.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libadler-6c5e2e9580e59171.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libobject-f0ff3d55576120f0.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libmemchr-27bbdac32eed3f2a.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libaddr2line-067f186a81a03393.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libgimli-f5fdc8a1640ab5af.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libstd_detect-234e002fb9f62bdf.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/librustc_demangle-21d7ed48e97ee4e1.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libhashbrown-dcee3cd1f6ce5a9d.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/librustc_std_workspace_alloc-70fa4fcc37c4f04d.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libunwind-c596d691b88532e1.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcfg_if-a541221bf2335296.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/liblibc-d3292079c584de8d.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/liballoc-6516168489cb415d.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/librustc_std_workspace_core-e29a2b38ba7dbff4.rlib" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcore-32b882f47ff794c9.rlib" "-Wl,--end-group" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcompiler_builtins-1a9eee0e358627fd.rlib" "-Wl,-Bdynamic" "-lxkbcommon" "-lgtk-3" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-latk-1.0" "-lcairo-gobject" "-lcairo" "-lgdk_pixbuf-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-latk-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgdk-3" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib/rustlib/powerpc64le-unknown-linux-gnu/lib" "-o" "/<<PKGBUILDDIR>>/_build/debug/deps/test_layout-11bb72ffb1bce37c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
>    = note: /usr/bin/ld: /<<PKGBUILDDIR>>/_build/debug/deps/librs-5d86b83039a84e4a.rlib(rs-5d86b83039a84e4a.rs.121aed9b-cgu.3.rcgu.o): in function `rs::main::c::main_loop_handle_message':
>            /remap-pwd/src/main.rs:164: undefined reference to `dbus_handler_set_visible'
>            /usr/bin/ld: /remap-pwd/src/main.rs:170: undefined reference to `eekboard_context_service_set_hint_purpose'
>            /usr/bin/ld: /<<PKGBUILDDIR>>/_build/debug/deps/librs-5d86b83039a84e4a.rlib(rs-5d86b83039a84e4a.rs.121aed9b-cgu.9.rcgu.o): in function `rs::popover::set_visible_layout':
>            /remap-pwd/src/popover.rs:191: undefined reference to `eekboard_context_service_set_overlay'
>            /usr/bin/ld: /remap-pwd/src/popover.rs:180: undefined reference to `eekboard_context_service_set_overlay'
>            /usr/bin/ld: /<<PKGBUILDDIR>>/_build/debug/deps/librs-5d86b83039a84e4a.rlib(rs-5d86b83039a84e4a.rs.121aed9b-cgu.9.rcgu.o): in function `rs::popover::show::{{closure}}':
>            /remap-pwd/src/popover.rs:378: undefined reference to `popover_open_settings_panel'
>            /usr/bin/ld: /<<PKGBUILDDIR>>/_build/debug/deps/librs-5d86b83039a84e4a.rlib(rs-5d86b83039a84e4a.rs.121aed9b-cgu.10.rcgu.o): in function `rs::panel::Manager::update':
>            /remap-pwd/src/panel.rs:180: undefined reference to `panel_manager_hide'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:184: undefined reference to `panel_manager_hide'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:235: undefined reference to `panel_manager_resize'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:239: undefined reference to `panel_manager_hide'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:240: undefined reference to `panel_manager_request_widget'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:217: undefined reference to `panel_manager_hide'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:218: undefined reference to `panel_manager_request_widget'
>            /usr/bin/ld: /remap-pwd/src/panel.rs:189: undefined reference to `panel_manager_request_widget'
>            collect2: error: ld returned 1 exit status
>            
>    = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
>    = note: use the `-l` flag to specify native libraries to link
>    = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
> ---
> With rustc 1.58.1+dfsg1-1, the very same version of squeekboard builds fine.
> 
> Also squeekboard 1.17.1-1 which built previously with 1.58.1+dfsg1-1
> fails with a link issue too with 1.59.1+dfsg1-1 .
> 
> Regards,
> 
> F.
> 
> 
> _______________________________________________
> Pkg-rust-maintainers mailing list
> Pkg-rust-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-rust-maintainers



More information about the Pkg-rust-maintainers mailing list