Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900124 - app-backup/tarsnap-1.0.40-r2 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM)
Summary: app-backup/tarsnap-1.0.40-r2 has implicit function declarations in configure ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-03-07 09:43 UTC by Agostino Sarubbo
Modified: 2024-11-03 16:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,205.08 KB, text/plain)
2023-03-07 09:43 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-03-07 09:43:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/tarsnap-1.0.39-r1 has implicit function declarations in configure logs (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.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-07 09:43:49 UTC
Created attachment 856588 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-05 06:55:11 UTC
ci has reproduced this issue with version 1.0.40-r1 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2023-05-05 12:17:55 UTC
ci has reproduced this issue with version 1.0.40-r2 - Updating summary.
Comment 4 Eli Schwartz gentoo-dev 2024-10-20 17:36:35 UTC
Correctly fails:

conftest.c: In function 'main':
conftest.c:175:8: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
  175 | return makedev(0, 0);
      |        ^~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-backup/tarsnap-1.0.40-r2/temp/cc8OJy2J.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup+0x33): undefined reference to `makedev'


Bug is in autoconf and fixed in autoconf, but tarballs are built with a vintage autotools and do not distribute configure.ac!!!
Comment 5 Larry the Git Cow gentoo-dev 2024-10-21 02:55:22 UTC
The bug has been closed via the following commit(s):

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

commit 5a9cacaec888742b062c91e0ef0dfd8fa828031a
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-10-20 17:50:42 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-10-21 02:54:43 +0000

    app-backup/tarsnap: mark false positive for QA config-implicit-function-decl
    
    It fails correctly, regardless of version. We can't fix the autoconf
    check because they don't distribute the configure.ac !!!
    
    Closes: https://bugs.gentoo.org/900124
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 app-backup/tarsnap/tarsnap-1.0.40-r2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)