Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462202 - =x11-libs/libdrm-2.4.40 - configure: error: Couldn't find clock_gettime
Summary: =x11-libs/libdrm-2.4.40 - configure: error: Couldn't find clock_gettime
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 13:20 UTC by Rick Berube
Modified: 2015-01-16 08:50 UTC (History)
1 user (show)

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


Attachments
Requested file from above. (config.log,38.90 KB, text/plain)
2013-03-18 13:20 UTC, Rick Berube
Details
Requested build log "/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/build.log" (build.log,8.36 KB, text/plain)
2013-03-18 13:47 UTC, Rick Berube
Details
emerge --info text (emerge--info.txt,4.51 KB, text/plain)
2013-03-18 13:49 UTC, Rick Berube
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Berube 2013-03-18 13:20:08 UTC
Created attachment 342516 [details]
Requested file from above.

This is the copy/paste of the relevant part of sysout:

checking for PTHREADSTUBS... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... no
configure: error: Couldn't find clock_gettime

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libdrm-2.4.40/work/libdrm-2.4.40_build/config.log
 * ERROR: x11-libs/libdrm-2.4.40 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3435:  Called xorg-2_src_configure
 *        environment, line 4155:  Called autotools-utils_src_configure
 *        environment, line  721:  Called econf '--docdir=/usr/share/doc/libdrm-2.4.40' '--enable-sh
ared' '--disable-static' '--enable-udev' '--disable-exynos-experimental-api' '--disable-intel' '--di
sable-nouveau' '--disable-omap-experimental-api' '--enable-radeon' '--disable-vmwgfx' '--disable-lib
kms'
 *   phase-helpers.sh, line  518:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.40'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.40'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/environme
nt'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.40/work/libdrm-2.4.40_build'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.40/work/libdrm-2.4.40'

>>> Failed to emerge x11-libs/libdrm-2.4.40, Log file:

>>>  '/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/build.log'

 * Messages for package x11-libs/libdrm-2.4.40:

 * ERROR: x11-libs/libdrm-2.4.40 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3435:  Called xorg-2_src_configure
 *        environment, line 4155:  Called autotools-utils_src_configure
 *        environment, line  721:  Called econf '--docdir=/usr/share/doc/libdrm-2.4.40' '--enable-sh
ared' '--disable-static' '--enable-udev' '--disable-exynos-experimental-api' '--disable-intel' '--di
sable-nouveau' '--disable-omap-experimental-api' '--enable-radeon' '--disable-vmwgfx' '--disable-lib
kms'
 *   phase-helpers.sh, line  518:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.40'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.40'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/environme
nt'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.40/work/libdrm-2.4.40_build'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.40/work/libdrm-2.4.40'

 * Regenerating GNU info directory index...
 * Processed 73 info files.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-18 13:38:14 UTC
1) What does gentoo-sources have to do with this?
2) Please attach the full build log.
3) Please comment with the full output of `emerge --info =x11-libs/libdrm-2.4.40`
Comment 2 Rick Berube 2013-03-18 13:47:28 UTC
Created attachment 342526 [details]
Requested build log "/var/tmp/portage/x11-libs/libdrm-2.4.40/temp/build.log"
Comment 3 Rick Berube 2013-03-18 13:49:57 UTC
Created attachment 342528 [details]
emerge --info text
Comment 4 Rick Berube 2013-03-18 13:51:53 UTC
And this:

(chroot) livecd src # emerge -pqv '=x11-libs/libdrm-2.4.40'
[ebuild  N    ] x11-libs/libdrm-2.4.40  USE="-libkms -static-libs" VIDEO_CARDS="radeon (-exynos) (-i
ntel) (-nouveau) (-omap) (-vmware)"
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2014-08-05 11:22:02 UTC
Why are you building from a chroot in the installcd?