-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error during make check, target common_stringutil #67
Comments
I am on up-to-date Arch Linux, my PKGBUILD (which is the Arch Linux way of preparing a software package) looks as follows: # Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
pkgname=abyss
pkgver=1.5.2
pkgrel=1
pkgdesc="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
arch=('i686' 'x86_64')
url="http://www.bcgsc.ca/platform/bioinfo/software/abyss"
license=('custom')
depends=('openmpi' 'boost-libs')
makedepends=('boost' 'sparsehash')
checkdepends=('gtest')
source=(https://github.com/bcgsc/abyss/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('10d6d72d1a915e618d41a5cbbcf2364c')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--with-boost=/usr/include/boost \
--with-mpi=/usr
make
}
check() {
cd $srcdir/$pkgname-$pkgver
make check
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
} |
Hi @wookietreiber, It looks like an error when linking to the Google Test library. (In the future, we should probably just bundle Google Test with ABySS, since that is the method recommended by the gtest people.)
If that doesn't help, I would suggest disabling 'make check' for now. |
This linker option looks a bit odd |
It seems like the linker flags are missing
Seems the trick is to not only link against |
It finally worked with that approach. My PKGBUILD now looks as follows (the important changes are in the # Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
pkgname=abyss
pkgver=1.5.2
pkgrel=1
pkgdesc="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
arch=('i686' 'x86_64')
url="http://www.bcgsc.ca/platform/bioinfo/software/abyss"
license=('custom')
depends=('openmpi' 'boost-libs')
makedepends=('boost' 'sparsehash')
checkdepends=('gtest')
source=(https://github.com/bcgsc/abyss/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('10d6d72d1a915e618d41a5cbbcf2364c')
prepare() {
cd $srcdir/$pkgname-$pkgver
sed -e 's|$(GTEST_LIBS)|$(GTEST_LIBS) -lgtest|' \
-i Unittest/Makefile.am
autoreconf -fi
}
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--with-boost=/usr/include/boost \
--with-mpi=/usr
make
}
check() {
cd $srcdir/$pkgname-$pkgver
make check
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
} I think a patch can be easily made from these changes. I wonder why others did not experience this problem or did not report it. |
Might be even better to just set the following in
|
The recommended method of building gest is |
Thanks very much, @wookietreiber. @sjackman: Yes, I agree, let's bundle GTest with ABySS. |
With 1.9.0 gtest is included and there are no errors. |
* refactor deprecated functions * BranchGroup.h: add missing function * Pipemux.h: capitalize Semaphoe * Pipemux.h: correct header * PipeMux.h: remove directory
The text was updated successfully, but these errors were encountered: