accre / lstore

LStore - A fault-tolerant, performant distributed data storage framework.
http://www.lstore.org
Apache License 2.0
4 stars 5 forks source link

Building debian lstore-release package fails. #25

Closed PerilousApricot closed 8 years ago

PerilousApricot commented 8 years ago

Looks like:

https://github.com/accre/lstore-release/blob/master/source/release/deb-release/CMakeLists.txt#L12

doesn't jive with:

https://github.com/accre/lstore-release/blob/master/scripts/generate-docker-base.sh#L79

I'm not sure what happened, this appears like it would never work... @hellermf ?

+ build_lstore_package release /tmp/source/source/release 0.0.0-undefined-tag ubuntu-vivid
+ set -e
+ TO_BUILD=release
+ SOURCE_PATH=/tmp/source/source/release
+ TAG_NAME=0.0.0-undefined-tag
+ DISTRO_NAME=ubuntu-vivid
+ case $DISTRO_NAME in
+ CPACK_ARG='-G DEB'
+ CMAKE_ARG='-DCPACK_GENERATOR=DEB -DCPACK_SOURCE_GENERATOR=DEB'
+ NATIVE_PKG='cp -ra /tmp/source/source/release/ ./ ; pushd release ; dpkg-buildpackage -uc -us ; popd'
+ PKG_TYPE=deb
+ case $TO_BUILD in
+ case $PKG_TYPE in
+ cmake -DCPACK_GENERATOR=DEB -DCPACK_SOURCE_GENERATOR=DEB --debug --verbose -DCMAKE_INSTALL_PREFIX=/ /tmp/source/source/release/deb-release
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/lstore-release/build/release
+ make package
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: Project
CPack: - Install project: Project
CPack: Create package
CPack: - package: /tmp/lstore-release/build/release/lstore-release-1.0.0-1_all.deb generated.
+ mkdir -p /tmp/source/package/ubuntu-vivid/release/0.0.0-undefined-tag
+ rm '*.source.rpm'
rm: cannot remove '*.source.rpm': No such file or directory
+ true
+ umask 000
+ cp lstore-release-1.0.0-1_all.deb /tmp/source/package/ubuntu-vivid/release/0.0.0-undefined-tag
+ chmod 666 /tmp/source/package/ubuntu-vivid/release/0.0.0-undefined-tag/lstore-release-1.0.0-1_all.deb
++ shopt -s nullglob
++ set +u
++ echo
+ test -n ''
+ set +x
Selecting previously unselected package lstore-release.
dpkg: regarding .../lstore-release-1.0.0-1_all.deb containing lstore-release, pre-dependency problem:
 lstore-release pre-depends on lsb-release
  lsb-release is not installed.

dpkg: error processing archive /tmp/source/package/ubuntu-vivid/release/0.0.0-undefined-tag/lstore-release-1.0.0-1_all.deb (--install):
 pre-dependency problem - not installing lstore-release
PerilousApricot commented 8 years ago

fixed with #28