#27089: ghostscript fails to build ----------------------------------+----------------------------------------- Reporter: awaterland@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghostscript ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => takanori@… * port: => ghostscript Old description:
I've tried uninstalling and reinstalling xcode, as well as uninstalling and reinstalling macports itself.
---> Building ghostscript Error: Target org.macports.build returned: shell command failed Log for ghostscript is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/main.log Error: Status 1 encountered during processing.
:info:build /usr/bin/gcc-4.2 -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -O2 -isystem/opt/local/include -Wall -Wstrict-prot otypes -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" -pipe -O2 -arch x86_64 -DUSE_LI BICONV_GNU -DUSE_LIBPAPER -I./obj/../soobj -I./base -g -o ./bin/../sobin/gsc . /psi/dxmainc.c \ :info:build -L./bin/../sobin -lgs :info:build ld: in ./bin/../sobin/libgs.dylib, can't link with a main executable :info:build collect2: ld returned 1 exit status :info:build make[1]: *** [bin/../sobin/gsc] Error 1 :info:build make: *** [so] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-9.00" && /usr/bin/make so " returned error 2
New description: I've tried uninstalling and reinstalling xcode, as well as uninstalling and reinstalling macports itself. {{{ ---> Building ghostscript Error: Target org.macports.build returned: shell command failed Log for ghostscript is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/main.log Error: Status 1 encountered during processing. :info:build /usr/bin/gcc-4.2 -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -O2 -isystem/opt/local/include -Wall -Wstrict-prot otypes -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" -pipe -O2 -arch x86_64 -DUSE_LI BICONV_GNU -DUSE_LIBPAPER -I./obj/../soobj -I./base -g -o ./bin/../sobin/gsc . /psi/dxmainc.c \ :info:build -L./bin/../sobin -lgs :info:build ld: in ./bin/../sobin/libgs.dylib, can't link with a main executable :info:build collect2: ld returned 1 exit status :info:build make[1]: *** [bin/../sobin/gsc] Error 1 :info:build make: *** [so] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-9.00" && /usr/bin/make so " returned error 2 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/27089#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS