Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220040 - packages with outdated/broken AC_FUNC_MKTIME in configure
Summary: packages with outdated/broken AC_FUNC_MKTIME in configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 220611 (view as bug list)
Depends on: 213975 267619 271592
Blocks:
  Show dependency tree
 
Reported: 2008-05-02 13:17 UTC by vorfeed.canal
Modified: 2022-10-05 15:28 UTC (History)
8 users (show)

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


Attachments
autoconf-mktime-2.59.patch (autoconf-mktime-2.59.patch,4.58 KB, patch)
2008-05-05 05:49 UTC, SpanKY
Details | Diff
autoconf-mktime-2.61.patch (autoconf-mktime-2.61.patch,1.09 KB, patch)
2008-05-05 05:53 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vorfeed.canal 2008-05-02 13:17:49 UTC
Compilation of bash, gawk (and probably many others) stops for 60 seconds with message checking for working mktime... and resuls is "no".



Reproducible: Always

Steps to Reproduce:
# emerge -e system
...
# grep grep 'mktime.*no' /var/log/portage/*.log
/Gentoo/var/log/portage/app-shells:bash-3.2_p33:20080502-122356.log:checking for working mktime... no
/Gentoo/var/log/portage/sys-apps:gawk-3.1.5-r5:20080502-120142.log:checking for working mktime... no
Actual Results:  
Bundled mktime is used

Expected Results:  
System mktime is used

This is caused by problem in old version of AC_FUNC_MKTIME - autoreconf fixes this problem nicely but it's not enabled for bash and/or gawk
Comment 1 Martin Väth 2008-05-03 08:34:56 UTC
I recently recompiled world with gcc-4.3 (~1100 packages), and from these the
following ones are concerned, i.e. their log contains "working mktime... no"

app-arch/cabextract-1.2
app-editors/emacs-22.1-r4
app-shells/bash-3.2_p33
app-text/a2ps-4.13c-r6
dev-util/cvs-1.12.12-r4
sys-apps/gawk-3.1.5-r5
sys-libs/gwenhywfar-2.6.1
Comment 2 SpanKY gentoo-dev 2008-05-05 05:48:30 UTC
really should be handled automatically ...
Comment 3 SpanKY gentoo-dev 2008-05-05 05:49:11 UTC
Created attachment 151883 [details, diff]
autoconf-mktime-2.59.patch
Comment 4 SpanKY gentoo-dev 2008-05-05 05:53:17 UTC
Created attachment 151885 [details, diff]
autoconf-mktime-2.61.patch
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-05-05 12:11:59 UTC
I think solar said he has something of the like, we should probably ask him.. and we might find time next week to coordinate on that? It didn't make SoC so we'll have to handle it ourselves at this point.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-06 18:13:47 UTC
*** Bug 220611 has been marked as a duplicate of this bug. ***
Comment 7 Morgan Wesström 2008-10-26 15:39:57 UTC
net-ftp/pure-ftpd-1.0.21-r1

Is this bug the right place to report these packages? Nothing has been commented here for 6 months.
Comment 8 Mik B. Shvets 2009-03-25 09:45:59 UTC
net-fs/curlftpfs-0.9.2
Looks like the same issue.
Comment 9 Mik B. Shvets 2009-03-25 09:46:23 UTC
Hmm. Or not. Sorry, have no idea why but works in 2 min again.
Comment 10 Rafał Mużyło 2009-04-06 10:03:58 UTC
Both dev-libs/pkcs11-helper-1.05 and dev-libs/pkcs11-helper-1.06 are using the broken version.
Comment 11 James Le Cuirot gentoo-dev 2009-08-27 21:44:16 UTC
media-libs/gmyth is affected by this. If the build thinks mktime is broken, wouldn't that cause issues is some cases?
Comment 12 James Le Cuirot gentoo-dev 2009-08-27 22:11:26 UTC
Actually gmyth-0.7.1 (not in Portage) doesn't seem to be affected.
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2009-10-12 09:52:23 UTC
Looks like autoconf-2.62 fixed this issue. Could we update eclass to depend to >=autoconf-2.62 so our eautoreconf fixes started to work? Thanks.