Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436040 - app-text/sigil-0.5.3 has missing dev-libs/boost app-text/hunspell dev-libs/libpcre sys-libs/zlib dev-libs/xerces-c RDEPEND
Summary: app-text/sigil-0.5.3 has missing dev-libs/boost app-text/hunspell dev-libs/l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-23 21:44 UTC by Nikoli
Modified: 2013-01-24 22:16 UTC (History)
0 users

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 Nikoli 2012-09-23 21:44:43 UTC
$ objdump -p /usr/bin/sigil|grep NEEDED|sort
  NEEDED               libboost_filesystem-mt-1_48.so.1.48.0
  NEEDED               libboost_regex-mt-1_48.so.1.48.0
  NEEDED               libboost_system-mt-1_48.so.1.48.0
  NEEDED               libc.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libhunspell-1.3.so.0
  NEEDED               libm.so.6
  NEEDED               libpcre.so.1
  NEEDED               libpthread.so.0
  NEEDED               libQtCore.so.4
  NEEDED               libQtGui.so.4
  NEEDED               libQtNetwork.so.4
  NEEDED               libQtWebKit.so.4
  NEEDED               libstdc++.so.6
  NEEDED               libz.so.1

After looking at cmake log i found several other missing deps: ZipArchive (is it in portage?), dev-libs/xerces-c


>>> Working in BUILD_DIR: "/var/tmp/portage/app-text/sigil-0.5.3/work/sigil-0.5.3_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/app-text/sigil-0.5.3/work/sigil-0.5.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/app-text/sigil-0.5.3/work/sigil-0.5.3_build/gentoo_rules.cmake  /var/tmp/portage/app-text/sigil-0.5.3/work
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/app-text/sigil-0.5.3/work/sigil-0.5.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.5.4
-- The CXX compiler identification is GNU 4.5.4
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- checking for module 'ZipArchive>=4.1.1'
--   package 'ZipArchive>=4.1.1' not found
-- checking for module 'xerces-c>=3.1'
--   package 'xerces-c>=3.1' not found
-- checking for module 'hunspell'
--   found hunspell, version 1.3.2
-- checking for module 'libpcre'
--   found libpcre, version 8.30
-- Could NOT find XercesExtensions
-- Could NOT find FlightCrew
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.2", required is "4.7.0") 
-- <<< Gentoo configuration >>>
Build type      Release
Install path    /usr
Compiler flags:
C               -march=core2 -mtune=generic -mavx -maes -mpclmul -O2 -pipe 
C++             -march=core2 -mtune=generic -mavx -maes -mpclmul -O2 -pipe 
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/app-text/sigil-0.5.3/work/sigil-0.5.3_build
>>> Source configured.



Seems many deps are optional, please add USE flags, something like "pcre spell".

Sigil has a lot bundled libs:
$ ls src/
BoostParts
FlightCrew
hunspell
pcre 
tidyLib
utf8-cpp
Xerces
XercesExtensions
ZipArchive
zipios
zlib

Please remove most of them in src_prepare if possible. Build system has FORCE_BUNDLED_COPIES, but i am not sure if it works fine.
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2012-11-03 12:11:57 UTC
Sigil 0.6.0 has already these dependencies added. I will add them to 0.5.3 also. The older versions will be removed.
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2013-01-24 22:16:22 UTC
0.6.2 is in CVS now, all versions older than 0.6.0 are removed from tree.