Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898552 - sys-apps/utempter-0.5.5.6-r1 fails to compile (MUSL-CLANG-SYSTEM): utempter.c:161:5: error: call to undeclared function gettimeofday; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: sys-apps/utempter-0.5.5.6-r1 fails to compile (MUSL-CLANG-SYSTEM): utempter.c...
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:
Whiteboard: fixed in -r2
Keywords: PullRequest
: 921385 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-01 08:19 UTC by Agostino Sarubbo
Modified: 2025-01-17 10:47 UTC (History)
0 users

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


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

Issue: sys-apps/utempter-0.5.5.6-r1 fails to compile (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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-01 08:19:47 UTC
Created attachment 855360 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-09 01:13:40 UTC
The bug has been closed via the following commit(s):

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

commit cf89ce244af18d0d54ed206ddac1dff02f687a88
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-28 06:33:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-09 01:13:08 +0000

    sys-apps/utempter: Fix undeclared gettimeofday
    
    Closes: https://bugs.gentoo.org/898552
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31197
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/utempter-0.5.5.6-no_gettimeofday.patch   | 23 ++++++++++
 sys-apps/utempter/utempter-0.5.5.6-r2.ebuild       | 50 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-10-30 21:20:26 UTC
The bug has been referenced in the following commit(s):

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

commit dfb8085c1a1a3f2a593f78d4bec8b64d768d53c4
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-30 21:17:46 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-30 21:20:12 +0000

    sys-apps/utempter: drop 0.5.5.6-r1
    
    Bug: https://bugs.gentoo.org/898552
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-apps/utempter/utempter-0.5.5.6-r1.ebuild | 49 ----------------------------
 1 file changed, 49 deletions(-)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2024-11-10 13:23:08 UTC
*** Bug 921385 has been marked as a duplicate of this bug. ***