[MacPorts] #20279: pdf2djvu (0.5.9_0) does not compile when upgrading outdated ports
MacPorts
noreply at macports.org
Sun Jul 12 23:49:39 PDT 2009
#20279: pdf2djvu (0.5.9_0) does not compile when upgrading outdated ports
---------------------------------------------+------------------------------
Reporter: Josef.Buergler@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: pdf2djvu @0.5.9_0 mutedrenderer | Port: pdf2djvu-0.5.9
---------------------------------------------+------------------------------
Dear Developper
When trying to upgrade pdf2djvu I experienced the following
problem during compilation of pdf2djvu-0.5.9 (see the output
of stdout/stderrd below):
uranus:~ jfb$ sudo port upgrade outdated
---> Fetching fontconfig
---> Attempting to fetch fontconfig-2.7.0.tar.gz from
http://arn.se.distfiles.macports.org/fontconfig
---> Verifying checksum(s) for fontconfig
---> Extracting fontconfig
---> Applying patches to fontconfig
---> Configuring fontconfig
---> Building fontconfig
---> Staging fontconfig into destroot
---> Deactivating fontconfig @2.6.0_2+macosx
---> Installing fontconfig @2.7.0_0+macosx
---> Activating fontconfig @2.7.0_0+macosx
---> Cleaning fontconfig
---> Fetching xorg-libX11
---> Attempting to fetch libX11-1.2.2.tar.bz2 from
http://arn.se.distfiles.macports.org/xorg-libX11
---> Verifying checksum(s) for xorg-libX11
---> Extracting xorg-libX11
---> Configuring xorg-libX11
---> Building xorg-libX11
---> Staging xorg-libX11 into destroot
---> Deactivating xorg-libX11 @1.2.1_0
---> Installing xorg-libX11 @1.2.2_0
---> Activating xorg-libX11 @1.2.2_0
---> Cleaning xorg-libX11
---> Building pdf2djvu
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pdf2djvu/work/pdf2djvu-0.5.9"
&& make all " returned error 2
Command output: /usr/bin/g++-4.0 -O2 -Wall -I/opt/local/include
-I/opt/local/include/poppler -c -o pdf2djvu.o pdf2djvu.cc
pdf2djvu.cc: In member function 'void
MutedRenderer::drawImage(pdf::gfx::State*, pdf::Object*, pdf::Stream*,
int, int, pdf::gfx::ImageColorMap*, int*, pdf::Bool)':
pdf2djvu.cc:290: error: no matching function for call to
'MutedRenderer::drawImage(pdf::gfx::State*&, pdf::Object*&, pdf::Stream*&,
int&, int&, pdf::gfx::ImageColorMap*&, int*&, pdf::Bool&)'
/opt/local/include/poppler/SplashOutputDev.h:150: note: candidates are:
virtual void SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int,
int, GfxImageColorMap*, GBool, int*, GBool)
pdf2djvu.cc: In member function 'void
MutedRenderer::drawMaskedImage(pdf::gfx::State*, pdf::Object*,
pdf::Stream*, int, int, pdf::gfx::ImageColorMap*, pdf::Stream*, int, int,
pdf::Bool)':
pdf2djvu.cc:299: error: no matching function for call to
'MutedRenderer::drawMaskedImage(pdf::gfx::State*&, pdf::Object*&,
pdf::Stream*&, int&, int&, pdf::gfx::ImageColorMap*&, pdf::Stream*&, int&,
int&, pdf::Bool&)'
/opt/local/include/poppler/SplashOutputDev.h:156: note: candidates are:
virtual void SplashOutputDev::drawMaskedImage(GfxState*, Object*, Stream*,
int, int, GfxImageColorMap*, GBool, Stream*, int, int, GBool, GBool)
pdf2djvu.cc: In member function 'void
MutedRenderer::drawSoftMaskedImage(pdf::gfx::State*, pdf::Object*,
pdf::Stream*, int, int, pdf::gfx::ImageColorMap*, pdf::Stream*, int, int,
pdf::gfx::ImageColorMap*)':
pdf2djvu.cc:309: error: no matching function for call to
'MutedRenderer::drawSoftMaskedImage(pdf::gfx::State*&, pdf::Object*&,
pdf::Stream*&, int&, int&, pdf::gfx::ImageColorMap*&, pdf::Stream*&, int&,
int&, pdf::gfx::ImageColorMap*&)'
/opt/local/include/poppler/SplashOutputDev.h:164: note: candidates are:
virtual void SplashOutputDev::drawSoftMaskedImage(GfxState*, Object*,
Stream*, int, int, GfxImageColorMap*, GBool, Stream*, int, int,
GfxImageColorMap*, GBool)
make: *** [pdf2djvu.o] Error 1
...
The same problem appears if I remove pdf2djvu and try to
install it again.
Here are some further information of my setup:
uranus:~ jfb$ uname -a
Darwin JFBs-MBP.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31
22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
Please let me know, if I can help to resolve this problem!
--
Ticket URL: <http://trac.macports.org/ticket/20279>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list