Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897836 - net-analyzer/nsat-1.5-r6 fails to compile (MUSL-CLANG-SYSTEM): ADMsmb.c:117:8: error: call to undeclared function fcntl; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: net-analyzer/nsat-1.5-r6 fails to compile (MUSL-CLANG-SYSTEM): ADMsmb.c:117:8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-02-26 08:09 UTC by Agostino Sarubbo
Modified: 2024-11-07 09:10 UTC (History)
0 users

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


Attachments
build.log (build.log,231.23 KB, text/plain)
2023-02-26 08:09 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-26 08:09:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/nsat-1.5-r6 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-26 08:09:17 UTC
Created attachment 854738 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-07 09:10:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1f5d0a2eef8f1d1e9684a902f9cdff2174220b

commit ad1f5d0a2eef8f1d1e9684a902f9cdff2174220b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-07 09:09:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 09:10:28 +0000

    net-analyzer/nsat: don't pass -ansi
    
    The configure check for setpgrp was getting confused by the configure
    script always passing -ansi (!). This may or may not fix the build
    on musl (given -ansi will disable any extensions).
    
    Bug: https://bugs.gentoo.org/713636
    Closes: https://bugs.gentoo.org/897836
    Closes: https://bugs.gentoo.org/900030
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/nsat/files/nsat-1.5-no-ansi.patch     | 53 ++++++++++++++++++++++
 .../{nsat-1.5-r6.ebuild => nsat-1.5-r7.ebuild}     |  1 +
 2 files changed, 54 insertions(+)