[MacPorts] #23783: Ghostscript install fails on Snow Leopard

MacPorts noreply at macports.org
Fri Feb 19 10:24:37 PST 2010


#23783: Ghostscript install fails on Snow Leopard
--------------------------------------+-------------------------------------
 Reporter:  pieter.debaets@…          |       Owner:  takanori@…           
     Type:  defect                    |      Status:  new                  
 Priority:  Normal                    |   Milestone:                       
Component:  ports                     |     Version:  1.8.2                
 Keywords:                            |        Port:  ghostscript          
--------------------------------------+-------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => takanori@…
  * port:  => ghostscript


Old description:

> --->  Computing dependencies for ghostscript
> --->  Fetching ghostscript
> --->  Verifying checksum(s) for ghostscript
> --->  Extracting ghostscript
> --->  Applying patches to ghostscript
> --->  Configuring 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.71"
> && /usr/bin/make so " returned error 2
> Command output: ld: warning: in ./obj/../soobj/gdevm64.o, file is not of
> required architecture
> ld: warning: in ./obj/../soobj/gdevdsha.o, file is not of required
> architecture
> ld: warning: in ./obj/../soobj/siinterp.o, file is not of required
> architecture
> ld: warning: in ./obj/../soobj/siscale.o, file is not of required
> architecture
> ld: warning: in ./obj/../soobj/sidscale.o, file is not of required
> architecture
> ld: warning: in ./obj/../soobj/gp_strdl.o, file is not of required
> architecture
> rm -f ./bin/../sobin/libgs.8.dylib
> ln -s libgs.8.71.dylib ./bin/../sobin/libgs.8.dylib
> rm -f ./bin/../sobin/libgs.dylib
> ln -s libgs.8.71.dylib ./bin/../sobin/libgs.dylib
> /usr/bin/gcc-4.2  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -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 long" -Os -arch i386
> -DUSE_LIBICONV_GNU  -I./obj/../soobj -I./base  -g -o ./bin/../sobin/gsc
> ./psi/dxmainc.c \
>         -L./bin/../sobin -lgs
> ld: warning: in ./bin/../sobin/libgs.dylib, file is not of required
> architecture
> Undefined symbols:
>   "_gsapi_delete_instance", referenced from:
>       _main in ccp5OSc3.o
>   "_gsapi_exit", referenced from:
>       _main in ccp5OSc3.o
>   "_gsapi_init_with_args", referenced from:
>       _main in ccp5OSc3.o
>   "_gsapi_set_stdio", referenced from:
>       _main in ccp5OSc3.o
>   "_gsapi_run_string", referenced from:
>       _main in ccp5OSc3.o
>   "_gsapi_new_instance", referenced from:
>       _main in ccp5OSc3.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [bin/../sobin/gsc] Error 1
> make: *** [so] Error 2

New description:

 {{{
 --->  Computing dependencies for ghostscript
 --->  Fetching ghostscript
 --->  Verifying checksum(s) for ghostscript
 --->  Extracting ghostscript
 --->  Applying patches to ghostscript
 --->  Configuring 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.71"
 && /usr/bin/make so " returned error 2
 Command output: ld: warning: in ./obj/../soobj/gdevm64.o, file is not of
 required architecture
 ld: warning: in ./obj/../soobj/gdevdsha.o, file is not of required
 architecture
 ld: warning: in ./obj/../soobj/siinterp.o, file is not of required
 architecture
 ld: warning: in ./obj/../soobj/siscale.o, file is not of required
 architecture
 ld: warning: in ./obj/../soobj/sidscale.o, file is not of required
 architecture
 ld: warning: in ./obj/../soobj/gp_strdl.o, file is not of required
 architecture
 rm -f ./bin/../sobin/libgs.8.dylib
 ln -s libgs.8.71.dylib ./bin/../sobin/libgs.8.dylib
 rm -f ./bin/../sobin/libgs.dylib
 ln -s libgs.8.71.dylib ./bin/../sobin/libgs.dylib
 /usr/bin/gcc-4.2  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -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 long" -Os -arch i386
 -DUSE_LIBICONV_GNU  -I./obj/../soobj -I./base  -g -o ./bin/../sobin/gsc
 ./psi/dxmainc.c \
         -L./bin/../sobin -lgs
 ld: warning: in ./bin/../sobin/libgs.dylib, file is not of required
 architecture
 Undefined symbols:
   "_gsapi_delete_instance", referenced from:
       _main in ccp5OSc3.o
   "_gsapi_exit", referenced from:
       _main in ccp5OSc3.o
   "_gsapi_init_with_args", referenced from:
       _main in ccp5OSc3.o
   "_gsapi_set_stdio", referenced from:
       _main in ccp5OSc3.o
   "_gsapi_run_string", referenced from:
       _main in ccp5OSc3.o
   "_gsapi_new_instance", referenced from:
       _main in ccp5OSc3.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[1]: *** [bin/../sobin/gsc] Error 1
 make: *** [so] Error 2
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/23783#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list