Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898598 - sys-devel/patch-2.7.6-r5 has implicit function declarations in configure logs
Summary: sys-devel/patch-2.7.6-r5 has implicit function declarations in configure logs
Status: RESOLVED FIXED
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://lists.gnu.org/archive/html/bu...
Whiteboard:
Keywords:
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2023-03-01 11:44 UTC by Agostino Sarubbo
Modified: 2024-11-19 22:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,134.83 KB, text/plain)
2023-03-01 11:44 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-01 11:44:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/patch-2.7.6-r5 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-01 11:44:08 UTC
Created attachment 855404 [details]
build.log

build log and emerge --info
Comment 2 Eli Schwartz gentoo-dev 2024-05-19 21:20:42 UTC
Unrelated to musl.
Comment 3 Eli Schwartz gentoo-dev 2024-05-19 21:28:39 UTC
https://github.com/coreutils/gnulib/commit/3c136a2cc38d71083f123231a8b9ad4b01930789

/* Android 4.3 declares fchownat() in <sys/stat.h> instead.  */
#include <sys/stat.h>


And gets mkdir() as a side effect... nice.
Comment 4 Eli Schwartz gentoo-dev 2024-11-03 20:44:43 UTC
Some time ago I asked for a new release to fix this by updating gnulib and re-releasing the project:

https://lists.gnu.org/archive/html/bug-patch/2024-05/msg00000.html

Alpha is now out: https://lists.gnu.org/archive/html/bug-patch/2024-11/msg00000.html
Comment 5 Larry the Git Cow gentoo-dev 2024-11-03 20:47:24 UTC
The bug has been referenced in the following commit(s):

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

commit cf5d73cc18f72f1d5375f32568fc2a1bc9aac8fd
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-11-03 20:47:03 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-11-03 20:47:03 +0000

    sys-devel/patch: add 2.7.6_p20241103
    
    New alpha release after 7 years.
    
    https://lists.gnu.org/archive/html/bug-patch/2024-05/msg00000.html
    https://lists.gnu.org/archive/html/bug-patch/2024-11/msg00000.html
    
    Bug: https://bugs.gentoo.org/898598
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
    Acked-by: Sam James <sam@gentoo.org>

 sys-devel/patch/Manifest                     |  2 +
 sys-devel/patch/patch-2.7.6_p20241103.ebuild | 76 ++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2024-11-19 22:31:31 UTC
The bug has been closed via the following commit(s):

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

commit 2f52e76ae543f555f598e2e786b434c0610584ca
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-19 22:29:42 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-19 22:29:42 +0000

    sys-devel/patch: revbump, fix implicit mkdir in configure
    
    This is a bit of a hack since I'm only patching configure but not
    its gnulib source.
    
    However, the bug is fixed upstream...
    
    See-also: https://github.com/coreutils/gnulib/commit/3c136a2cc38d71083f123231a8b9ad4b01930789
    Closes: https://bugs.gentoo.org/898598
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../patch/files/patch-2.7.6-configure-mkdir.patch  | 14 ++++
 sys-devel/patch/patch-2.7.6-r6.ebuild              | 85 ++++++++++++++++++++++
 2 files changed, 99 insertions(+)