Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot emerge inkscape poppler issue [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Sun Jan 04, 2015 12:30 am    Post subject: cannot emerge inkscape poppler issue [SOLVED] Reply with quote

All emerge commands now end with
Code:
...
>>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: app-text/poppler-0.29.0
 *  - /usr/lib64/libpoppler.so.47
 *  - /usr/lib64/libpoppler.so.47.0.0
 *      used by /usr/bin/inkscape (media-gfx/inkscape-0.48.5)
 *      used by /usr/bin/inkview (media-gfx/inkscape-0.48.5)
Use emerge @preserved-rebuild to rebuild packages using these libraries


so I tried
Code:
emerge @preserved-rebuild

and
Code:
revdep-rebuild


to no avail and then
Code:
# emerge -av poppler

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

Calculating dependencies                                      ... done!
[ebuild   R   ~] app-text/poppler-0.29.0:0/48  USE="cairo cxx introspection jpeg jpeg2k lcms png qt4 tiff utils -cjk -curl -debug -doc (-qt5)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Code:
...
>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: app-text/poppler-0.29.0
 *  - /usr/lib64/libpoppler.so.47
 *  - /usr/lib64/libpoppler.so.47.0.0
 *      used by /usr/bin/inkscape (media-gfx/inkscape-0.48.5)
 *      used by /usr/bin/inkview (media-gfx/inkscape-0.48.5)
Use emerge @preserved-rebuild to rebuild packages using these libraries


Code:
# emerge -av inkscape

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

Calculating dependencies                  ... done!         
[ebuild   R    ] media-gfx/inkscape-0.48.5  USE="lcms nls spell -dia -gnome -inkjar -postscript -wmf" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Code:
...
/usr/include/poppler/GfxState.h:211:25: note:   candidate expects 5 arguments, 3 provided
Makefile:5961: recipe for target 'extension/internal/pdfinput/pdf-parser.o' failed
make[2]: *** [extension/internal/pdfinput/pdf-parser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
extension/internal/pdfinput/svg-builder.cpp: In member function ‘std::string Inkscape::Extension::Internal::SvgBuilder::_BestMatchingFont(std::string)’:
extension/internal/pdfinput/svg-builder.cpp:912:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (Match >= minMatch) {
                      ^
make[2]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5/src'
Makefile:1022: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'
Makefile:716: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-gfx/inkscape-0.48.5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/inkscape-0.48.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/inkscape-0.48.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'
 * S: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'

>>> Failed to emerge media-gfx/inkscape-0.48.5, Log file:

>>>  '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/build.log'

 * Messages for package media-gfx/inkscape-0.48.5:

 * Running elibtoolize in: inkscape-0.48.5/
 *   We've already been run in this tree; you should
 *   avoid this if possible (perhaps by filing a bug)
 * ERROR: media-gfx/inkscape-0.48.5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/inkscape-0.48.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/inkscape-0.48.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'
 * S: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'


Code:
# emerge --info '=media-gfx/inkscape-0.48.5::gentoo'
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-AMD_Phenom-tm-_II_X4_850_Processor-with-gentoo-2.2
KiB Mem:     8179304 total,   4689716 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Fri, 02 Jan 2015 21:30:02 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 acl alsa amd64 apng berkdb bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus device-mapper disable-watermark dri dvd encode extras ffmpeg flac fortran freetype gd gdbm gdu gif gtk gudev hddtemp hpcups hwdb iconv icu introspection ipv6 jpeg jpeg2k lcms lm_sensors mad minizip mjpeg mmx modules mp3 mp4 mpeg multilib ncurses nls npm nptl ogg opengl openmp pam pcre png policykit python qt-dbus qt4 readline rpc session snmp spamassassin spell sqlite sse sse2 ssl svg symlink syslog tcpd tiff truetype udev udisks unicode vcd vorbis x264 zlib" ABI_X86="64" 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="st2205" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="uk_en en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

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

media-gfx/inkscape-0.48.5 was built with the following:
USE="lcms nls spell -dia -gnome -inkjar -postscript -wmf" ABI_X86="64" PYTHON_TARGETS="python2_7"
CFLAGS="-march=k8 -O2 -pipe -fno-strict-aliasing"
CXXFLAGS="-march=k8 -O2 -pipe -fno-strict-aliasing"


I also tried
Code:

perl-cleaner --all
emerge -av dev-perl/XML-Parser


Out of ideas, what can I do ?
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB


Last edited by bluenuht on Sun Jan 25, 2015 5:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sun Jan 04, 2015 12:33 am    Post subject: Reply with quote

You got 2 choices...

1) Wait for the patched version to show up in portage (don't think that will take too long) or

2) Jump over to this bug report and follow the directions there: https://bugs.gentoo.org/show_bug.cgi?id=534392
Back to top
View user's profile Send private message
carlosalvatore
n00b
n00b


Joined: 22 Nov 2011
Posts: 13

PostPosted: Sun Jan 04, 2015 2:24 am    Post subject: Reply with quote

I can't build it either.
_________________
Cowabunga!
Back to top
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Thu Jan 22, 2015 11:08 pm    Post subject: Reply with quote

So there have been plenty of updates in the last couple of weeks including poppler, inkscape and I have installed them all, but I still have the same error.

I use
Code:
emerge --sync && emerge --pretend --update --deep world
to review the updates and
Code:
emerge -avDNut world
to install them.
finally finishing of installs with
Code:
revdep-rebuild


any other ideas?
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 120
Location: Regensburg, Germany

PostPosted: Sat Jan 24, 2015 9:25 pm    Post subject: Reply with quote

You need ~arch inkscape, that works with ~arch poppler. :)
Back to top
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Sun Jan 25, 2015 5:17 pm    Post subject: Reply with quote

bit confused as to what is going on but after removing poppler from etc/portage/package.keywords(had completely forgotten it was in there) and adding

Code:
=app-text/poppler-0.28.1 ~amd64

to etc/portage/package.accept_keywords

a
Code:
emerge --sync && emerge --pretend --update --deep world
emerge -avDNut world
emerge @preserved-rebuild


and now inkscape works, thanks!
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum