[MacPorts] #35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ----------------------------------------+----------------------------------- Reporter: jeanjulien.fleck@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: p5.12-net-cups ----------------------------------------+----------------------------------- When trying to build auto-multiple-choice port on OSX.8.1 with Xcode 4.4.1, I got stuck on building p5.12-net-cups dependancies with the main error {{{ make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -net-cups/p5.12-net-cups/work/Net-CUPS-0.61' /usr/bin/clang -c -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack- protector -I/opt/local/include -arch x86_64 -O3 -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" "-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi- 2level/CORE" CUPS.c CUPS.xs:10:10: fatal error: 'cups/image.h' file not found #include <cups/image.h> ^ 1 error generated. make: *** [CUPS.o] Error 1 }}} See attached file for full logs -- Ticket URL: <https://trac.macports.org/ticket/35899> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ----------------------------------------+----------------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: p5.12-net-cups ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => clot@… * cc: clot@…, jeanjulien.fleck@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ----------------------------------------+----------------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: p5.12-net-cups ----------------------------------------+----------------------------------- Comment(by pamcp@…): Can you find the file `cups/image.h` somewhere on your system? {{{ locate cups/image.h }}} -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ----------------------------------------+----------------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: p5.12-net-cups ----------------------------------------+----------------------------------- Comment(by jeanjulien.fleck@…): Sure: {{{ ~> locate cups/image.h /Developer/SDKs/MacOSX10.5.sdk/usr/include/cups/image.h /Developer/SDKs/MacOSX10.6.sdk/usr/include/cups/image.h }}} -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: p5.12-net-cups | ---------------------------------+-------------------- Comment (by jmr@…): It's expecting to have /usr/include/cups/image.h. I don't have 10.8 to check, but that file is certainly gone from the 10.8 SDK (it's present in 10.7). -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Changes (by jmr@…): * keywords: => mountainlion Comment: Upstream bug report seems related: https://rt.cpan.org/Public/Bug/Display.html?id=78583 I don't know if 10.8 has cupsfilters/image.h though. -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by Joel.Brogniart@…): I have the same problem (OS X 10.8.2). Attemp to install p5.12-net-cups fail. {{{ masterbook:~ bgates$ sudo port install p5.12-net-cups ---> Computing dependencies for p5.12-net-cups ---> Fetching archive for p5.12-net-cups ---> Attempting to fetch p5.12-net-cups-0.610.0_2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/p5.12-net-cups ---> Attempting to fetch p5.12-net-cups-0.610.0_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.12 -net-cups ---> Attempting to fetch p5.12-net-cups-0.610.0_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/p5.12-net-cups ---> Fetching distfiles for p5.12-net-cups ---> Verifying checksum(s) for p5.12-net-cups ---> Extracting p5.12-net-cups ---> Configuring p5.12-net-cups ---> Building p5.12-net-cups Error: org.macports.build for port p5.12-net-cups returned: command execution failed Please see the log file for port p5.12-net-cups for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5 -net-cups/p5.12-net-cups/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p5.12-net-cups failed }}} Log excerpt: {{{ :info:build /usr/bin/clang -c -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack- protector -I/opt/local/include -arch x86_64 -O3 -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" "-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi- 2level/CORE" CUPS.c :info:build CUPS.xs:10:10: fatal error: 'cups/image.h' file not found :info:build #include <cups/image.h> :info:build ^ :info:build 1 error generated. }}} There is a "cups/image.h" file in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/cups/image.h" (only with 10.7 SDK). There is also a "/usr/include/cups" folder but no "image.h" file in it. -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by jessenthiesen@…): Hi, I have the same problem with installing p5.12-net-cups on mountain lion. The error log is also 'cups/image.h' file not found. Is there a solution or a workaround? I dont understand the Posting: Upstream bug report seems related: https://rt.cpan.org/Public/Bug/Display.html?id=78583 Shoud I install the patch? When I have to do so, please tell me how. Kind retreats Holger -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by tibibi@…): Hi I have the same problem with p5.12-net-cups and 'cups/image.h' file not found I am on X.8.2 Did you get the solution ? Thanks you Replying to [comment:5 jeanjulien.fleck@…]:
Sure:
{{{ ~> locate cups/image.h /Developer/SDKs/MacOSX10.5.sdk/usr/include/cups/image.h /Developer/SDKs/MacOSX10.6.sdk/usr/include/cups/image.h }}}
-- Ticket URL: <https://trac.macports.org/ticket/35899#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by Joel.Brogniart@…): Actual version of net-cups won't work with Mountain Lion (and CUPS 1.6) as it depends on filters that are no longer available with CUPS 1.6. -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by akim.demaille@…): This is blocking packages such as 'auto-multiple-choice'. -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by devans@…): Has duplicate #42477. -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#35899: p5.12-net-cups @0.610.0, Revision 2 (perl), 'cups/image.h' file not found, build failure ---------------------------------+-------------------------- Reporter: jeanjulien.fleck@… | Owner: clot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5.12-net-cups | ---------------------------------+-------------------------- Comment (by donovan.worrell@…): Replying to [ticket:35899 jeanjulien.fleck@…]: I created the new ticket #[ticket:42477] and just saw it was closed ... So my question stands... Forgive me I'm new to this, it's been 18+ months since the ticket you're saying is a duplicate. Why hasn't the patch been applied to the build script or main src yet? The issue may be the same, but the versions of software and build systems are different... As for it being an upstream issue; from the logs of what I've read, this patch should have been include already. So why is it failing still? -- Ticket URL: <https://trac.macports.org/ticket/35899#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts