On Tuesday, September 01, 2015 12:57:31 PM the...@sys-concept.com wrote:
> I can seem to emerge poppler, getting error:
> 
> Linking CXX executable pdftocairo
> cd /var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build/utils 
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/pdftocairo.dir/link.txt --
verbose=1
> /usr/bin/x86_64-pc-linux-gnu-g++   -Wall -Wcast-align -fno-exceptions -fno-
check-new -fno-common -march=nocona -O2 -pipe  -Wnon-virtual-dtor -
Woverloaded-virtual   -Wl,-O1 -Wl,--as-needed 
CMakeFiles/pdftocairo.dir/parseargs.cc.o 
CMakeFiles/pdftocairo.dir/pdftocairo.cc.o 
CMakeFiles/pdftocairo.dir/pdftocairo-win32.cc.o 
CMakeFiles/pdftocairo.dir/__/poppler/CairoFontEngine.cc.o 
CMakeFiles/pdftocairo.dir/__/poppler/CairoOutputDev.cc.o 
CMakeFiles/pdftocairo.dir/__/poppler/CairoRescaleBox.cc.o  -o pdftocairo -
rdynamic -lcairo -lfreetype ../libpoppler.so.51.0.0 -lpthread -llcms2 -Wl,-
rpath,/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0_build:
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_finish_compress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_write_scanlines@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to `jpeg_std_error@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to `jpeg_set_quality@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_finish_decompress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to `jpeg_destroy@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_set_defaults@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_read_scanlines@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_CreateCompress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_read_raw_data@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_start_compress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_CreateDecompress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_start_decompress@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_write_tables@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_resync_to_restart@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_set_colorspace@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to `jpeg_read_header@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_write_raw_data@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to `jpeg_abort@LIBJPEG_6.2'
> /usr/lib64/libtiff.so.5: undefined reference to 
`jpeg_suppress_tables@LIBJPEG_6.2'
> collect2: error: ld returned 1 exit status
> utils/CMakeFiles/pdftocairo.dir/build.make:214: recipe for target 
'utils/pdftocairo' failed
> make[2]: *** [utils/pdftocairo] Error 1
> make[2]: Leaving directory '/var/tmp/portage/app-
text/poppler-0.32.0/work/poppler-0.32.0_build'
> CMakeFiles/Makefile2:305: recipe for target 
'utils/CMakeFiles/pdftocairo.dir/all' failed
> make[1]: *** [utils/CMakeFiles/pdftocairo.dir/all] Error 2
> make[1]: Leaving directory '/var/tmp/portage/app-
text/poppler-0.32.0/work/poppler-0.32.0_build'
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
>  * ERROR: app-text/poppler-0.32.0::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info '=app-
text/poppler-0.32.0::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=app-
text/poppler-0.32.0::gentoo'`.
>  * The complete build log is located at '/var/log/portage/app-
text:poppler-0.32.0:20150901-171555.log'.
>  * For convenience, a symlink to the build log is located at 
'/var/tmp/portage/app-text/poppler-0.32.0/temp/build.log'.
>  * The ebuild environment file is located at '/var/tmp/portage/app-
text/poppler-0.32.0/temp/environment'.
>  * Working directory: '/var/tmp/portage/app-
text/poppler-0.32.0/work/poppler-0.32.0_build'
>  * S: '/var/tmp/portage/app-text/poppler-0.32.0/work/poppler-0.32.0'  
> 
> There is a but filed about poppler:
> https://bugs.gentoo.org/show_bug.cgi?id=529182
> 
> Apparently the solution is to use:
> MAKEOPTS="-j1"
> 
> How do you use it?
> 
> MAKEOPTS="-j1" emerge -1aNDv  app-text/poppler        
> 
> It failed as well. Re-emerging it doesn't help.

That bug has nothing to do with your error.
Try rebuilding media-libs/tiff or even better go back to your other posts and 
follow the advice given to address the root of the problem.

-- 
Fernando Rodriguez

Reply via email to