Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601686 - dev-vcs/git-2.7.3-r1: sha1_file.c:(.text+0x2d9): undefined reference to `SHA1_Init'
Summary: dev-vcs/git-2.7.3-r1: sha1_file.c:(.text+0x2d9): undefined reference to `SHA1...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-05 15:36 UTC by Thomas Beutin
Modified: 2020-04-04 19:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,214.56 KB, text/plain)
2016-12-05 15:36 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2016-12-05 15:36:57 UTC
Created attachment 455152 [details]
build.log

x86_64-pc-linux-gnu-gcc -march=bdver2 -fomit-frame-pointer -O2 -pipe -Wall  -DHAVE_CLOCK_GETTIME -Wl,-O1 -Wl,--as-need
ed -o svn-fe svn-fe.o ../../vcs-svn/lib.a ../../libgit.a ../../xdiff/lib.a -lz -lssl /var/tmp/portage/dev-vcs/git-2.7.
3-r1/work/git-2.7.3/xdiff/lib.a -lpthread -lpcre 
../../libgit.a(sha1_file.o): In function `write_sha1_file_prepare':
sha1_file.c:(.text+0x2d9): undefined reference to `SHA1_Init'
sha1_file.c:(.text+0x2e7): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x2f5): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x300): undefined reference to `SHA1_Final'
../../libgit.a(sha1_file.o): In function `check_sha1_signature':
sha1_file.c:(.text+0x1631): undefined reference to `SHA1_Init'
sha1_file.c:(.text+0x1649): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x1663): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x16a4): undefined reference to `SHA1_Final'
../../libgit.a(sha1_file.o): In function `write_loose_object':
sha1_file.c:(.text+0x5499): undefined reference to `SHA1_Init'
sha1_file.c:(.text+0x54e1): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x5531): undefined reference to `SHA1_Update'
sha1_file.c:(.text+0x559c): undefined reference to `SHA1_Final'
../../libgit.a(bulk-checkin.o): In function `deflate_to_pack.constprop.1':
bulk-checkin.c:(.text+0x20f): undefined reference to `SHA1_Init'
bulk-checkin.c:(.text+0x224): undefined reference to `SHA1_Update'
bulk-checkin.c:(.text+0x389): undefined reference to `SHA1_Final'
bulk-checkin.c:(.text+0x554): undefined reference to `SHA1_Update'
../../libgit.a(csum-file.o): In function `sha1flush':
csum-file.c:(.text+0x14f): undefined reference to `SHA1_Update'
../../libgit.a(csum-file.o): In function `sha1close':
csum-file.c:(.text+0x1a7): undefined reference to `SHA1_Final'
../../libgit.a(csum-file.o): In function `sha1write':
csum-file.c:(.text+0x369): undefined reference to `SHA1_Update'
../../libgit.a(csum-file.o): In function `sha1fd_throughput':
csum-file.c:(.text+0x413): undefined reference to `SHA1_Init'
../../libgit.a(pack-check.o): In function `verify_pack_index':
pack-check.c:(.text+0x113): undefined reference to `SHA1_Init'
pack-check.c:(.text+0x123): undefined reference to `SHA1_Update'
pack-check.c:(.text+0x130): undefined reference to `SHA1_Final'
../../libgit.a(pack-check.o): In function `verify_pack':
pack-check.c:(.text+0x213): undefined reference to `SHA1_Init'
pack-check.c:(.text+0x26b): undefined reference to `SHA1_Update'
pack-check.c:(.text+0x27d): undefined reference to `SHA1_Final'
pack-check.c:(.text+0x499): undefined reference to `SHA1_Update'
../../libgit.a(pack-write.o): In function `fixup_pack_header_footer':
pack-write.c:(.text+0x57e): undefined reference to `SHA1_Init'
pack-write.c:(.text+0x58b): undefined reference to `SHA1_Init'
pack-write.c:(.text+0x5e5): undefined reference to `SHA1_Update'
pack-write.c:(.text+0x604): undefined reference to `SHA1_Update'
pack-write.c:(.text+0x66f): undefined reference to `SHA1_Update'
pack-write.c:(.text+0x68f): undefined reference to `SHA1_Update'
pack-write.c:(.text+0x6a6): undefined reference to `SHA1_Final'
pack-write.c:(.text+0x6d7): undefined reference to `SHA1_Init'
pack-write.c:(.text+0x716): undefined reference to `SHA1_Final'
pack-write.c:(.text+0x72b): undefined reference to `SHA1_Final'
../../libgit.a(read-cache.o): In function `ce_write':
read-cache.c:(.text+0x2e6): undefined reference to `SHA1_Update'
../../libgit.a(read-cache.o): In function `do_write_index':
read-cache.c:(.text+0x8c0): undefined reference to `SHA1_Init'
read-cache.c:(.text+0xdc8): undefined reference to `SHA1_Final'
read-cache.c:(.text+0xfaa): undefined reference to `SHA1_Init'
read-cache.c:(.text+0x1034): undefined reference to `SHA1_Update'
../../libgit.a(read-cache.o): In function `do_read_index':
read-cache.c:(.text+0x2f8a): undefined reference to `SHA1_Init'
read-cache.c:(.text+0x2fa3): undefined reference to `SHA1_Update'
read-cache.c:(.text+0x2fb5): undefined reference to `SHA1_Final'
../../libgit.a(diff.o): In function `patch_id_consume':
diff.c:(.text+0x1635): undefined reference to `SHA1_Update'
../../libgit.a(diff.o): In function `diff_get_patch_id.isra.38':
diff.c:(.text+0x6d0d): undefined reference to `SHA1_Init'
diff.c:(.text+0x6f5e): undefined reference to `SHA1_Update'
diff.c:(.text+0x6f93): undefined reference to `SHA1_Update'
diff.c:(.text+0x6fac): undefined reference to `SHA1_Update'
diff.c:(.text+0x7061): undefined reference to `SHA1_Final'
../../libgit.a(rerere.o): In function `handle_path':rerere.c:(.text+0x669): undefined reference to `SHA1_Init'
rerere.c:(.text+0x6e7): undefined reference to `SHA1_Final'
rerere.c:(.text+0x900): undefined reference to `SHA1_Update'
rerere.c:(.text+0x924): undefined reference to `SHA1_Update'
collect2: error: ld returned 1 exit status
Makefile:77: recipe for target 'svn-fe' failed
make: *** [svn-fe] Error 1
 * ERROR: dev-vcs/git-2.7.3-r1::gentoo failed (compile phase):
 *   emake failed

# emerge --info
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.26-gentoo x86_64)
=================================================================
System uname: Linux-4.4.26-gentoo-x86_64-AMD_Opteron-tm-_Processor_6386_SE-with-gentoo-2.2
KiB Mem:  1043831648 total,  49348796 free
KiB Swap:  268304380 total, 268304208 free
Timestamp of repository gentoo: Thu, 01 Dec 2016 09:30:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j80"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X509 aac aacplus aalib accounting acl adns aim aio alpn amd64 ansi audit automount autotrace bacula-console bash-completion bcmath bidi bind-mysql bittorrent bzip2 calendar caps ccache cdb cgi chipcard chroot command-args corefonts cpudetection cpulimit cracklib cramfs cron crypt cscope css csv ctype curl curlwrappers customlog cvsgraph cxx cyrus dba dbi dbm dbx device-mapper devmap dhcp djvu dlopen dnsdb ecc emf encode enscript exif expat fam fastcgi ffmpeg fftw fits flac flash flatfile fontconfig fpm fpx ftp fuse gd gdal gdbm geoip geos gif gmp graphviz gs gssapi gzip hardened hardenedphp hdf5 hdri hpn http i18n iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile innodb ipalias iproute2 ipv6 jabber jbig jpeg jpeg2k json kmod lapack lcms ldap less libwww lm_sensors lmtp logrotate logwatch lzma lzo mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mmx mp3 mpeg mpm-prefork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot netcdf netifrc network nfs nls nntp nptl nptlonly oav ocaml ocamlopt odbc ogg oggvorbis openexr openmp openrc openssh openssl pam pam_chroot pam_timestamp pango parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic pie plotutils png posix postfix postgis postgres postscript procmail proj pwdb python qdbm qemu quotas radius raw readline recode reiserfs rmtp rrdtool rss sample sasl screen sendfile sendmail sensord session sftp sftplogging shaper shared sharedext sieve simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 stream subversion svg sysfs syslog sysvipc szip tcpd theora threads tidy tiff tls tokenizer transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlocales utf8 uuid vhosts vim-syntax virtual-users virus-scan vorbis vpx wddx webp withsamplescripts wmf x264 xattr xfs xinetd xls xml xml2 xmlrpc xpm xsl xslt xvid yahoo yaz zlib" ABI_X86="64" APACHE2_MODULES="access http2 auth auth_basic auth_digest authn_default authn_core authn_file authz_core authz_groupfile authz_host authz_user authn_dbm authn_dbd authz_dbd dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_html proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id version dumpio log_forensic reqtimeout socache_shmcb unixd proxy_fcgi proxy_wstunnel slotmem_shm ratelimit remoteip lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat macro" APACHE2_MPMS="event" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws qt-faststart aviocat ismindex" GRUB_PLATFORMS="pc" KERNEL="linux" NGINX_MODULES_HTTP="access auth_basic auth_request autoindex browser charset dav dav_ext fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone memcached metrics mp4 naxsi proxy push push_stream realip referer rewrite secure_link security split_clients spdy sticky stub_status sub upload upload_progress upstream_check upstream_ip_hash userid xslt" NGINX_MODULES_MAIL="smtp imap pop3" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="dummy"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-20 23:20:57 UTC
Still an issue with recent git releases?
Comment 2 Thomas Beutin 2020-04-04 19:19:39 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #1)
> Still an issue with recent git releases?

Sorry for the delay, i forgot about this 3 year old bug...