Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752510 - media-video/ccextractor-0.85-r2 missing libccx.so
Summary: media-video/ccextractor-0.85-r2 missing libccx.so
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-03 14:42 UTC by Chris Smith
Modified: 2021-01-31 20:53 UTC (History)
2 users (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 Chris Smith 2020-11-03 14:42:52 UTC
revdep-rebuild wants to continually rebuild media-video/ccextractor-0.85-r2 due to missing libccx.so

also note that this version (0.85) seems quite out of date - https://bugs.gentoo.org/show_bug.cgi?id=651524


Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2020-11-03 20:58:40 UTC
Please
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Chris Smith 2020-11-03 21:27:08 UTC
emerge --info media-video/ccextractor
Portage 3.0.9 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r2, 5.8.17-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.17-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-glibc2.2.5
KiB Mem:    32837356 total,    985588 free
KiB Swap:    6291452 total,   6165800 free
Timestamp of repository gentoo: Tue, 03 Nov 2020 18:35:27 +0000
Head commit of repository gentoo: d99ad74c991fd147bc145af24de68e225703bf19

Head commit of repository audio-overlay: d88a985f840bd418fdc91bd2677dff7003083315

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo, 3.10.0_alpha1::gentoo
dev-util/cmake:           3.18.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo
sys-devel/gcc:            10.2.0-r2::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000

audio-overlay
    location: /usr/local/portage/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo

tcgOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXX="g++"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi activities aes alsa amd64 amr apache2 audiofile avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm chromecast cleartype cli corefonts crypt cups curl dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook egl emboss encode exif fam fdk ffmpeg flac fortran gdbm gif gles2 gmp google gphoto2 gpm gstreamer gtk gtk3 gui iconv icu imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea kvm kwallet ladspa lame lash lcms libffi libglvnd libinput libnotify libtirpc linguas_en_US lv2 lzma mad marble midi mmap mmx mmxext mng mozilla mp3 mp4 mpeg mtp multimedia musicbrainz ncurses network nls nodrm nptl nsplugin nvenc nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qemu qml qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop slp smp sndfile speex spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="(-python2_7) (-python3_6) python3_7 python3_8" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="(-ruby23) (-ruby24) (-ruby25) (-ruby26) ruby27" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/ccextractor-0.85-r2::gentoo was built with the following:
USE="" ABI_X86="(64)"
Comment 3 Chris Smith 2020-11-03 21:31:09 UTC
It builds and installs, but apparently doesn't install the library libccx.so as it is nowhere to be found and revdep-rebuild complains about it

revdep-rebuild -vpi
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
 * Collecting dynamic linking informations
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that require: libccx.so (64 bits)
        * /usr/bin/ccextractor
 * Assign files to packages
        * /usr/bin/ccextractor -> media-video/ccextractor-0.85-r2

emerge --pretend --verbose --oneshot --complete-graph=y media-video/ccextractor:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/ccextractor-0.85-r2::gentoo  0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 4 Chris Smith 2020-11-03 21:33:14 UTC
I'm guessing that libccx.so is from the ccextractor package, if not then there should be a depend for the package that provides it.
Comment 5 Chris Smith 2020-11-08 17:51:28 UTC
After an "ebuild ... compile" the library exists:
/var/tmp/portage/media-video/ccextractor-0.85-r2/work # find ./ -name 'libccx.so'
./ccextractor-0.85_build/lib_ccx/libccx.so

But the library is missing from the image after an "ebuild ... install" so it never gets installed.

"ebuild ... qmerge" shows no library getting installed:
# ebuild ccextractor-0.85-r2.ebuild qmerge
>>> Existing ${T}/environment for 'ccextractor-0.85-r2' will be sourced.
>>> Run 'clean' to start with a fresh environment.
 * checking 10 files for package collisions
>>> Merging media-video/ccextractor-0.85-r2 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/ccextractor
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ccextractor-0.85-r2/
>>> /usr/share/doc/ccextractor-0.85-r2/CODE_ORGANIZATION.TXT
>>> /usr/share/doc/ccextractor-0.85-r2/708_STATUS.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/BINARY_FILE_FORMAT.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/CHANGES.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/FFMPEG.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/FRONTEND_COMMUNICATIONS.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/MAILINGLIST.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/G608.TXT.bz2
>>> /usr/share/doc/ccextractor-0.85-r2/README.TXT.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/README.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/MAILINGLIST.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/G608.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/FRONTEND_COMMUNICATIONS.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/FFMPEG.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/CODE_ORGANIZATION.TXT
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/CHANGES.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/BINARY_FILE_FORMAT.TXT.bz2
--- replaced obj /usr/share/doc/ccextractor-0.85-r2/708_STATUS.TXT.bz2
--- replaced dir /usr/share/doc/ccextractor-0.85-r2
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/bin/ccextractor
--- replaced dir /usr/bin
--- replaced dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> media-video/ccextractor-0.85-r2 merged.
Comment 6 Chris Smith 2020-11-08 21:04:12 UTC
Attempting to run ccextractor fails because the library is missing:
$ ccextractor 
ccextractor: error while loading shared libraries: libccx.so: cannot open shared object file: No such file or directory
Comment 7 Chris Smith 2020-11-08 21:07:01 UTC
This line:
-                  "Libs: -L\${libdir} -lccx -lpng\n"

in the ccextractor-0.85-cmake.patch may have something to do with it.
Comment 8 Larry the Git Cow gentoo-dev 2020-11-08 23:04:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b84c7fc59ef6085d5080e679bda72470255d07

commit 56b84c7fc59ef6085d5080e679bda72470255d07
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-08 23:04:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-08 23:04:16 +0000

    media-video/ccextractor: bump to 0.88
    
    Bug: https://bugs.gentoo.org/752510
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ccextractor/Manifest                   |  1 +
 media-video/ccextractor/ccextractor-0.88.ebuild    | 33 +++++++++++++
 .../files/ccextractor-0.88-cflags.patch            | 13 +++++
 .../files/ccextractor-0.88-fno-common.patch        | 55 ++++++++++++++++++++++
 .../files/ccextractor-0.88-libdir.patch            | 12 +++++
 5 files changed, 114 insertions(+)
Comment 9 Sam James archtester gentoo-dev Security 2020-11-08 23:04:47 UTC
This needs to be revisited to either last-rite it or unbundle a *load* of deps.
Comment 10 Thomas Pfaff 2020-11-10 17:51:17 UTC
I could find an installed ccextractor from end of last year. that worked, and did not have a shared link to libcxx. I guess it was statically linked instead.
On newer builds it seems to link dynamically instead.
Comment 11 Anthony Lieuallen 2021-01-31 20:53:33 UTC
I can confirm this exact problem.  Installed 0.88 and it runs.  Regardless of anything else, it seems like 0.88 should be unmasked by default as the otherwise unmasked version (0.85-r2) doesn't run at all.