Opened 9 years ago

Closed 9 years ago

#47542 closed defect (worksforme)

poppler 0.32.0 has a wrong dependency on openjpeg15

Reported by: jc@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: poppler

Description

poppler compiles on my mac if I remove the openjpeg15 port, and fails if it is present. Yet the poppler port requires openjpeg15, and then fails installing.

Attachments (3)

main.log (186.2 KB) - added by jc@… 9 years ago.
requested main.log
main.2.log (187.2 KB) - added by jc@… 9 years ago.
new log
main.3.log (220.7 KB) - added by jc@… 9 years ago.
new with trace mode

Download all attachments as: .zip

Change History (18)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: poppler openjpeg15 removed
Owner: changed from macports-tickets@… to devans@…
Port: poppler added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers poppler), if any.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Please attach a main.log file showing the failure. It builds fine with openjpeg15 for me.

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Same here. Note that the current version of this port is poppler @0.33.0 so you might want to update your ports before trying again.

comment:4 Changed 9 years ago by dbevans (David B. Evans)

That is, do something like this and post a copy of the logfile if it fails

sudo port selfupdate
sudo port clean poppler
sudo port install poppler

Changed 9 years ago by jc@…

Attachment: main.log added

requested main.log

comment:5 Changed 9 years ago by jc@…

I did what was recommended by devans (including a port upgrade outdated) and it fails the same way. To be sure I am very clear: I downloaded and compiled poppler from http://poppler.freedesktop.org (the up to date version of 6 weeks ago), compiled it manually with openjpeg15 on my machine -> fails, then removed openjpeg15 from my machine, compiled poppler again, success. Then I compared with the macports install failure, and found similar messages. Hence my ticket.

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Do you perhaps have a copy of openjpeg 2, or anything else, installed in /usr/local? If so, remove it, clean poppler, and try again.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 9 years ago by jc@…

Attachment: main.2.log added

new log

comment:7 Changed 9 years ago by jc@…

I removed openjpeg (2.1.0) end uninstalled the poppler compiled manually. Stil crashes with the new log attached.

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Did you mean you uninstalled openjpeg (2.1.0) from MacPorts? That wouldn't have been a problem. (It isn't a problem on my system.) But a manually-installed copy of openjpeg 2 in /usr/local could definitely be a problem. When I searched Google for the errors shown in your log, I found other people having problems building software with openjpeg 2. Is there anything in /usr/local/include and /usr/local/lib on your machine now? If so, what?

comment:9 Changed 9 years ago by jc@…

Yes, I meant "port uninstall openjpeg" on 2.1.0. I also did the same google search yielding stuff about openjpeg 2, it is exactly what prompted my investigations on the openjpeg dependency. I have just looked at /usr/local/lib and /usr/local/include and found nothing of the openjpeg package (I checked the binaries on http://www.openjpeg.org/index.php?menu=download) To be sure, I post below the list of files in /usr/local containing "open":

Jean-Claudes-MacBook-Pro-2:~ dufourd$ ls -lR /usr/local | grep open
drwxr-xr-x  3 dufourd  staff  102 Nov 11  2014 opencore-amr
-rw-r--r--  1 dufourd  staff  4381 Mar 20  2012 ov_fopen.html
-rw-r--r--  1 dufourd  staff  7508 Mar 20  2012 ov_open.html
-rw-r--r--  1 dufourd  staff  6117 Mar 20  2012 ov_open_callbacks.html
-rw-r--r--  1 dufourd  staff  1936 Mar 20  2012 ov_test_open.html
drwxrwxr-x   3 root     wheel     102 Nov 11  2014 openssl
/usr/local/Cellar/node/0.4.7/include/node/openssl:
-rw-rw-r--  1 root  wheel  9580 Dec 19  2013 opensslconf.h
/usr/local/Cellar/opencore-amr:
/usr/local/Cellar/opencore-amr/0.1.2:
/usr/local/Cellar/opencore-amr/0.1.2/include:
drwxr-xr-x  4 dufourd  staff  136 Nov 11  2014 opencore-amrnb
drwxr-xr-x  4 dufourd  staff  136 Nov 11  2014 opencore-amrwb
/usr/local/Cellar/opencore-amr/0.1.2/include/opencore-amrnb:
/usr/local/Cellar/opencore-amr/0.1.2/include/opencore-amrwb:
/usr/local/Cellar/opencore-amr/0.1.2/lib:
-r--r--r--  1 dufourd  staff  177224 Mar 20  2012 libopencore-amrnb.0.dylib
-r--r--r--  1 dufourd  staff  277368 Mar 20  2012 libopencore-amrnb.a
lrwxr-xr-x  1 dufourd  staff      25 Mar 20  2012 libopencore-amrnb.dylib -> libopencore-amrnb.0.dylib
-r--r--r--  1 dufourd  staff   85780 Mar 20  2012 libopencore-amrwb.0.dylib
-r--r--r--  1 dufourd  staff  107096 Mar 20  2012 libopencore-amrwb.a
lrwxr-xr-x  1 dufourd  staff      25 Mar 20  2012 libopencore-amrwb.dylib -> libopencore-amrwb.0.dylib
/usr/local/Cellar/opencore-amr/0.1.2/lib/pkgconfig:
-r--r--r--  1 dufourd  staff  287 Mar 20  2012 opencore-amrnb.pc
-r--r--r--  1 dufourd  staff  296 Mar 20  2012 opencore-amrwb.pc
lrwxr-xr-x  1 dufourd  staff  22 Mar 20  2012 openmpi -> ../Formula/open-mpi.rb
lrwxr-xr-x  1 dufourd  staff  22 Mar 20  2012 openocd -> ../Formula/open-ocd.rb
-rw-r--r--  1 dufourd  staff    399 Mar 20  2012 libopennet.rb
-rw-r--r--  1 dufourd  staff    302 Apr 28  2011 libopenspotify.rb
-rw-r--r--  1 dufourd  staff   2886 Mar 20  2012 open-babel.rb
-rw-r--r--  1 dufourd  staff    502 Mar 20  2012 open-cobol.rb
-rw-r--r--  1 dufourd  staff    569 Mar 20  2012 open-mesh.rb
-rw-r--r--  1 dufourd  staff    680 Mar 20  2012 open-mpi.rb
-rw-r--r--  1 dufourd  staff   7020 Mar 20  2012 open-ocd.rb
-rw-r--r--  1 dufourd  staff    479 Mar 20  2012 open-sg.rb
-rw-r--r--  1 dufourd  staff    463 Mar 20  2012 open-sp.rb
-rw-r--r--  1 dufourd  staff    720 Mar 20  2012 open-tyrian.rb
-rw-r--r--  1 dufourd  staff    359 Mar 20  2012 open-vcdiff.rb
-rw-r--r--  1 dufourd  staff    402 Mar 20  2012 opencc.rb
-rw-r--r--  1 dufourd  staff    424 Mar 20  2012 openconnect.rb
-rw-r--r--  1 dufourd  staff    349 Mar 20  2012 opencore-amr.rb
-rw-r--r--  1 dufourd  staff   5413 Mar 20  2012 opencv.rb
-rw-r--r--  1 dufourd  staff    747 Mar 20  2012 openexr.rb
-rw-r--r--  1 dufourd  staff    360 Mar 20  2012 openfst.rb
-rw-r--r--  1 dufourd  staff   1081 Mar 20  2012 openimageio.rb
-rw-r--r--  1 dufourd  staff    429 Mar 20  2012 openjpeg.rb
-rw-r--r--  1 dufourd  staff    393 Mar 20  2012 openmeeg.rb
-rw-r--r--  1 dufourd  staff    526 Mar 20  2012 opensaml.rb
-rw-r--r--  1 dufourd  staff    564 Mar 20  2012 openslp.rb
-rw-r--r--  1 dufourd  staff    738 Mar 20  2012 openssl.rb
-rw-r--r--  1 dufourd  staff    816 Mar 20  2012 opentracker.rb
-rw-r--r--  1 dufourd  staff   1313 Mar 20  2012 openttd.rb
-rw-r--r--  1 dufourd  staff   3091 Mar 20  2012 openvpn.rb
lrwxr-xr-x  1 dufourd  staff  31 Mar 20  2012 opencore-amr -> ../../Cellar/opencore-amr/0.1.2
-rw-r--r--  1 root  wheel  301 Jun 29  2014 opendiff
-rw-r--r--   1 root     staff   3538 Mar 27  2014 openHevcWrapper.h
lrwxr-xr-x   1 dufourd  staff     51 Mar 20  2012 opencore-amrnb -> ../Cellar/opencore-amr/0.1.2/include/opencore-amrnb
lrwxr-xr-x   1 dufourd  staff     51 Mar 20  2012 opencore-amrwb -> ../Cellar/opencore-amr/0.1.2/include/opencore-amrwb
-rw-r--r--  1 root  wheel  494449 May 19  2010 SDL_opengl.h
-rw-r--r--  1 root  wheel   47169 May 19  2010 SDL_opengles.h
-rw-r--r--@ 1 root  staff  636593 Nov 19  2013 SDL_opengl.h
-rw-r--r--@ 1 root  staff    1230 Nov 19  2013 SDL_opengles.h
-rw-r--r--@ 1 root  staff    1234 Nov 19  2013 SDL_opengles2.h
-rw-r--r--  1 root  wheel  11170 Nov 26  2007 _openbsd.cfg
lrwxr-xr-x   1 dufourd   staff        58 Mar 20  2012 libopencore-amrnb.0.dylib -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrnb.0.dylib
lrwxr-xr-x   1 dufourd   staff        52 Mar 20  2012 libopencore-amrnb.a -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrnb.a
lrwxr-xr-x   1 dufourd   staff        56 Mar 20  2012 libopencore-amrnb.dylib -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrnb.dylib
lrwxr-xr-x   1 dufourd   staff        58 Mar 20  2012 libopencore-amrwb.0.dylib -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrwb.0.dylib
lrwxr-xr-x   1 dufourd   staff        52 Mar 20  2012 libopencore-amrwb.a -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrwb.a
lrwxr-xr-x   1 dufourd   staff        56 Mar 20  2012 libopencore-amrwb.dylib -> ../Cellar/opencore-amr/0.1.2/lib/libopencore-amrwb.dylib
drwxr-xr-x   6 24561   staff  204 Nov 11  2014 opener
-rw-r--r--  1 24561  staff  891 Dec 19  2013 open.js
/usr/local/lib/node_modules/npm/node_modules/opener:
-rwxr-xr-x  1 24561  staff  1907 Dec 19  2013 opener.js
lrwxr-xr-x  1 dufourd  staff   63 Mar 20  2012 opencore-amrnb.pc -> ../../Cellar/opencore-amr/0.1.2/lib/pkgconfig/opencore-amrnb.pc
lrwxr-xr-x  1 dufourd  staff   63 Mar 20  2012 opencore-amrwb.pc -> ../../Cellar/opencore-amr/0.1.2/lib/pkgconfig/opencore-amrwb.pc
-rw-rw-r--  1 root  wheel    1003 Jan 26  2010 a_halfopen.gif
-rw-rw-r--  1 root  wheel    1048 Jan 26  2010 a_open.gif
-rw-r--r--  1 root  staff   6369 May  6  2013 dlopen.c
-rw-r--r--  1 root  staff   9517 May  6  2013 preopen.c
-rwxrwxr-x  1 root     wheel     42064 Jun 29  2012 pdfopen
-rwxr-xr-x  1 root     wheel     18664 May 14  2012 pdfopen
-rw-r--r--  1 root  wheel    5619 May 28  2012 pdfopen.1
-rw-r--r--  1 root  wheel    9506 May 28  2012 pdfopen.man1.pdf
drwxr-xr-x    9 root  wheel   306 Nov 11  2014 opensans
-rw-r--r--  1 root  wheel    1936 Jul 10  2010 opentype.png
/usr/local/texlive/2012/texmf-dist/doc/fonts/opensans:
-rw-r--r--  1 root  wheel  436440 Nov  5  2011 opensans-samples.pdf
-rw-r--r--  1 root  wheel    3057 Aug 27  2011 opensans-samples.tex
-rw-r--r--  1 root  wheel  176727 Nov  5  2011 opensans.pdf
-rw-r--r--  1 root  wheel    8537 Dec  1  2011 opensans.tex
-rw-r--r--  1 root  wheel    20512 Jun  2  2012 beamerugthemeCopenhagen.pdf
-rw-r--r--  1 root  wheel    7079 Dec  7  2011 openmsg_six.eps
-rw-r--r--  1 root  wheel    7690 Dec  7  2011 openmsg_sixinbrowser.eps
-rw-r--r--  1 root  wheel   5212 Jun 30  2000 sampopen.dvi
-rw-rw-r--  1 root  wheel   1408 Jan  9  2006 sampopen.tex
-rw-rw-r--  1 root  wheel    116 Jan  9  2006 blocks3openvx.eps
-rw-rw-r--  1 root  wheel  21994 Jan  9  2006 blocksopen3a.eps
-rw-rw-r--  1 root  wheel   3053 May 30  2009 blocksopen3a.pdf
-rw-rw-r--  1 root  wheel  22058 Jan  9  2006 blocksopen3vx.eps
-rw-rw-r--  1 root  wheel   3233 May 30  2009 blocksopen3vx.pdf
-rw-rw-r--  1 root  wheel  22230 Jan  9  2006 blocksopen3vy.eps
-rw-rw-r--  1 root  wheel   3242 May 30  2009 blocksopen3vy.pdf
drwxr-xr-x   6 root  wheel  204 Nov 11  2014 opentype
drwxr-xr-x   14 root  wheel    476 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/afm/public/opensans:
drwxr-xr-x   6 root  wheel   204 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/enc/dvips/opensans:
-rw-r--r--  1 root  wheel  3294 Dec  1  2011 opensans-01.enc
-rw-r--r--  1 root  wheel  3713 Dec  1  2011 opensans-02.enc
-rw-r--r--  1 root  wheel  3639 Dec  1  2011 opensans-03.enc
-rw-r--r--  1 root  wheel  3605 Dec  1  2011 opensans-04.enc
drwxr-xr-x   3 root  wheel   102 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/opensans:
-rw-r--r--  1 root  wheel  6212 Aug 27  2011 opensans.map
/usr/local/texlive/2012/texmf-dist/fonts/opentype:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/context:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/context/tests:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/gust:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/gust/poltawski:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/nowacki:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/nowacki/iwona:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/nowacki/kurier:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/Asana-Math:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/antt:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/cm-unicode:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/cyklop:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/fdsymbol:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsartemisia:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsbaskerville:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsbodoni:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfscomplutum:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsdidot:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsneohellenic:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfsporson:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gfssolomos:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gnu-freefont:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/inconsolata:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/libertineotf:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/lm:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/mdsymbol:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/mnsymbol:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/ocr-b-outline:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/oldstandard:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/phaistos:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/philokalia:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/punknova:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/semaphor:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/skaknew:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/stix:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/tex-gyre:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/tex-gyre-math:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/umtypewriter:
/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/xits:
drwxr-xr-x   398 root  wheel  13532 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/tfm/public/opensans:
drwxr-xr-x  14 root  wheel  476 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/truetype/public/opensans:
drwxr-xr-x   14 root  wheel    476 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/type1/public/opensans:
drwxr-xr-x  350 root  wheel  11900 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/fonts/vf/public/opensans:
drwxr-xr-x  15 root  wheel   510 Nov 11  2014 opensans
/usr/local/texlive/2012/texmf-dist/source/fonts/opensans:
-rw-r--r--  1 root  wheel   8389 Aug 27  2011 opensans-01.etx
-rw-r--r--  1 root  wheel   8808 Aug 27  2011 opensans-02.etx
-rw-r--r--  1 root  wheel   8734 Aug 27  2011 opensans-03.etx
-rw-r--r--  1 root  wheel   5941 Aug 27  2011 opensans-04.etx
-rw-r--r--  1 root  wheel  88480 Nov  5  2011 opensans-drv.tex
-rw-r--r--  1 root  wheel  11903 Aug 27  2011 opensans-fixcyrillic.mtx
-rw-r--r--  1 root  wheel    926 Aug 27  2011 opensans-fixgreek.mtx
-rw-r--r--  1 root  wheel    981 Aug 27  2011 opensans-fixlatin.mtx
-rw-r--r--  1 root  wheel   1612 Aug 27  2011 opensans-fixtextcomp.mtx
-rw-r--r--  1 root  wheel    729 Aug 27  2011 opensans-map.tex
-rw-r--r--  1 root  wheel    668 Aug 27  2011 opensans-osfigures.etx
-rw-r--r--  1 root  wheel   2691 Mar 31  2012 openmath2.rnc
-rw-r--r--  1 root  wheel   6350 Mar 31  2012 openmath2.rng
-rw-r--r--  1 root  wheel   6240 Mar 31  2012 openmath3.rng
-rw-r--r--  1 root  wheel     4219 May 14  2012 type-imp-lucida-opentype.mkiv
-rw-r--r--  1 root  wheel       90 Jun  1  2011 x-openmath.mkii
-rw-r--r--  1 root  wheel      990 Nov 18  2006 x-openmath.xsl
-rw-r--r--  1 root  wheel    355 May 14  2012 lucida-opentype-math.lfg
drwxr-xr-x   19 root  wheel   646 Nov 11  2014 opensans
-rw-r--r--  1 root  wheel    2672 Sep 28  2009 openbib.sty
-rw-r--r--   1 root  wheel   547 Feb 24  2012 beamerthemeCopenhagen.sty
-rw-rw-r--  1 root  wheel  20941 Jan 13  2006 kluopen.sty
/usr/local/texlive/2012/texmf-dist/tex/latex/opensans:
-rw-r--r--  1 root  wheel  1812 Dec  1  2011 opensans.sty
-rw-r--r--  1 root  wheel  2631 Jun 21  2008 opentype-info.tex
-rw-r--r--  1 root  wheel   59760 Jul  1  2012 opensans.tlpobj
drwxr-xr-x@  2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/doc/fonts/opensans:
drwxr-xr-x@ 2 root  wheel  68 Nov 12  2014 fetopenstrep
/usr/local/texlive/2013/texmf-dist/doc/latex/proposal/examples/fetopenstrep:
drwxr-xr-x@  8 root  wheel   272 Nov 12  2014 opentype
drwxr-xr-x@  2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/afm/public/opensans:
drwxr-xr-x@ 2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/enc/dvips/opensans:
drwxr-xr-x@ 2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/map/dvips/opensans:
/usr/local/texlive/2013/texmf-dist/fonts/opentype:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/adobe:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/adobe/sourcecodepro:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/adobe/sourcesanspro:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/gust:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/gust/poltawski:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/impallari:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/impallari/cabin:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/impallari/librebaskerville:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/impallari/quattrocento:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/nowacki:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/nowacki/iwona:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/nowacki/kurier:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/Asana-Math:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/antt:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/ccicons:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/cm-unicode:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/cyklop:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/ebgaramond:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/fdsymbol:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/fontawesome:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsartemisia:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsbaskerville:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsbodoni:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfscomplutum:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsdidot:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsneohellenic:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfsporson:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gfssolomos:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/gnu-freefont:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/inconsolata:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/libertine:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/lm:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/lm-math:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/mdsymbol:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/mnsymbol:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/ocr-b-outline:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/oldstandard:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/persian-modern:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/phaistos:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/philokalia:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/punknova:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/semaphor:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/skaknew:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/stix:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre-math:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/umtypewriter:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/xits:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/theleagueofmoveabletype:
/usr/local/texlive/2013/texmf-dist/fonts/opentype/theleagueofmoveabletype/raleway:
drwxr-xr-x@ 3 root  wheel  102 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/tfm/public/opensans:
drwxr-xr-x@ 2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/truetype/public/opensans:
drwxr-xr-x@ 2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/type1/public/opensans:
drwxr-xr-x@ 3 root  wheel  102 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/fonts/vf/public/opensans:
drwxr-xr-x@ 2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/source/fonts/opensans:
drwxr-xr-x@  2 root  wheel   68 Nov 12  2014 opensans
/usr/local/texlive/2013/texmf-dist/tex/latex/opensans:

comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Please try moving /usr/local aside (for example, rename it to "/usr/local-off"), then cleaning poppler and trying again. We don't support having things in /usr/local while using MacPorts. See wiki:FAQ#usrlocal

The presence of "/usr/local/Cellar" shows me you have Homebrew installed. We don't support having other package managers installed while using MacPorts either.

Both of these can interfere with MacPorts builds.

Or, you could try trace mode.

sudo port clean poppler
sudo port -t install poppler

Trace mode hides things the port hasn't declared a dependency on. If another copy of openjpeg 2 or another library in /usr/local or even in /opt/local is the cause, this may fix it, but on the other hand trace mode has not yet been tested in every scenario and it may cause additional problems.

comment:11 Changed 9 years ago by jc@…

I moved /usr/local to /usr/local-off, no change. I tried trace mode. New log attached.

Changed 9 years ago by jc@…

Attachment: main.3.log added

new with trace mode

comment:12 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

:info:build JPEG2000Stream.cc:45:3: error: unknown type name 'opj_dinfo_t'; did you mean 'opj_tp_info_t'?
:info:build   opj_dinfo_t *dinfo;
:info:build   ^~~~~~~~~~~
:info:build   opj_tp_info_t
:info:build /opt/local/include/openjpeg.h:754:3: note: 'opj_tp_info_t' declared here
:info:build } opj_tp_info_t;
:info:build   ^

Where did the file /opt/local/include/openjpeg.h come from? I don't have that on my system. What is the result of the command:

port provides /opt/local/include/openjpeg.h

comment:13 Changed 9 years ago by dbevans (David B. Evans)

Where ever it came from this appears to be the cause of the problem.

poppler can be configured to build with either openjpeg15 or openjpeg but the upstream developers recommend openjpeg15 due to regressions in openjpeg 2.0. Our dependency on openjpeg15 ensures this even if openjpeg happens to be installed.

Since openjpeg15 and openjpeg install their openjpeg.h files in versioned subdirectories of /opt/local/include

/opt/local/include/openjpeg-2.1/openjpeg.h
/opt/local/include/openjpeg-1.5/openjpeg.h

any openjpeg.h installed in /opt/local/include will override both these locations during the build.

The build failure reported appears to be consistent with poppler being configured to use openjpeg15 but building with an openjpeg.h from openjpeg (version 2.0+) installed in /opt/local/include.

Last edited 9 years ago by dbevans (David B. Evans) (previous) (diff)

comment:14 Changed 9 years ago by jc@…

I confirm that removing this file solves the problem. This file does not come from macports. Since I have not fiddled with openjpeg in anyway, I assume this was done by someone else of my team who sometimes needs to use my mac for testing. Sorry for the spurious bug report and thanks for the help.

comment:15 Changed 9 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.