Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935389

Summary: dev-db/mydumper-0.15.2.8 fails to compile: mydumper_common.c:204:14: error: implicit declaration of function open [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37448
Whiteboard: fixed in 0.15.2.8-r1
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-07-03 06:58:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/mydumper-0.15.2.8 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-03 06:58:49 UTC
Created attachment 896829 [details]
build.log

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


FAILED: CMakeFiles/mydumper.dir/src/mydumper_common.c.o 
FAILED: CMakeFiles/mydumper.dir/src/mydumper_stream.c.o 
/var/tmp/portage/dev-db/mydumper-0.15.2.8/work/mydumper-0.15.2-8/src/mydumper_common.c:204:14: error: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2024-07-09 21:35:10 UTC
The bug has been closed via the following commit(s):

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

commit 4851cd949a3f4cd8f97289f48045194f791a11c6
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-07-07 20:52:02 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-09 21:33:28 +0000

    dev-db/mydumper: Fix implicit declaration of function open
    
    Closes: https://bugs.gentoo.org/935389
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37448
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 .../files/mydumper-0.15-fix-call-to-open.patch     | 42 ++++++++++++++++
 dev-db/mydumper/mydumper-0.15.2.8-r1.ebuild        | 57 ++++++++++++++++++++++
 2 files changed, 99 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-01 16:56:40 UTC
The bug has been referenced in the following commit(s):

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

commit a02f3f68a843e6434d8b97b6689a7615d8f76208
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-01 16:25:49 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-01 16:56:10 +0000

    dev-db/mydumper: drop 0.14.5.2, 0.15.2.8
    
    Bug: https://bugs.gentoo.org/935389
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-db/mydumper/Manifest                           |  1 -
 ...per-0.14-Do-not-overwrite-the-user-CFLAGS.patch | 29 ------------
 dev-db/mydumper/mydumper-0.14.5.2.ebuild           | 55 ----------------------
 dev-db/mydumper/mydumper-0.15.2.8.ebuild           | 55 ----------------------
 4 files changed, 140 deletions(-)