Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936939 - net-libs/dleyna-0.8.3 fails to compile: log.c:156:17: error: implicit declaration of function basename [-Wimplicit-function-declaration]
Summary: net-libs/dleyna-0.8.3 fails to compile: log.c:156:17: error: implicit declara...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: musl/basename
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.5
  Show dependency tree
 
Reported: 2024-07-30 12:25 UTC by Agostino Sarubbo
Modified: 2025-04-04 11:03 UTC (History)
0 users

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


Attachments
build.log (build.log,83.72 KB, text/plain)
2024-07-30 12:25 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-07-30 12:25:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/dleyna-0.8.3 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-07-30 12:25:35 UTC
Created attachment 898645 [details]
build.log

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


FAILED: libdleyna/core/libdleyna-core-1.0.so.6.0.0.p/log.c.o 
Program sphinx-build found: NO
../dLeyna-v0.8.3/libdleyna/core/log.c:156:17: error: implicit declaration of function 'basename'; did you mean 'g_basename'? [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2025-04-04 11:03:36 UTC
The bug has been closed via the following commit(s):

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

commit 0bf458e450124f6a7b87e6daeefc5c901fa36448
Author:     Brahmajit Das <listout@listout.xyz>
AuthorDate: 2025-04-04 03:13:49 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-04-04 11:03:29 +0000

    net-libs/dleyna: Fix implicit declaration of function basename
    
    Closes: https://bugs.gentoo.org/936939
    Signed-off-by: Brahmajit Das <listout@listout.xyz>
    Closes: https://github.com/gentoo/gentoo/pull/37830
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 net-libs/dleyna/dleyna-0.8.3-r1.ebuild             | 57 ++++++++++++++++++++++
 ...dleyna-0.8.3-fix-basename-declration-musl.patch | 41 ++++++++++++++++
 2 files changed, 98 insertions(+)