[MacPorts] #50935: poppler @0.42.0 does not build on 10.5.8 PPC
#50935: poppler @0.42.0 does not build on 10.5.8 PPC ------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: gcc-4.2 | Port: poppler ------------------------+-------------------------------- {{{ ... :info:build /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/openjpeg-1.5 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I.. -I../goo -I/opt/local/include -fPIC -Wall -Woverloaded -virtual -Wnon-virtual-dtor -Wcast-align -fno- exceptions -fno-common -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT libpoppler_la-Decrypt.lo -MD -MP -MF .deps/libpoppler_la-Decrypt.Tpo -c -o libpoppler_la-Decrypt.lo `test -f 'Decrypt.cc' || echo './'`Decrypt.cc :info:build libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/openjpeg-1.5 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I.. -I../goo -I/opt/local/include -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-common -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT libpoppler_la- Decrypt.lo -MD -MP -MF .deps/libpoppler_la-Decrypt.Tpo -c Decrypt.cc -fno-common -DPIC -o .libs/libpoppler_la-Decrypt.o :info:build Decrypt.cc:1447: error: integer constant is too large for ‘long’ type ... :info:build Decrypt.cc:1630: error: integer constant is too large for ‘long’ type :info:build make[3]: *** [libpoppler_la-Decrypt.lo] Error 1 ... }}} However, selecting gcc-mp-5 {{{ sudo port install poppler configure.compiler=macports-gcc-5 }}} works for me. -- Ticket URL: <https://trac.macports.org/ticket/50935> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: gcc-4.2 Port: poppler | -------------------------+---------------------- Changes (by devans@…): * status: new => assigned * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: gcc-4.2 Port: poppler | -------------------------+---------------------- Comment (by devans@…): Blind fix committed in r146906. Let me know if this works for you. -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: gcc-4.2 Port: poppler | -------------------------+---------------------- Comment (by braumann@…): Replying to [comment:2 devans@…]:
Blind fix committed in r146906. Let me know if this works for you.
Thanks, behaves better now, but still has the problem in Decrypt.cc between lines 1623 and 1630: {{{ ... :info:build libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/openjpeg-1.5 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I.. -I../goo -I/opt/local/include -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-common -pipe -Os -arch ppc -D_THREAD_SAFE -pthread -MT libpoppler_la- Decrypt.lo -MD -MP -MF .deps/libpoppler_la-Decrypt.Tpo -c Decrypt.cc -fno-common -DPIC -o .libs/libpoppler_la-Decrypt.o :info:build Decrypt.cc:1623: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1624: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1625: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1626: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1627: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1628: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1629: error: integer constant is too large for ‘long’ type :info:build Decrypt.cc:1630: error: integer constant is too large for ‘long’ type :info:build make[3]: *** [libpoppler_la-Decrypt.lo] Error 1 ... }}} Perhaps you can have a look again, thanks. -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: gcc-4.2 Port: poppler | -------------------------+---------------------- Comment (by devans@…): Yes, missed that block. Fixed in r147005. Hopefully that will do it. -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: gcc-4.2 Port: poppler | -------------------------+---------------------- Comment (by braumann@…): Works now, thanks! -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50935: poppler @0.42.0 does not build on 10.5.8 PPC -------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: poppler | -------------------------+---------------------- Changes (by devans@…): * cc: devans@… (removed) * keywords: gcc-4.2 => * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/50935#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts