Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529914 - dev-vcs/git-2.1.3 USE=subversion - ../../libgit.a(trace.o): In function `print_command_performance_atexit': trace.c:(.text+0x834): undefined reference to `clock_gettime'
Summary: dev-vcs/git-2.1.3 USE=subversion - ../../libgit.a(trace.o): In function `prin...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 07:32 UTC by Philip Taffner
Modified: 2020-12-07 07:32 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,180.53 KB, text/plain)
2014-11-20 07:32 UTC, Philip Taffner
Details
emerge --info (file_529914.txt,4.78 KB, text/plain)
2014-11-20 07:33 UTC, Philip Taffner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Taffner 2014-11-20 07:32:47 UTC
Created attachment 389834 [details]
build.log

I can't build git with subversion support.
If I disable the subversion USE flag, everything works.
The error indicates that "-lrt" is missing

make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.1.3/work/git-2.1.3'
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -o svn-fe svn-fe.o \
        -Wl,-O1 -Wl,--as-needed ../../vcs-svn/lib.a ../../libgit.a -lz -lssl /var/tmp/portage/dev-vcs/git-2.1.3/work/git-2.1.3/xdiff/lib.a -lpthread -lpcre 
../../libgit.a(trace.o): In function `print_command_performance_atexit':
trace.c:(.text+0x834): undefined reference to `clock_gettime'
trace.c:(.text+0x891): undefined reference to `clock_gettime'
../../libgit.a(trace.o): In function `getnanotime':
trace.c:(.text+0xaa8): undefined reference to `clock_gettime'
trace.c:(.text+0xae1): undefined reference to `clock_gettime'
../../libgit.a(trace.o): In function `trace_command_performance':
trace.c:(.text+0xbef): undefined reference to `clock_gettime'
../../libgit.a(trace.o):trace.c:(.text+0xc31): more undefined references to `clock_gettime' follow
collect2: error: ld returned 1 exit status
Makefile:37: recipe for target 'svn-fe' failed
make: *** [svn-fe] Error 1
Comment 1 Philip Taffner 2014-11-20 07:33:21 UTC
Created attachment 389836 [details]
emerge --info
Comment 2 Felix Janda 2015-04-03 12:01:39 UTC
Might be related to bug 466178
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-12-07 07:32:56 UTC
I believe this ticket is obsolete, if the problem persists, please reopen