Bug#1019318: seq24: FTBFS on riscv64 (undefined reference to `__init')
3 views
Skip to first unread message
Eric Long
unread,
Sep 7, 2022, 6:10:04 AM9/7/22
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Source: seq24
Version: 0.9.3-2
Severity: important
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: i...@hack3r.moe
Dear maintainers,
I am currently porting packages to riscv64 platform. seq24 failed to build on
riscv64 as shown below:
```
configure:5898: checking for _init in -lgtkmm-2.4
configure:5921: gcc -o conftest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--as-needed -Wl,--as-needed conftest.c -lgtkmm-2.4 -lrt >&5
/usr/bin/ld: /tmp/ccm4bpJ8.o: in function `main':
./conftest.c:21: undefined reference to `_init'
collect2: error: ld returned 1 exit status
configure:5921: $? = 1
```
Attached is a patch from openSUSE that fixes FTBFS on riscv64. Can you merge it
on Debian as well?