Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896422 - media-radio/ax25-apps-0.0.8_rc5 fails to compile (MUSL-CLANG-SYSTEM): configure: error: Both glibc and libax25 are too old or both installed
Summary: media-radio/ax25-apps-0.0.8_rc5 fails to compile (MUSL-CLANG-SYSTEM): configu...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-25 07:32 UTC by Agostino Sarubbo
Modified: 2023-05-08 05:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,50.82 KB, text/plain)
2023-02-25 07:33 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,28.56 KB, text/plain)
2023-02-25 07:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-25 07:32:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-radio/ax25-apps-0.0.8_rc5 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-25 07:33:00 UTC
Created attachment 854528 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-25 07:33:01 UTC
Created attachment 854530 [details]
1-config.log

1-config.log
Comment 3 Thomas Beierlein gentoo-dev 2023-05-02 17:58:08 UTC
The code relies on the old termio.h include file which is missing in musl.
Ironically the support for termios.h was present in old versions and got dropped  back in 2017 (see https://linux-ax25.in-berlin.de/cgit/ax25-apps.git/commit/?id=e45f8a51b4929dc39125c415327d5b26f49c4156).

Will try to reintroduce the old code and test.
Comment 4 Thomas Beierlein gentoo-dev 2023-05-08 05:39:27 UTC
Having MUSL and CLANG16 setup I can not confirm the bug report. 
configure step is running without problems but compilation fails later - see also bug #715802.

Comment #3 here belongs in reality to bug 715802.

The provided logs says that media-radio/libax25 got installed but from configure.log we learn that <netax25/ax25.h> was not found. The latter gets installed by libax25. So something seems wrong with the test run.