Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709642 - net-misc/getdate-1.2-r1 : getdate.c:(.text.startup+<snip>): undefined reference to stime
Summary: net-misc/getdate-1.2-r1 : getdate.c:(.text.startup+<snip>): undefined referen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: glibc-2.31
  Show dependency tree
 
Reported: 2020-02-14 18:20 UTC by Toralf Förster
Modified: 2020-06-09 22:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.21 KB, text/plain)
2020-02-14 18:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.61 KB, text/plain)
2020-02-14 18:20 UTC, Toralf Förster
Details
environment (environment,40.14 KB, text/plain)
2020-02-14 18:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.72 KB, application/x-bzip)
2020-02-14 18:20 UTC, Toralf Förster
Details
net-misc:getdate-1.2-r1:20200214-151639.log (net-misc:getdate-1.2-r1:20200214-151639.log,4.79 KB, text/plain)
2020-02-14 18:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.37 KB, application/x-bzip)
2020-02-14 18:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-14 18:20:47 UTC
      |                   time_t {aka long int}
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/getdate-1.2-r1/temp/ccYfkrVv.o: in function `main':
getdate.c:(.text.startup+0x24b): undefined reference to `stime'
collect2: error: ld returned 1 exit status
make: *** [<builtin>: getdate] Error 1
 * ERROR: net-misc/getdate-1.2-r1::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200210-221913

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 14 Feb 2020 14:37:52 +0000

emerge -qpvO net-misc/getdate
[ebuild  N    ] net-misc/getdate-1.2-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-14 18:20:50 UTC
Created attachment 613822 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-14 18:20:53 UTC
Created attachment 613824 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-14 18:20:56 UTC
Created attachment 613826 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-14 18:20:58 UTC
Created attachment 613828 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-14 18:21:01 UTC
Created attachment 613830 [details]
net-misc:getdate-1.2-r1:20200214-151639.log
Comment 6 Toralf Förster gentoo-dev 2020-02-14 18:21:04 UTC
Created attachment 613832 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-14 21:42:52 UTC
The bug has been closed via the following commit(s):

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

commit fb38cbd4b7f03e04e3275ce0ab540fff373499ea
Author:     Sam James (sam_c) <sam@cmpct.info>
AuthorDate: 2020-03-10 23:38:53 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-03-14 21:42:22 +0000

    net-misc/getdate: Fix build with glibc-2.31, bump EAPI
    
    * Patches getdate to not use stime (removed in glibc-2.31).
      (Tested and adjusts time fine.)
    
    * Bump EAPI from 4 -> 7
    
    Closes: https://bugs.gentoo.org/709642
    Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
    Closes: https://github.com/gentoo/gentoo/pull/14923
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 net-misc/getdate/files/getdate-glibc-2.31.patch | 13 ++++++++
 net-misc/getdate/getdate-1.2-r2.ebuild          | 42 +++++++++++++++++++++++++
 2 files changed, 55 insertions(+)