Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595612 - app-text/mupdf-? with media-libs/openjpeg-2.1.x - ?
Summary: app-text/mupdf-? with media-libs/openjpeg-2.1.x - ?
Status: RESOLVED DUPLICATE of bug 595406
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
: 598400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-30 07:12 UTC by fkater
Modified: 2016-10-29 14:17 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
failed attempt to remerge mupdf with openjpeg-2.1.1_p20160922 (mupdf-1.5-r1_20161015-220939.log,55.36 KB, text/plain)
2016-10-16 05:36 UTC, Steffen Schaumburg
Details
successful attempt to remerge mupdf with openjpeg-2.1.0 (mupdf-1.5-r1_20161015-222425.log,65.06 KB, text/plain)
2016-10-16 05:38 UTC, Steffen Schaumburg
Details
build log (app-text:mupdf-1.5-r1:20161029-103125.log,54.59 KB, text/x-log)
2016-10-29 10:56 UTC, jms
Details
mupdf-1.9a build log (app-text:mupdf-1.9a:20161029-110140.log,142.04 KB, text/x-log)
2016-10-29 11:10 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkater 2016-09-30 07:12:56 UTC
Compiling mupdf fails with missing symbols (like opj_image_destroy)
unless openjpeg is downgraded from 2.1.x to 2.0.0.

See my comment 4 in https://bugs.gentoo.org/show_bug.cgi?id=595406

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-08 16:40:12 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Steffen Schaumburg 2016-10-16 05:36:04 UTC
Created attachment 450338 [details]
failed attempt to remerge mupdf with openjpeg-2.1.1_p20160922
Comment 3 Steffen Schaumburg 2016-10-16 05:38:07 UTC
Created attachment 450340 [details]
successful attempt to remerge mupdf with openjpeg-2.1.0
Comment 4 Steffen Schaumburg 2016-10-16 05:41:36 UTC
Attached build logs for failed and successful build from my mostly stable amd64 machine. I first ran into this bug on a different (but very similarly configured) new gentoo installation and could also solve it by downgrading openjpeg to 2.1.0.

Apparently #595406 has a patch for mupdf to solve this, but I haven't tried it yet. I'll comment in that bug when I've had time to do that.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-10-28 19:39:43 UTC
Seems like upstream is not willing to fix this as they are bundling lots of crap.
Comment 6 Marcel 2016-10-28 23:31:53 UTC
Same experience, compiles with 2.1.0. Same compile error as above reported with 2.1.1x or 2.1.2.

Definitely have to confirm the bug. I cannot comment who should act here, but one of the deps from the affected packages definitely should. Hardmasked 2.1.1x and 2.1.2 for now.
Comment 7 jms 2016-10-29 10:52:48 UTC
same problem with
app-text/mupdf-1.5-r1
and I have 
[I] media-libs/openjpeg                                                                                                                                                                                                                                                        
     Available versions:                                                                                                                                                                                                                                                       
     (0)    1.5.2(0/5)^t (~)1.5.2-r1(0/5)^t                                                                                                                                                                                                                                    
     (2)    2.0.0^t ~2.0.0-r1^t 2.1.0(2/7)^t ~2.1.0-r1(2/7)^t 2.1.1_p20160922(2/7) ~2.1.2(2/7)                                                                                                                                                                                 
       {doc static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}                                                                                                                                                                      
     Installed versions:  1.5.2-r1^t(15:33:26 10/12/2015)(-doc -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 2.1.1_p20160922(2)(22:30:53 27/09/2016)(-doc -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
Comment 8 jms 2016-10-29 10:54:50 UTC
emerge --info                                                                                                                                                                                                               
Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.22-r4, 4.8.3-gentoo-jms-0011 x86_64)                                                                                                                                          
=================================================================                                                                                                                                                                                                              
System uname: Linux-4.8.3-gentoo-jms-0011-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2                                                                                                                                                                      
KiB Mem:     7672628 total,   1199828 free                                                                                                                                                                                                                                     
KiB Swap:    8396796 total,   5204320 free                                                                                                                                                                                                                                     
Timestamp of repository gentoo: Sat, 29 Oct 2016 09:45:01 +0000                                                                                                                                                                                                                
sh bash 4.4-r1                                                                                                                                                                                                                                                                 
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1                                                                                                                                                                                                                                          
app-shells/bash:          4.4-r1::gentoo                                                                                                                                                                                                                                       
dev-java/java-config:     2.2.0-r3::gentoo                                                                                                                                                                                                                                     
dev-lang/perl:            5.22.2::gentoo                                                                                                                                                                                                                                       
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo                                                                                                                                                                                                                        
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /portage
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 0

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://91.121.124.139/gentoo-distfiles/ http://91.121.125.139/gentoo-distfiles/ ftp://ftp.swin.edu.au/gentoo  ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/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 aacs aalib acl acpi alsa amd64 ao avahi bash-completion bdplus berkdb bindist bluetooth bluray branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dri3 dts dv dvb dvd dvdnav dvdr emboss encode epub evdev exif ffmpeg firefox flac fontconfig fortran gd gdbm gif glamor gpm gstreamer gtk gzip iconv icu imap inotify ipv6 jpeg jpeg2k kde kipi lame laptop lcms ldap libkms libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mmxext mng mod modules motif mp3 mp4 mpeg mtp multilib mysql ncurse ncurses networkmanager nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds prison pulseaudio qml qt3support qt4 qt5 quicktime raw readline resolvconf scanner sdl seccomp semantic-desktop sematic-deskyop session smp solid spell sse sse2 ssl startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis widgets wifi win32codecs wxwidgets x x264 xattr xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB es-VE fr-FR en es fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB es_VE fr_FR en es fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia modesetting" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 9 jms 2016-10-29 10:56:50 UTC
Created attachment 451820 [details]
build log
Comment 10 jms 2016-10-29 11:09:10 UTC
app-text/mupdf-1.9a
fail as well 
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:398: recipe for target 'build/debug/libmupdf.so.1.9' failed
Comment 11 jms 2016-10-29 11:10:53 UTC
Created attachment 451826 [details]
mupdf-1.9a build log
Comment 12 jms 2016-10-29 11:27:45 UTC
masked  >media-libs/openjpeg-2.1.0 
did try with
app-text/mupdf-1.9a
app-text/mupdf-1.5-r1
and they compile fine

[I] app-text/mupdf
     Available versions:  1.5-r1(0/1.5) ~1.8(0/1.8) ~1.9a(0/1.9) **9999(0/1.7) {X (+)curl javascript libressl opengl (+)openssl static static-libs vanilla}
     Installed versions:  1.5-r1(13:20:50 29/10/2016)(X curl openssl -static -static-libs -vanilla)

note:
In my case muppdf is emerge as of net-print/cups-filters-1.11.5 with pdf flag
Comment 13 Michael Palimaka (kensington) gentoo-dev 2016-10-29 11:29:49 UTC
*** Bug 598400 has been marked as a duplicate of this bug. ***
Comment 14 jms 2016-10-29 11:33:50 UTC
this is I think related to bug 595406
Comment 15 Mike Auty (RETIRED) gentoo-dev 2016-10-29 14:17:53 UTC
Reporter, please do not file additional bugs for the same issue, it diverts attention and wastes time.  Your comment (bug 595406 comment 4) should be sufficient.  Marking as duplicate.

*** This bug has been marked as a duplicate of bug 595406 ***