FWIW these artifacts are being created by the build:

$ find ./ | grep libluasb.so.0
./build/heka/lib/libluasb.so.0
./build/ep_base/Build/lua_sandbox/ep_base/Build/lua-5_1_5/libluasb.so.0
./build/ep_base/Build/lua_sandbox/ep_base/lib/libluasb.so.0
./build/_CPack_Packages/Linux/DEB/heka_0.10.0_amd64/usr/lib/libluasb.so.0

$ find ./ | grep libluasandbox.so.0
./build/heka/lib/libluasandbox.so.0.10.2
./build/heka/lib/libluasandbox.so.0
./build/ep_base/Build/lua_sandbox/src/libluasandbox.so.0.10.2
./build/ep_base/Build/lua_sandbox/src/libluasandbox.so.0
./build/_CPack_Packages/Linux/DEB/heka_0.10.0_amd64/usr/lib/libluasandbox.so.0.10.2
./build/_CPack_Packages/Linux/DEB/heka_0.10.0_amd64/usr/lib/libluasandbox.so.0

On Fri, Feb 12, 2016 at 10:21 AM Eli Flesher <[email protected]> wrote:

> Hi Everyone,
>
> I’m running into some trouble building a Deb for Heka with customer
> plugins. All of the customer plugins are written in Go and after source
> ./build.sh is ran, I have working binaries. I then run `make install` in
> the build directory followed by cpack and/or make deb.
>
> Both cpack and make deb give me this following error message about missing
> libraries that I can’t seem to resolve. I’m using the v0.10.0 tag for Heka.
>
> $ cpack
> CPack: Create package using TGZ
> CPack: Install projects
> CPack: - Run preinstall target for: heka
> CPack: - Install project: heka
> CPack: Create package
> CPack: - package:
> /home/eflesher/logagent/heka_build/build/heka-0_10_0-linux-amd64.tar.gz
> generated.
> CPack: Create package using DEB
> CPack: Install projects
> CPack: - Install scripts:
> /home/eflesher/logagent/heka_build/cmake/CMakeDebHelperInstall.cmake
> CPack: - Install script:
> /home/eflesher/logagent/heka_build/cmake/CMakeDebHelperInstall.cmake
> CPack: - Run preinstall target for: heka
> CPack: - Install project: heka
> CPack: Create package
> CPackDeb: - Generating dependency list
> CMake Error at /usr/share/cmake-2.8/Modules/CPackDeb.cmake:265 (message):
>   CPackDeb: dpkg-shlibdeps: dpkg-shlibdeps: error: couldn't find library
>   libluasb.so.0 needed by ./usr/share/heka/lua_modules/sax.so (ELF format:
>   'elf64-x86-64'; RPATH: '')
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/share/heka/lua_modules/sax.so (ELF format: 'elf64-x86-64'; RPATH:
> '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_io_modules/socket/core.so (ELF format:
> 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/circular_buffer.so (ELF format:
>   'elf64-x86-64'; RPATH: '')
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/share/heka/lua_modules/circular_buffer.so (ELF format:
>   'elf64-x86-64'; RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: $ORIGIN is used in RPATH of ./usr/bin/hekad and
>   the corresponding directory could not be identified due to lack of DEBIAN
>   sub-directory in the root of package's build tree
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/bin/hekad (ELF format: 'elf64-x86-64'; RPATH: '$ORIGIN/../lib')
>
>   dpkg-shlibdeps: warning: $ORIGIN is used in RPATH of ./usr/bin/hekad and
>   the corresponding directory could not be identified due to lack of DEBIAN
>   sub-directory in the root of package's build tree
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/bin/hekad (ELF format: 'elf64-x86-64'; RPATH: '$ORIGIN/../lib')
>
>   dpkg-shlibdeps: warning: $ORIGIN is used in RPATH of ./usr/bin/hekad and
>   the corresponding directory could not be identified due to lack of DEBIAN
>   sub-directory in the root of package's build tree
>
>   dpkg-shlibdeps: warning: $ORIGIN is used in RPATH of ./usr/bin/hekad and
>   the corresponding directory could not be identified due to lack of DEBIAN
>   sub-directory in the root of package's build tree
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/hyperloglog.so (ELF format: 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/share/heka/lua_modules/hyperloglog.so (ELF format: 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_io_modules/mime/core.so (ELF format: 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>
> ▽
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/cjson.so (ELF format: 'elf64-x86-64'; RPATH:
>   '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/lib/libluasandbox.so.0.10.2 (ELF format: 'elf64-x86-64'; RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/lpeg.so (ELF format: 'elf64-x86-64'; RPATH:
>   '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/cuckoo_filter.so (ELF format:
> 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/share/heka/lua_modules/cuckoo_filter.so (ELF format:
> 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/bloom_filter.so (ELF format: 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: error: couldn't find library libluasandbox.so.0 needed by
>   ./usr/share/heka/lua_modules/bloom_filter.so (ELF format: 'elf64-x86-64';
>   RPATH: '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: couldn't find library libluasb.so.0 needed by
>   ./usr/share/heka/lua_modules/struct.so (ELF format: 'elf64-x86-64';
> RPATH:
>   '')
>
>   dpkg-shlibdeps: warning: binaries to analyze should already be installed
> in
>   their package's directory
>
>   dpkg-shlibdeps: error: cannot continue due to the errors listed above
>
>   Note: libraries are not searched in other binary packages that do not
> have
>   any shlibs or symbols file.
>
>   To help dpkg-shlibdeps find private libraries, you might need to use -l.
>
>
>
> CPack Error: Error while execution CPackDeb.cmake
> CPack Error: Problem compressing the directory
> CPack Error: Error when generating package: heka
> --
> —
> *Elijah Flesher*  |  *Lyft* <http://lyft.me/>  |  *Software Engineer*
> 206.661.4697  |  @eliflesher
>
-- 
—
*Elijah Flesher*  |  *Lyft* <http://lyft.me/>  |  *Software Engineer*
206.661.4697  |  @eliflesher
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to