Project

General

Profile

Actions

tickets #115871

open

brickd is failing because of memcpy

Added by AdaLovelace over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-08-28
Due date:
% Done:

0%

Estimated time:

Description

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/brickd/standard/s390x

The package brickd is failing with following error messages:
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: ../daemonlib/utils.o: in function microsleep':
[ 143s] /home/abuild/rpmbuild/BUILD/brickd-2.4.3/src/brickd/../daemonlib/utils.c:488: undefined reference to
clock_nanosleep@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: ../daemonlib/utils.o: in function microtime':
[ 143s] /home/abuild/rpmbuild/BUILD/brickd-2.4.3/src/brickd/../daemonlib/utils.c:532: undefined reference to
clock_gettime@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/brickd-2.4.3/src/brickd/../daemonlib/utils.c:532: undefined reference to clock_gettime@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: ../daemonlib/writer.o: in function
memcpy':
[ 143s] /usr/include/bits/string_fortified.h:29: undefined reference to memcpy@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: sha1.o: in function
memcpy':
[ 143s] /usr/include/bits/string_fortified.h:29: undefined reference to memcpy@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: /usr/include/bits/string_fortified.h:29: undefined reference to
memcpy@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: /usr/include/bits/string_fortified.h:29: undefined reference to memcpy@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: usb_stack.o: in function
memcpy':
[ 143s] /usr/include/bits/string_fortified.h:29: undefined reference to memcpy@GLIBC_2.2.5'
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: usb_stack.o:/usr/include/bits/string_fortified.h:29: more undefined references to
memcpy@GLIBC_2.2.5' follow
[ 143s] /usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/bin/ld: brickd: no symbol version section for versioned symbol `memcpy@GLIBC_2.2.5'

Other projects have fixed this issue like that:
https://github.com/strongloop-forks/node-sqlite3/commit/b61b2cf36ee319d39f085d08690ca222fbe281e3

1) Branch the package brickd from https://build.opensuse.org/package/show/electronics/brickd
2) Expand patch a679ca31b8dbd412e5f379b624200e3a96dda0ce.patch with the architecture s390x
3) "osc commit"

No data to display

Actions

Also available in: Atom PDF