[MacPorts] #27089: ghostscript fails to build
#27089: ghostscript fails to build ----------------------------------+----------------------------------------- Reporter: awaterland@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ----------------------------------+----------------------------------------- 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ----------------------------------+----------------------------------------- Comment(by takanori@…): I tried to re-install ghostscript from scratch but I couldn't reproduce your problem. Anyway, could you show me a whole buildlog? You can obtain it like the following. Thanks. {{{ $ sudo port clean ghostscript $ sudo port install ghostscript (fail to build) $ port log ghostscript > ~/Desktop/buildlog_ghostscript.txt }}} -- Ticket URL: <https://trac.macports.org/ticket/27089#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Comment(by awaterland@…): It appears that I needed to run "port clean" instead of just "port remove". It builds fine now. Sorry for the noise, feel free to close this bug now. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/27089#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27089: ghostscript fails to build -----------------------------------+---------------------------------------- Reporter: awaterland@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: ghostscript | -----------------------------------+---------------------------------------- Changes (by takanori@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/27089#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts