Summary: | dev-util/strace-4.26[elfutils,static] - configure: error: failed to find dwfl_linux_proc_attach in libdw | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=673934 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 715920 | ||
Bug Blocks: | |||
Attachments: |
config.log
build.log |
Description
Rolf Eike Beer
2019-05-29 16:29:31 UTC
Created attachment 577998 [details]
config.log
Created attachment 578000 [details]
build.log
The patch improves things, but the build still breaks: hppa2.0-unknown-linux-gnu-gcc -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings -O2 -pipe -march=2.0 -Wl,-O1 -Wl,--as-needed -pthread -static -o strace strace-access.o strace-affinity.o strace-aio.o strace-alpha.o strace-basic_filters.o strace-bind.o strace-bjm.o strace-block.o strace-bpf.o strace-bpf_filter.o strace-bpf_seccomp_filter.o strace-bpf_sock_filter.o strace-btrfs.o strace-cacheflush.o strace-capability.o strace-chdir.o strace-chmod.o strace-clone.o strace-copy_file_range.o strace-count.o strace-delay.o strace-desc.o strace-dirent.o strace-dirent64.o strace-dm.o strace-dyxlat.o strace-epoll.o strace-error_prints.o strace-evdev.o strace-evdev_mpers.o strace-eventfd.o strace-execve.o strace-fadvise.o strace-fallocate.o strace-fanotify.o strace-fchownat.o strace-fcntl.o strace-fetch_bpf_fprog.o strace-fetch_struct_flock.o strace-fetch_struct_keyctl_kdf_params.o strace-fetch_struct_mmsghdr.o strace-fetch_struct_msghdr.o strace-fetch_struct_stat.o strace-fetch_struct_stat64.o strace-fetch_struct_statfs.o strace-fetch_struct_xfs_quotastat.o strace-file_handle.o strace-file_ioctl.o strace-filter_qualify.o strace-filter_seccomp.o strace-flock.o strace-fs_x_ioctl.o strace-fsconfig.o strace-fsmount.o strace-fsopen.o strace-fspick.o strace-futex.o strace-get_personality.o strace-get_robust_list.o strace-getcpu.o strace-getcwd.o strace-getrandom.o strace-hdio.o strace-hostname.o strace-inotify.o strace-inotify_ioctl.o strace-io.o strace-io_uring.o strace-ioctl.o strace-ioperm.o strace-iopl.o strace-ioprio.o strace-ipc_msg.o strace-ipc_msgctl.o strace-ipc_sem.o strace-ipc_shm.o strace-ipc_shmctl.o strace-kcmp.o strace-kexec.o strace-keyctl.o strace-kvm.o strace-ldt.o strace-link.o strace-listen.o strace-lookup_dcookie.o strace-loop.o strace-lseek.o strace-mem.o strace-membarrier.o strace-memfd_create.o strace-mknod.o strace-mmap_notify.o strace-mmsghdr.o strace-mount.o strace-move_mount.o strace-mq.o strace-msghdr.o strace-mtd.o strace-nbd_ioctl.o strace-net.o strace-netlink.o strace-netlink_crypto.o strace-netlink_inet_diag.o strace-netlink_kobject_uevent.o strace-netlink_netfilter.o strace-netlink_netlink_diag.o strace-netlink_packet_diag.o strace-netlink_route.o strace-netlink_selinux.o strace-netlink_smc_diag.o strace-netlink_sock_diag.o strace-netlink_unix_diag.o strace-nlattr.o strace-nsfs.o strace-numa.o strace-number_set.o strace-oldstat.o strace-open.o strace-open_tree.o strace-or1k_atomic.o strace-pathtrace.o strace-perf.o strace-perf_ioctl.o strace-personality.o strace-pidfd_open.o strace-pkeys.o strace-poll.o strace-prctl.o strace-print_aio_sigset.o strace-print_dev_t.o strace-print_group_req.o strace-print_ifindex.o strace-print_instruction_pointer.o strace-print_kernel_version.o strace-print_mac.o strace-print_mq_attr.o strace-print_msgbuf.o strace-print_sg_req_info.o strace-print_sigevent.o strace-print_statfs.o strace-print_struct_stat.o strace-print_time.o strace-print_timespec.o strace-print_timespec32.o strace-print_timespec64.o strace-print_timeval.o strace-print_timeval64.o strace-print_timex.o strace-printmode.o strace-printrusage.o strace-printsiginfo.o strace-process.o strace-process_vm.o strace-ptp.o strace-ptrace_syscall_info.o strace-quota.o strace-random_ioctl.o strace-readahead.o strace-readlink.o strace-reboot.o strace-renameat.o strace-resource.o strace-retval.o strace-riscv.o strace-rt_sigframe.o strace-rt_sigreturn.o strace-rtc.o strace-rtnl_addr.o strace-rtnl_addrlabel.o strace-rtnl_dcb.o strace-rtnl_link.o strace-rtnl_mdb.o strace-rtnl_neigh.o strace-rtnl_neightbl.o strace-rtnl_netconf.o strace-rtnl_nsid.o strace-rtnl_route.o strace-rtnl_rule.o strace-rtnl_tc.o strace-rtnl_tc_action.o strace-s390.o strace-sched.o strace-scsi.o strace-seccomp.o strace-sendfile.o strace-sg_io_v3.o strace-sg_io_v4.o strace-shutdown.o strace-sigaltstack.o strace-signal.o strace-signalfd.o strace-sock.o strace-sockaddr.o strace-socketutils.o strace-sparc.o strace-sram_alloc.o strace-stage_output.o strace-stat.o strace-stat64.o strace-statfs.o strace-statx.o strace-strace.o strace-string_to_uint.o strace-swapon.o strace-syscall.o strace-sysctl.o strace-sysinfo.o strace-syslog.o strace-sysmips.o strace-term.o strace-time.o strace-times.o strace-truncate.o strace-ubi.o strace-ucopy.o strace-uid.o strace-uid16.o strace-umask.o strace-umount.o strace-uname.o strace-userfaultfd.o strace-ustat.o strace-util.o strace-utime.o strace-utimes.o strace-v4l2.o strace-wait.o strace-watchdog_ioctl.o strace-xattr.o strace-xlat.o strace-xmalloc.o strace-bpf_attr_check.o types/strace-check-cryptouser.o types/strace-check-evdev.o types/strace-check-io_uring.o types/strace-check-rtnl_link.o types/strace-check-rtnl_mdb.o types/strace-check-rtnl_neightbl.o types/strace-check-rtnl_route.o strace-unwind.o strace-unwind-libdw.o libstrace.a -lrt -ldw -lbz2 -lelf -lz -lz -llzma -pthread -liberty /usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: cannot find -lbz2 /usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: cannot find -llzma /usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: strace-strace.o: in function `exec_or_die': (.text+0x6c8): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: strace-strace.o: in function `init': (.text+0x1f64): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking It is caused by incomplete dependencies in dev-libs/elfutils itself (Bug #715920), not in dev-util/strace. it's broken with elfutils 177, it works with 179, both with USE="static-libs -bzip2 -lzma". The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b222b1be5bd4818974dcaf840f93cea1bd99ca commit a6b222b1be5bd4818974dcaf840f93cea1bd99ca Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2020-04-02 07:51:26 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-04-09 08:29:02 +0000 dev-util/strace: Fix building with USE="static". Closes: https://bugs.gentoo.org/673934 Closes: https://bugs.gentoo.org/686946 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-util/strace/files/strace-5.5-static.patch | 178 ++++++++++++++++++++++++++ dev-util/strace/strace-5.5.ebuild | 14 +- dev-util/strace/strace-9999.ebuild | 14 +- 3 files changed, 200 insertions(+), 6 deletions(-) |