Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897832 - net-analyzer/tptest-3.1.7-r2 fails to compile (MUSL-CLANG-SYSTEM): server.c:496:7: error: call to undeclared function open; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: net-analyzer/tptest-3.1.7-r2 fails to compile (MUSL-CLANG-SYSTEM): server.c:4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-26 08:09 UTC by Agostino Sarubbo
Modified: 2023-10-01 08:39 UTC (History)
0 users

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


Attachments
build.log (build.log,82.62 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:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/tptest-3.1.7-r2 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:09 UTC
Created attachment 854734 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-10-01 08:39:57 UTC
The bug has been closed via the following commit(s):

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

commit b3e58f3d564d70dc0725455d1eb88104130c5498
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-30 16:28:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-01 08:38:36 +0000

    net-analyzer/tptest: Fix call to undeclared function open
    
    And update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/897832
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33138
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tptest-3.1.7-clang16-build-fix.patch     | 11 +++++
 net-analyzer/tptest/tptest-3.1.7-r3.ebuild         | 50 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)