Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541266 - net-p2p/bitcoin-qt-0.10.0: fails to build due to missing header secp256k1.h
Summary: net-p2p/bitcoin-qt-0.10.0: fails to build due to missing header secp256k1.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 17:52 UTC by Anders Larsson
Modified: 2015-02-27 16:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Larsson 2015-02-24 17:52:46 UTC
net-p2p/bitcoin-qt-0.10.0 cannot be built successfully because header file secp256k1.h is missing. This header is provided by dev-libs/libsecp256k1 but isn't pulled in as a dependency by net-p2p/bitcoin-qt.

Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot net-p2p/bitcoin-qt
Actual Results:  
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include     -I/usr/include/db4.8/ -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -march=n
ative -O2 -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_common_a-eccryptoverify.o `test -f 'eccryptoverify.cpp' || echo './'`eccryptoverify.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include     -I/usr/include/db4.8/ -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -march=n
ative -O2 -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_common_a-ecwrapper.o `test -f 'ecwrapper.cpp' || echo './'`ecwrapper.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include     -I/usr/include/db4.8/ -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -march=n
ative -O2 -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_common_a-hash.o `test -f 'hash.cpp' || echo './'`hash.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include     -I/usr/include/db4.8/ -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -march=n
ative -O2 -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_common_a-key.o `test -f 'key.cpp' || echo './'`key.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include     -I/usr/include/db4.8/ -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -march=n
ative -O2 -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_common_a-keystore.o `test -f 'keystore.cpp' || echo './'`keystore.cpp
key.cpp:13:23: fatal error: secp256k1.h: No such file or directory
 #include <secp256k1.h>
                       ^
compilation terminated.
Makefile:3238: recipe for target 'libbitcoin_common_a-key.o' failed
make[2]: *** [libbitcoin_common_a-key.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-p2p/bitcoin-qt-0.10.0/work/bitcoin-047a89831760ff124740fe9f58411d57ee087078/src'
Makefile:6219: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-p2p/bitcoin-qt-0.10.0/work/bitcoin-047a89831760ff124740fe9f58411d57ee087078/src'
Makefile:627: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 * ERROR: net-p2p/bitcoin-qt-0.10.0::gentoo failed (compile phase):
 *   emake failed

Expected Results:  
net-p2p/bitcoin-qt builds successfully.

Portage 2.2.17 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 3.19.0-gentoo x86_64)
=================================================================
System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16423184 total,   7128828 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Tue, 24 Feb 2015 00:45:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

hasufell
    location: /var/lib/layman/hasufell
    masters: gentoo
    priority: 0

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 2

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 3

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 4

anders-larsson
    location: /mnt/network/localportage
    masters: gentoo
    priority: 5

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4"
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 webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo/ http://trumpetti.atm.tut.fi/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acpi aes alsa amd64 apm avx berkdb bluray bzip2 cairo cleartype cli corefonts cracklib crypt custom-optimization cxx dbus dri firefox fortran gdbm gtk gtk3 iconv ipv6 jpeg latex libnotify lm_sensors mmx mmxext modules mplayer multilib ncurses nls nptl offensive ogg openal opengl openmp pam pcre pdf png polkit popcnt pulseaudio qt5 readline session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 syslog tcpd truetype udev udisks unicode vaapi vdpau vim-syntax x264 xcb xcomposite xscreensaver xv xvmc zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en_US en sv sv_SE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luke-Jr 2015-02-26 07:44:21 UTC
This is already fixed in the bitcoin overlay.
Comment 2 Anders Larsson 2015-02-27 16:50:23 UTC
This issue has been fixed in portage as well. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.10.0.ebuild?r1=1.2&r2=1.3.

Closing it as fixed.