Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937492 - sys-fs/dd-rescue-1.99.13-r1 fails to compile: checksum_file.c:64:21: error: implicit declaration of function basename [-Wimplicit-function-declaration]
Summary: sys-fs/dd-rescue-1.99.13-r1 fails to compile: checksum_file.c:64:21: error: i...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://sourceforge.net/p/ddrescue/ti...
Whiteboard: musl/basename
Keywords:
Depends on: 939440
Blocks: musl-1.2.5
  Show dependency tree
 
Reported: 2024-08-07 07:33 UTC by Agostino Sarubbo
Modified: 2024-10-25 12:10 UTC (History)
1 user (show)

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


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

Issue: sys-fs/dd-rescue-1.99.13-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-07 07:33:27 UTC
Created attachment 899341 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-07 07:33:29 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


fatal: not a git repository (or any parent up to mount point /var/tmp)
checksum_file.c:64:21: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration]]
Comment 3 ernsteiswuerfel archtester 2024-08-14 18:31:34 UTC
Opened an upstream ticket: https://sourceforge.net/p/ddrescue/tickets/7/
Comment 4 ernsteiswuerfel archtester 2024-08-20 19:45:27 UTC
Meanwhile upstream got the musl issues sorted out and latest DD_RESCUE_1_99_BRANCH git builds fine on musl-1.2.4 (and 1.2.5).

So with latest DD_RESCUE_1_99_BRANCH git the workaround is no longer needed.