[MacPorts] #20935: Ghostscript failes to build on Snow Leopard
#20935: Ghostscript failes to build on Snow Leopard -----------------------------------------+---------------------------------- Reporter: mwalz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.1 Component: ports | Version: 1.8.0 Keywords: snow leopard, fail, install | Port: ghostscript -----------------------------------------+---------------------------------- Upgraded to Snow Leopard, uninstalled all Ports, uninstalled MacPorts. Installed MacPorts from .dmg (1.8.0 for Snow Leopard). Installed Ports (most worked), but Ghostscript fails with the following error: ---> Computing dependencies for ghostscript ---> Building ghostscript Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.70" && /usr/bin/make so " returned error 2 Command output: /usr/bin/make LDFLAGS='-L/opt/local/lib -L/usr/X11/lib -dynamiclib -install_name /opt/local/lib/libgs.8.70.dylib' GS_XE=./bin/../sobin/libgs.8.70.dylib STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno- builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -arch x86_64 -DUSE_LIBICONV_GNU ' prefix=/opt/local ./bin/../sobin/gsc ./bin/../sobin/gsx make[1]: *** No rule to make target `src/png.c', needed by `obj/../soobj/png.o'. Stop. make: *** [so] Error 2 All dependencies are installed. -- Ticket URL: <http://trac.macports.org/ticket/20935> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript failes to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: mwalz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- Changes (by toby@…): * keywords: snow leopard, fail, install => * version: 1.8.0 => * milestone: MacPorts 1.8.1 => Old description:
Upgraded to Snow Leopard, uninstalled all Ports, uninstalled MacPorts.
Installed MacPorts from .dmg (1.8.0 for Snow Leopard).
Installed Ports (most worked), but Ghostscript fails with the following error:
---> Computing dependencies for ghostscript ---> Building ghostscript Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.70" && /usr/bin/make so " returned error 2 Command output: /usr/bin/make LDFLAGS='-L/opt/local/lib -L/usr/X11/lib -dynamiclib -install_name /opt/local/lib/libgs.8.70.dylib' GS_XE=./bin/../sobin/libgs.8.70.dylib STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno- builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -arch x86_64 -DUSE_LIBICONV_GNU ' prefix=/opt/local ./bin/../sobin/gsc ./bin/../sobin/gsx make[1]: *** No rule to make target `src/png.c', needed by `obj/../soobj/png.o'. Stop. make: *** [so] Error 2
All dependencies are installed.
New description: Upgraded to Snow Leopard, uninstalled all Ports, uninstalled MacPorts. Installed MacPorts from .dmg (1.8.0 for Snow Leopard). Installed Ports (most worked), but Ghostscript fails with the following error: {{{ ---> Computing dependencies for ghostscript ---> Building ghostscript Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.70" && /usr/bin/make so " returned error 2 Command output: /usr/bin/make LDFLAGS='-L/opt/local/lib -L/usr/X11/lib -dynamiclib -install_name /opt/local/lib/libgs.8.70.dylib' GS_XE=./bin/../sobin/libgs.8.70.dylib STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno- builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -arch x86_64 -DUSE_LIBICONV_GNU ' prefix=/opt/local ./bin/../sobin/gsc ./bin/../sobin/gsx make[1]: *** No rule to make target `src/png.c', needed by `obj/../soobj/png.o'. Stop. make: *** [so] Error 2 }}} All dependencies are installed. -- -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: mwalz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- Changes (by snc@…): * owner: macports-tickets@… => takanori@… Comment: This built successfully for me. -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- Comment(by takanori@…): I couldn't reproduce your problem. Anyway, please submit the debug output. You can obtain the debug output like the following, FYI. {{{ $ sudo port clean ghostscript $ sudo port -d install ghostscript > buildlog.txt 2>&1 }}} -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- Comment(by mwalz@…): I've attached the build log. It appears to work now. Nothing has changed since that first report of the problem (no reboot, or other software installed on the target machine). It may be that the clean helped, but I am not sure. Thank you for the assistance. MacPorts is awesome, as is the team supporting it. -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard -----------------------------------+---------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: Port: ghostscript | -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard -----------------------------------+---------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: Port: ghostscript | -----------------------------------+---------------------------------------- Comment(by akim.demaille@…): I have the same problem, and the problem did not disappear magically. See the attached log. For what it's worth, I don't see any src/png.c around there. {{{ $ cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.70" $ sudo make so make LDFLAGS='-L/opt/local/lib -dynamiclib -install_name /opt/local/lib/libgs.8.70.dylib' GS_XE=./bin/../sobin/libgs.8.70.dylib STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing- declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER ' prefix=/opt/local ./bin/../sobin/gsc ./bin/../sobin/gsx make[1]: *** No rule to make target `src/png.c', needed by `obj/../soobj/png.o'. Stop. make: *** [so] Error 2 $ find . -name png.c ./libpng_local/png.c }}} I don't know how to proceed. -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard -----------------------------------+---------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: Port: ghostscript | -----------------------------------+---------------------------------------- Comment(by akim.demaille@…): I have solved my problem by reinstalling cairo and libpng (sudo port uninstall -f and then port install), which dated from my 10.5. Then everything works as expected. -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20935: Ghostscript fails to build on Snow Leopard -----------------------------------+---------------------------------------- Reporter: mwalz@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: Port: ghostscript | -----------------------------------+---------------------------------------- Comment(by jabial@…): Same solution worked for me. -- Ticket URL: <http://trac.macports.org/ticket/20935#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts