Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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
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?

Thanks,
Eric
02-fix-riscv64-build.patch
0 new messages