Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894352 - app-crypt/onak-0.5.0 fails to compile (MUSL-CLANG-SYSTEM): onak.c:340:12: error: call to undeclared function strtouq; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-crypt/onak-0.5.0 fails to compile (MUSL-CLANG-SYSTEM): onak.c:340:12: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 08:53 UTC by Agostino Sarubbo
Modified: 2023-10-06 12:59 UTC (History)
0 users

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


Attachments
build.log (build.log,88.46 KB, text/plain)
2023-02-14 08:53 UTC, Agostino Sarubbo
Details
1-aclocal.out (1-aclocal.out,166 bytes, text/plain)
2023-02-14 08:53 UTC, Agostino Sarubbo
Details
1-autoconf.out (1-autoconf.out,1.11 KB, text/plain)
2023-02-14 08:53 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,29.99 KB, text/plain)
2023-02-14 08:53 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-14 08:53:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/onak-0.5.0 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-14 08:53:46 UTC
Created attachment 851066 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:47 UTC
Created attachment 851068 [details]
1-aclocal.out

1-aclocal.out
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:48 UTC
Created attachment 851070 [details]
1-autoconf.out

1-autoconf.out
Comment 4 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:49 UTC
Created attachment 851072 [details]
1-config.log

1-config.log
Comment 5 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking for libdb version in db.h... ./configure: line 5180: conftest.c: command not found
onak.c:340:12: error: call to undeclared function 'strtouq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 6 Larry the Git Cow gentoo-dev 2023-10-06 12:59:17 UTC
The bug has been closed via the following commit(s):

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

commit 59175325c2aee946c8d8bdde473ddff2131a0d7e
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-05 03:57:39 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-06 12:58:04 +0000

    app-crypt/onak: Fix call to undeclared function strtouq
    
    Closes: https://bugs.gentoo.org/894352
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32615
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../onak/files/onak-0.5.0-musl-strtouq-fix.patch   | 15 ++++++
 app-crypt/onak/onak-0.5.0-r1.ebuild                | 54 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)