FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-23-2009, 02:58 PM
Alexander
 
Default app-text/poppler-utils install fails

Hi,

I'm trying to upgrade app-text/poppler-utils (as part of a bigger
system upgrade), but it fails.



This is what happens
 
Old 11-23-2009, 03:02 PM
Alexander
 
Default app-text/poppler-utils install fails

Hi,

I'm trying to upgrade app-text/poppler-utils (as part of a bigger
system upgrade), but it fails.



This is what happens (I'm using --dl-blocks discard because I think I
accidentally added poppler to world previously. I've posted paludis
--info app-text/poppler below this output.)

bb alexander # paludis -i --dl-blocks discard app-text/poppler-utils
Building target list...
Building dependency list: ... 40 stepspaludis@1258991779: [WARNING
dep_list.ignoring_dependencies] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding build dependencies as pre dependencies:
... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]':
... When adding installed package 'dev-libs/poppler-0.10.7:0::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '>=dev-libs/libxml2-2.7.2':
... When adding installed package 'dev-libs/libxml2-2.7.3-r2:2::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec 'dev-lang/python':
... When adding installed package 'dev-lang/python-3.1.1-r1:3.1::installed':
... When adding post dependencies as post dependencies unless under
a suggested label:
... When adding PackageDepSpec 'app-admin/python-updater':
... When adding installed package 'app-admin/python-updater-0.7:0::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '>=sys-apps/portage-2.1.2':
... When adding installed package 'sys-apps/portage-2.1.6.13:0::installed':
... Ignoring run dependencies due to exception 'Error searching for
'>=app-admin/eselect-news-20071201': no available versions'
(paludis::AllMaskedError) 48
stepspaludis@1258991780: [WARNING dep_list.discarding_block] In thread
ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding build dependencies as pre dependencies:
... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]':
... When adding installed package 'dev-libs/poppler-0.10.7:0::installed':
... When adding run dependencies as post dependencies:
... When checking BlockDepSpec '!app-text/poppler':
... Discarding block '!app-text/poppler'
paludis@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding build dependencies as pre dependencies:
... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]':
... When adding installed package 'dev-libs/poppler-0.10.7:0::installed':
... When adding run dependencies as post dependencies:
... When checking BlockDepSpec '!app-text/poppler-bindings':
... Discarding block '!app-text/poppler-bindings'
50 stepspaludis@1258991780: [WARNING
dep_list.discarding_block] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding run dependencies as pre dependencies:
... When checking BlockDepSpec '!app-text/poppler':
... Discarding block '!app-text/poppler'
paludis@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding run dependencies as pre dependencies:
... When checking BlockDepSpec '!app-text/poppler-bindings':
... Discarding block '!app-text/poppler-bindings'
paludis@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding run dependencies as post dependencies:
... When checking BlockDepSpec '!app-text/poppler':
... Discarding block '!app-text/poppler'
paludis@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec 'app-text/poppler-utils':
... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo':
... When adding run dependencies as post dependencies:
... When checking BlockDepSpec '!app-text/poppler-bindings':
... Discarding block '!app-text/poppler-bindings'


These packages will be installed:

* app-text/poppler-utils [N 0.10.7] <target>
abiword build_options: -optional_tests split strip -trace
"PDF conversion utilities"

Total: 1 package (1 new)

USE:

* abiword: Enable support for app-office/abiword output.
Requires dev-libs/libxml2.

Checking for possible errors......
cfg-update> * cfg-update:
cfg-update> >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...

(1 of 1) Installing app-text/poppler-utils-0.10.7:0::gentoo

Checking 'poppler-0.10.7.tar.gz'... ok
paludis@1258991780: [WARNING e.ebuild.userpriv_disabled] In thread ID '10351':
... In program paludis -i --dl-blocks discard app-text/poppler-utils:
... When performing install action from command line:
... When executing install task:
... When installing 'app-text/poppler-utils-0.10.7:0::gentoo':
... When checking permissions on '/var/tmp/paludis' for userpriv:
... Directory '/var/tmp/paludis' owned by group 'root', not
'paludisbuild', so cannot enable userpriv
>>> Running ebuild phase killold as root:root...
>>> Starting builtin_killold
>>> Done builtin_killold
>>> Completed ebuild phase killold
>>> Running ebuild phases init saveenv as root:root...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
>>> Done pkg_setup
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv setup saveenv
>>> Running ebuild phases loadenv unpack saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_unpack
>>> Unpacking poppler-0.10.7.tar.gz to /var/tmp/paludis/app-text-poppler-utils-0.10.7/work
tar zxf /usr/portage/distfiles/poppler-0.10.7.tar.gz --no-same-owner
>>> Done src_unpack
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv unpack saveenv
>>> Running ebuild phases loadenv prepare saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_prepare
* Running elibtoolize in: poppler-0.10.7
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
>>> Done src_prepare
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv prepare saveenv
>>> Running ebuild phases loadenv configure saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_configure
econf: updating
/var/tmp/paludis/app-text-poppler-utils-0.10.7/work/poppler-0.10.7/config.guess
with /usr/share/gnuconfig/config.guess
econf: updating
/var/tmp/paludis/app-text-poppler-utils-0.10.7/work/poppler-0.10.7/config.sub
with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
--disable-static --enable-poppler-qt4 --enable-poppler-glib
--enable-xpdf-headers --enable-libjpeg --enable-libopenjpeg
--enable-zlib --enable-splash-output --enable-abiword-output
--build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc...
/usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from
x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker
(/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89...
(cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++...
/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64)
is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker
(/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker
(/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to accept ISO
Standard C... (cached) -std=gnu99
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gettimeofday... yes
checking for localtime_r... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... (cached) yes
checking for nanosleep... yes
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseek64... no
checking for ftell64... no
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for opj_cio_open in -lopenjpeg... yes
checking openjpeg.h usability... yes
checking openjpeg.h presence... yes
checking for openjpeg.h... yes
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for POPPLER_GLIB... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for GDK... yes
checking for Qt headers... /usr/qt/3/include
checking for Qt libraries... /usr/qt/3/lib64
checking if Qt needs -pthread... no
checking for POPPLER_QT4... yes
checking for POPPLER_QT4_TEST... yes
checking for Qt4 moc... /usr/bin/moc
checking for GTK_TEST... yes
checking for ABIWORD... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating poppler/Makefile
config.status: creating utils/Makefile
config.status: creating glib/Makefile
config.status: creating glib/poppler-features.h
config.status: creating glib/reference/Makefile
config.status: creating glib/demo/Makefile
config.status: creating test/Makefile
config.status: creating qt/Makefile
config.status: creating qt4/Makefile
config.status: creating qt4/src/Makefile
config.status: creating qt4/tests/Makefile
config.status: creating qt4/demos/Makefile
config.status: creating poppler.pc
config.status: creating poppler-cairo.pc
config.status: creating poppler-splash.pc
config.status: creating poppler-glib.pc
config.status: creating poppler-qt.pc
config.status: creating poppler-qt4.pc
config.status: creating config.h
config.status: creating poppler/poppler-config.h
config.status: poppler/poppler-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Building poppler with support for:
splash output: yes
cairo output: yes
abiword output: yes
qt wrapper: yes
qt4 wrapper: yes
glib wrapper: yes
use GDK: yes
use gtk-doc: no
use libjpeg: yes
use zlib: yes
use libopenjpeg: yes
command line utils: yes

Warning: Using zlib is not totally safe
>>> Done src_configure
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv configure saveenv
>>> Running ebuild phases loadenv compile saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_compile
* Now in /var/tmp/paludis/app-text-poppler-utils-0.10.7/work/poppler-0.10.7/utils
make -j2
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdffonts.o -MD -MP -MF
.deps/pdffonts.Tpo -c -o pdffonts.o pdffonts.cc
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I../poppler -I.. -I../utils -I../poppler -I/usr/include/libxml2
-O2 -march=nocona -pipe -MT parseargs.o -MD -MP -MF
.deps/parseargs.Tpo -c -o parseargs.o parseargs.c
mv -f .deps/parseargs.Tpo .deps/parseargs.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdfimages.o -MD -MP -MF
.deps/pdfimages.Tpo -c -o pdfimages.o pdfimages.cc
mv -f .deps/pdfimages.Tpo .deps/pdfimages.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT ImageOutputDev.o -MD
-MP -MF .deps/ImageOutputDev.Tpo -c -o ImageOutputDev.o
ImageOutputDev.cc
mv -f .deps/pdffonts.Tpo .deps/pdffonts.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdfinfo.o -MD -MP -MF
.deps/pdfinfo.Tpo -c -o pdfinfo.o pdfinfo.cc
pdfinfo.cc: In function 'void printInfoString(Dict*, char*, char*,
UnicodeMap*)':
pdfinfo.cc:363: warning: ignoring return value of 'size_t fwrite(const
void*, size_t, size_t, FILE*)', declared with attribute
warn_unused_result
mv -f .deps/pdfinfo.Tpo .deps/pdfinfo.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT printencodings.o -MD
-MP -MF .deps/printencodings.Tpo -c -o printencodings.o
printencodings.cc
mv -f .deps/ImageOutputDev.Tpo .deps/ImageOutputDev.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdftops.o -MD -MP -MF
.deps/pdftops.Tpo -c -o pdftops.o pdftops.cc
mv -f .deps/printencodings.Tpo .deps/printencodings.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdftotext.o -MD -MP -MF
.deps/pdftotext.Tpo -c -o pdftotext.o pdftotext.cc
mv -f .deps/pdftops.Tpo .deps/pdftops.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdftohtml.o -MD -MP -MF
.deps/pdftohtml.Tpo -c -o pdftohtml.o pdftohtml.cc
pdftotext.cc: In function 'void printInfoString(FILE*, Dict*, char*,
char*, char*, UnicodeMap*)':
pdftotext.cc:352: warning: ignoring return value of 'size_t
fwrite(const void*, size_t, size_t, FILE*)', declared with attribute
warn_unused_result
mv -f .deps/pdftotext.Tpo .deps/pdftotext.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT HtmlFonts.o -MD -MP -MF
.deps/HtmlFonts.Tpo -c -o HtmlFonts.o HtmlFonts.cc
mv -f .deps/pdftohtml.Tpo .deps/pdftohtml.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT HtmlLinks.o -MD -MP -MF
.deps/HtmlLinks.Tpo -c -o HtmlLinks.o HtmlLinks.cc
mv -f .deps/HtmlLinks.Tpo .deps/HtmlLinks.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT HtmlOutputDev.o -MD -MP
-MF .deps/HtmlOutputDev.Tpo -c -o HtmlOutputDev.o HtmlOutputDev.cc
mv -f .deps/HtmlFonts.Tpo .deps/HtmlFonts.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdftoppm.o -MD -MP -MF
.deps/pdftoppm.Tpo -c -o pdftoppm.o pdftoppm.cc
mv -f .deps/pdftoppm.Tpo .deps/pdftoppm.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I..
-I../utils -I../poppler -I/usr/include/libxml2 -Wall
-Wno-write-strings -O2 -march=nocona -pipe -MT pdftoabw.o -MD -MP -MF
.deps/pdftoabw.Tpo -c -o pdftoabw.o pdftoabw.cc
mv -f .deps/pdftoabw.Tpo .deps/pdftoabw.Po
/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++
-Wall -Wno-write-strings -O2 -march=nocona -pipe -Wl,-O1 -o pdffonts
pdffonts.o parseargs.o -lpoppler -lfontconfig -lopenjpeg -lz
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2
-march=nocona -pipe -Wl,-O1 -o pdffonts pdffonts.o parseargs.o
-lpoppler /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so
/usr/lib64/libexpat.so -lopenjpeg -lz
/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++
-Wall -Wno-write-strings -O2 -march=nocona -pipe -Wl,-O1 -o pdfimages
pdfimages.o ImageOutputDev.o parseargs.o -lpoppler -lfontconfig
-lopenjpeg -lz
mv -f .deps/HtmlOutputDev.Tpo .deps/HtmlOutputDev.Po
/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++
-Wall -Wno-write-strings -O2 -march=nocona -pipe -Wl,-O1 -o pdfinfo
pdfinfo.o printencodings.o parseargs.o -lpoppler -lfontconfig
-lopenjpeg -lz
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2
-march=nocona -pipe -Wl,-O1 -o pdfimages pdfimages.o ImageOutputDev.o
parseargs.o -lpoppler /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2
-march=nocona -pipe -Wl,-O1 -o pdfinfo pdfinfo.o printencodings.o
parseargs.o -lpoppler /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz
ImageOutputDev.o: In function `ImageOutputDev::drawImage(GfxState*,
Object*, Stream*, int, int, GfxImageColorMap*, int*, int)':
ImageOutputDev.cc.text+0x2f4): undefined reference to `ImageStream::close()'
collect2: ld returned 1 exit status
make: *** [pdfimages] Error 1
make: *** Waiting for unfinished jobs....
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in app-text/poppler-utils-0.10.7::gentoo:
!!! In poppler_src_compile at line 4107
!!! emake failed

!!! Call stack:
!!! * poppler_src_compile
(/var/tmp/paludis/app-text-poppler-utils-0.10.7/temp/loadsaveenv:4107)
!!! * src_compile
(/var/tmp/paludis/app-text-poppler-utils-0.10.7/temp/loadsaveenv:4311)
!!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:604)
!!! * main (/usr/libexec/paludis/ebuild.bash:632)

diefunc: making ebuild PID 15243 exit with error
die trap: exiting with error.

Install error:
* In program paludis -i --dl-blocks discard app-text/poppler-utils:
* When performing install action from command line:
* When executing install task:
* When installing 'app-text/poppler-utils-0.10.7:0::gentoo':
* When running an ebuild command on 'app-text/poppler-utils-0.10.7:0::gentoo':
* Install failed for 'app-text/poppler-utils-0.10.7:0::gentoo'


Output log: //var/log/paludis/1258991780-install-app-text_poppler-utils-0.10.7:0::gentoo.out
Messages log: //var/log/paludis/1258991780-install-app-text_poppler-utils-0.10.7:0::gentoo.messages

Summary of failures:

* app-text/poppler-utils-0.10.7:0::gentoo: failure

Total: 1 package, 0 successes, 0 skipped, 1 failure, 0 unreached

Resume command: paludis --log-level qa --install --add-to-world-spec
'app-text/poppler-utils' --serialised 0.37
'package;=app-text/poppler-utils-0.10.7:0::gentoo;installed;has_all_deps;P'

* No unread news items found

* Searching for configuration files requiring action...
* No configuration file updates required


And here is the paludis --info app-text/poppler output:

bb alexander # paludis --info app-text/poppler-utils
paludis 0.42.2
Paludis build information:
Compiler:
CXX: x86_64-pc-linux-gnu-g++ 4.3.4
CXXFLAGS: -O2 -march=nocona -pipe
LDFLAGS: -Wl,-O1
DATE: 2009-11-22T19:18:31-0500

Libraries:
C++ Library: GNU libstdc++ 20090804

Paths:
DATADIR: /usr/share
LIBDIR: /usr/lib64
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
PYTHONINSTALLDIR:
RUBYINSTALLDIR:

System:
Linux bb 2.6.30-gentoo-r5bb #5 SMP PREEMPT Fri Nov 20 19:10:10 EST
2009 x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel
GNU/Linux

Reduced Privs:
reduced_uid: 101
reduced_uid->name: paludisbuild
reduced_uid->dir: /var/tmp/paludis
reduced_gid: 1001
reduced_gid->name: paludisbuild

Environment:
Format: paludis
Config dir: /etc/paludis
World file: /var/db/pkg/world

Repository installed-virtuals:
format: installed_virtuals
root: /

Repository virtuals:
format: virtuals

Repository gentoo:
format: ebuild
location: /usr/portage
append_repository_name_to_write_cache: true
binary_destination: false
binary_keywords:
binary_uri_prefix:
builddir: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eapi_when_unknown: 0
eapi_when_unspecified: 0
eclassdirs: /usr/portage/eclass
ignore_deprecated_profiles: false
layout: traditional
names_cache: /usr/portage/.cache/names
newsdir: /usr/portage/metadata/news
profile_eapi_when_unspecified: 0
profiles:
/usr/portage/profiles/default/linux/amd64/10.0/desktop
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://rsync.namerica.gentoo.org/gentoo-portage
sync_options:
use_manifest: use
write_cache: /var/cache/paludis/metadata

Package information:
app-admin/eselect-compiler: (none)
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.4.6 2.5.4-r2 2.6.4 3.1.1-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: (none)
dev-util/cmake: 2.8.0
dev-util/confcache: (none)
sys-apps/baselayout: 1.12.13
sys-apps/openrc: (none)
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13 2.63-r1
sys-devel/automake: 1.10.2 1.4_p6 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2 (for
sys-kernel/linux-headers::installed)

Repository installed:
format: vdb
location: /var/db/pkg
builddir: /var/tmp/paludis
eapi_when_unknown: 0
names_cache: /var/db/pkg/.cache/names
provides_cache: /var/db/pkg/.cache/provides
root: /

Repository installed-unpackaged:
format: installed_unpackaged
location: /var/db/paludis/repositories/installed-unpackaged
root: /

Package app-text/poppler-utils-0.10.7:0::gentoo:

paludis@1258992045: [WARNING e.ebuild.userpriv_disabled] In thread ID '16104':
... In program paludis --info app-text/poppler-utils:
... When handling query 'app-text/poppler-utils':
... When infoing 'app-text/poppler-utils-0.10.7:0::gentoo':
... When checking permissions on '/var/tmp/paludis' for userpriv:
... Directory '/var/tmp/paludis' owned by group 'root', not
'paludisbuild', so cannot enable userpriv
>>> Running ebuild phase killold as paludisbuildaludisbuild...
>>> Starting builtin_killold
>>> Done builtin_killold
>>> Completed ebuild phase killold
>>> Running ebuild phases initmisc infovars as
paludisbuildaludisbuild...
>>> Starting builtin_initmisc
>>> Done builtin_initmisc
>>> Starting builtin_infovars
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -march=nocona -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=
CONFIG_PROTECT_MASK=
CPPFLAGS=
CTARGET=
CXXFLAGS=-O2 -march=nocona -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=
FFLAGS=
GENTOO_MIRRORS=
INSTALL_MASK=
LANG=
LC_ALL=C
LDFLAGS=-Wl,-O1
LINGUAS=
MAKEOPTS=-j2
PORTAGE_COMPRESS=
PORTAGE_COMPRESS_FLAGS=
PORTAGE_CONFIGROOT=
PORTAGE_RSYNC_EXTRA_OPTS=
PORTAGE_RSYNC_OPTS=
PORTAGE_TMPDIR=/var/tmp/paludis
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=
USE=abiword amd64 alsa_cards_ali5451 alsa_cards_als4000
alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x
alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x
alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938
alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel
alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3
alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx
alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm
alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy
alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop
alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file
alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug
alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter
alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions
apache2_modules_alias apache2_modules_auth_basic
apache2_modules_authn_alias apache2_modules_authn_anon
apache2_modules_authn_dbm apache2_modules_authn_default
apache2_modules_authn_file apache2_modules_authz_dbm
apache2_modules_authz_default apache2_modules_authz_groupfile
apache2_modules_authz_host apache2_modules_authz_owner
apache2_modules_authz_user apache2_modules_autoindex
apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs
apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir
apache2_modules_disk_cache apache2_modules_env apache2_modules_expires
apache2_modules_ext_filter apache2_modules_file_cache
apache2_modules_filter apache2_modules_headers apache2_modules_include
apache2_modules_info apache2_modules_log_config apache2_modules_logio
apache2_modules_mem_cache apache2_modules_mime
apache2_modules_mime_magic apache2_modules_negotiation
apache2_modules_rewrite apache2_modules_setenvif
apache2_modules_speling apache2_modules_status
apache2_modules_unique_id apache2_modules_userdir
apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics kernel_linux lcd_devices_bayrad
lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk
lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001
lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text userland_GNU
video_cards_intel video_cards_vesa amd64
>>> Done builtin_infovars
>>> Completed ebuild phases initmisc infovars
>>> Running ebuild phase tidyup as paludisbuildaludisbuild...
>>> Starting builtin_tidyup
rm -fr /var/tmp/paludis/app-text-poppler-utils-0.10.7-info
>>> Done builtin_tidyup
>>> Completed ebuild phase tidyup


Is this a bug, or do I have some problem with my system?

Best,

Alexander
 
Old 11-23-2009, 10:33 PM
walt
 
Default app-text/poppler-utils install fails

On 11/23/2009 08:02 AM, Alexander wrote:

Hi,

I'm trying to upgrade app-text/poppler-utils (as part of a bigger
system upgrade), but it fails...



libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2
-march=nocona -pipe -Wl,-O1 -o pdfinfo pdfinfo.o printencodings.o
parseargs.o -lpoppler /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz
ImageOutputDev.o: In function `ImageOutputDev::drawImage(GfxState*,
Object*, Stream*, int, int, GfxImageColorMap*, int*, int)':
ImageOutputDev.cc.text+0x2f4): undefined reference to `ImageStream::close()'


Just finding the real error in all that junk is the first challenge
in debugging ) I just noticed that the word 'error' doesn't even
appear in the libtool 'error' message. Hrmphh! Yet another black
mark on libtool's report card.

Notice the double colons in "ImageStream::close()". That's a dead
giveaway that this is c++ code. Remember that, because you will see
this kind of c++ problem fairly often.

The usual suspect is that you are now using a different (newer?) gcc
to build poppler-utils than you were using when you compiled the
c++ library that's causing this problem. (Usually, but not always.)

So, which c++ library is causing the problem?

A quick and dirty check:
$grep -r ImageStream /usr/include/*
/usr/include/ImageMagick/magick/image.h: DisassociateImageStream(Image *),
/usr/include/ImageMagick/magick/methods.h:#define DisassociateImageStream PrependMagickMethod(DisassociateImageStream)
/usr/include/poppler/Gfx.h: Stream *buildImageStream();
/usr/include/poppler/Stream.h:// ImageStream
/usr/include/poppler/Stream.h:class ImageStream { <-------- Eureka!


$equery b Stream.h
[ Searching for file(s) Stream.h in *... ]
dev-libs/poppler-0.10.7 (/usr/include/poppler/Stream.h)

So, the guilty party is poppler? Looks like it.

The cheap and dirty remedy is to re-emerge poppler, but just for my
own education (and yours, I hope) I'm slogging ahead:

The ImageStream 'class' should define a 'method' named close(). (This
is the usual and customary object-oriented paradigm.) Take a look at
Stream.h, and look for these lines:

// Close the stream previously reset
void close();

Do you see them? If not, re-emerge poppler and look again. I'd like
to know if I'm on the right track.
 
Old 11-24-2009, 01:33 AM
Alexander
 
Default app-text/poppler-utils install fails

On Mon, Nov 23, 2009 at 6:33 PM, walt <w41ter@gmail.com> wrote:

On 11/23/2009 08:02 AM, Alexander wrote:


Hi,



I'm trying to upgrade app-text/poppler-utils (as part of a bigger

system upgrade), but it fails...





libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2

-march=nocona -pipe -Wl,-O1 -o pdfinfo pdfinfo.o printencodings.o

parseargs.o *-lpoppler /usr/lib64/libfontconfig.so

/usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz

ImageOutputDev.o: In function `ImageOutputDev::drawImage(GfxState*,

Object*, Stream*, int, int, GfxImageColorMap*, int*, int)':

ImageOutputDev.cc.text+0x2f4): undefined reference to `ImageStream::close()'




Just finding the real error in all that junk is the first challenge

in debugging ) *I just noticed that the word 'error' doesn't even

appear in the libtool 'error' message. *Hrmphh! *Yet another black

mark on libtool's report card.



Notice the double colons in "ImageStream::close()". *That's a dead

giveaway that this is c++ code. *Remember that, because you will see

this kind of c++ problem fairly often.



The usual suspect is that you are now using a different (newer?) gcc

to build poppler-utils than you were using when you compiled the

c++ library that's causing this problem. *(Usually, but not always.)



So, which c++ library is causing the problem?



A quick and dirty check:

$grep -r ImageStream /usr/include/*

/usr/include/ImageMagick/magick/image.h: *DisassociateImageStream(Image *),

/usr/include/ImageMagick/magick/methods.h:#define DisassociateImageStream *PrependMagickMethod(DisassociateImageStream)

/usr/include/poppler/Gfx.h: *Stream *buildImageStream();

/usr/include/poppler/Stream.h:// ImageStream

/usr/include/poppler/Stream.h:class ImageStream { * <-------- Eureka!





$equery b Stream.h

[ Searching for file(s) Stream.h in *... ]

dev-libs/poppler-0.10.7 (/usr/include/poppler/Stream.h)



So, the guilty party is poppler? *Looks like it.



The cheap and dirty remedy is to re-emerge poppler, but just for my

own education (and yours, I hope) I'm slogging ahead:


I reinstalled dev-libs/poppler, and now installing app-text/poppler-utils works.
*

The ImageStream 'class' should define a 'method' named close(). (This

is the usual and customary object-oriented paradigm.) Take a look at

Stream.h, and look for these lines:



*// Close the stream previously reset

*void close();



Do you see them? *If not, re-emerge poppler and look again. I'd like

to know if I'm on the right track.



*I checked this, and I could not find this line. Then I reinstalled it, and now it's there.

Thanks for the very informative reply! -- next time I'll know to try this approach too.


Best,

Alexander
 

Thread Tools




All times are GMT. The time now is 07:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org