[MacPorts] #34636: podofo @0.9.1 - Build error
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: ---------------------------------------+------------------------------------ OS: OS X Lion 10.7.4 [[BR]] Arch: x86_64 [[BR]] Xcode: 4.3.2 [[BR]] MacPorts version: 2.1.1 [[BR]] {{{ $ sudo port install podofo ---> Computing dependencies for podofo ---> Building podofo Error: org.macports.build for port podofo returned: command execution failed Please see the log file for port podofo for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_podofo/podofo/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port podofo failed }}} The log is attached -- Ticket URL: <https://trac.macports.org/ticket/34636> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => devans@… * port: => podofo Comment: In the future, please fill in the Port field and Cc the maintainer(s). This is not a complete log. Please clean the port and try again. If it fails, attach the new log. -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by jose.exposito89@…): Hi! [[BR]] The problem is with the CppUnit test included with PoDoFo, that really are not necessaries. I don't know how to make this in a Portfile, but I hope that something can change the current PoDoFo Portfile to solve the bug. [[BR]] Compile is easiest than: [[BR]] [[BR]] {{{ # Download and extract the source code $ curl -O http://ignum.dl.sourceforge.net/project/podofo/podofo/0.9/podofo-0.9.1.tar.g... $ tar -zxvf podofo-0.9.1.tar.gz # Make the build directory $ cd podofo-0.9.1 $ mkdir build $ cd build # Compile (replace /opt/local with ${prefix} in the Portfile) $ cmake -G "Unix Makefiles" -DWANT_FONTCONFIG:BOOL=TRUE -DPODOFO_BUILD_SHARED:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib -DCMAKE_BUILD_TYPE=RELEASE .. $ make podofo_shared $ sudo make install }}} I don't know how to do "make podofo_shared" in the Portfile :S If someone can help me to do this or fix the port.... -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by jose.exposito89@…): Ah! For the +debug variant replace {{{ -DCMAKE_BUILD_TYPE=RELEASE }}} with {{{ -DCMAKE_BUILD_TYPE=DEBUG }}} And if you want to make PoDoFo as static library make only remove the "-DPODOFO_BUILD_SHARED:BOOL=TRUE" option and make with "make podofo_static": {{{ $ cmake -G "Unix Makefiles" -DWANT_FONTCONFIG:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib -DCMAKE_BUILD_TYPE=RELEASE .. $ make podofo_static }}} -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by jose.exposito89@…): Oops I forgot to put that, to only install the PoDoFo library, you need to cd in the "src" directory before install: {{{ $ cd src $ sudo make install }}} -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by jose.exposito89@…): Finally I have made a Portfile (attached) for PoDoFo and looks like all is OK. I think that the "destroot" is not the better option, but works :P -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by fleason@…): Same issue in Mountain Lion System Version:OS X 10.8 (12A269) Kernel Version:Darwin 12.0.0 {{{ 08:05 AM ~ $ sudo port install scribus +python27 +podofo ---> Computing dependencies for scribus ---> Dependencies to be installed: podofo ---> Fetching archive for podofo ---> Attempting to fetch podofo-0.9.1_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/podofo ---> Attempting to fetch podofo-0.9.1_0.darwin_12.x86_64.tbz2 from http://macports.packages.ionic.de/podofo ---> Fetching distfiles for podofo ---> Verifying checksum(s) for podofo ---> Extracting podofo ---> Configuring podofo ---> Building podofo Error: org.macports.build for port podofo returned: command execution failed Error: Failed to install podofo Please see the log file for port podofo for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_podofo/podofo/main.log Error: The following dependencies were not installed: podofo To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port scribus failed }}} main.log uploaded as ML_mail.log above. -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo @0.9.1 - Build error ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Comment(by fleason@…): By the way, tclIndex is at /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/tclIndex -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup ---------------------------------------+------------------------------------ Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: podofo ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: stmstmstmster@… (added) Comment: jose, please attach a unified diff of your changes instead of a complete portfile. fleason, please ignore the tclIndex error message; it is not relevant. Has duplicate #36035. -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34636: podofo: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup ----------------------------------------+----------------------------------- Reporter: jose.exposito89@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: podofo | ----------------------------------------+----------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Sorry for the delay in getting round to this! Fix committed in r97600 that forces the port to avoid using clang which fixes the problem for me on Lion and (I'm guessing) ML. I think that the rest of the comments/changes are irrelevant to the build problem but if you feel additional changes should be made, please file a new ticket concerning those. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/34636#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts