Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523586 - =sci-biology/samtools-1.0 should DEPEND on sci-libs/htslib - src_compile(): No package 'htslib' found
Summary: =sci-biology/samtools-1.0 should DEPEND on sci-libs/htslib - src_compile(): N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 06:56 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-09-24 08:12 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 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-24 06:56:08 UTC
The ebuild has a CDEPEND on sci-libs/htslib but DEPEND does not include CDEPEND.


Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
 * samtools-1.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking samtools-1.0.tar.bz2 to /home/jer/portage/sci-biology/samtools-1.0/work
>>> Source unpacked in /home/jer/portage/sci-biology/samtools-1.0/work
>>> Preparing source in /home/jer/portage/sci-biology/samtools-1.0/work/samtools-1.0 ...
>>> Source prepared.
>>> Configuring source in /home/jer/portage/sci-biology/samtools-1.0/work/samtools-1.0 ...
>>> Source configured.
>>> Compiling source in /home/jer/portage/sci-biology/samtools-1.0/work/samtools-1.0 ...
Package htslib was not found in the pkg-config search path.
Perhaps you should add the directory containing `htslib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'htslib' found
make -j10 'LIBCURSES=-lncurses -ltinfo ' CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' 'CFLAGS=-frecord-gcc-switches -march=core2 -g -pipe -O2 -Wall -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -fstack-protector -Wno-comment' HTSDIR=/usr/include HTSLIB=
make: *** No rule to make target `/usr/include/htslib/khash.h', needed by `bam_index.o'.  Stop.
 * ERROR: sci-biology/samtools-1.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-biology/samtools-1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-biology/samtools-1.0::gentoo'`.
 * The complete build log is located at '/keeps/gentoo/emergelogs/wim/sci-biology:samtools-1.0:20140924-065425.log'.
 * For convenience, a symlink to the build log is located at '/home/jer/portage/sci-biology/samtools-1.0/temp/build.log'.
 * The ebuild environment file is located at '/home/jer/portage/sci-biology/samtools-1.0/temp/environment'.
 * Working directory: '/home/jer/portage/sci-biology/samtools-1.0/work/samtools-1.0'
 * S: '/home/jer/portage/sci-biology/samtools-1.0/work/samtools-1.0'
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-09-24 07:47:06 UTC
Is sci-lisb/htslib installed?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-24 08:04:00 UTC
(In reply to Justin Lecher from comment #1)
> Is sci-lisb/htslib installed?

Of course it isn't. It's not listed in DEPEND.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-24 08:04:31 UTC
(In reply to Jeroen Roovers from comment #0)
> The ebuild has a CDEPEND on sci-libs/htslib but DEPEND does not include
> CDEPEND.

See? ^^
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-09-24 08:12:35 UTC
+  24 Sep 2014; Justin Lecher <jlec@gentoo.org> samtools-1.0.ebuild:
+  Add missing build dep, #523586
+