[MacPorts] #39956: SL.10.6.8 ghostscript "error: /include: not a directory", but: /opt/local/include has many .h files

MacPorts noreply at macports.org
Fri Aug 2 08:05:06 PDT 2013


#39956: SL.10.6.8 ghostscript "error: /include: not a directory", but:
/opt/local/include has many .h files
--------------------------+------------------------
  Reporter:  rmt1@…       |      Owner:  takanori@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.0
Resolution:               |   Keywords:
      Port:  ghostscript  |
--------------------------+------------------------

Comment (by rmt1@…):

 {{{
 $ sudo port clean ghostscript
 --->  Cleaning ghostscript
 $ sudo port install ghostscript
 --->  Computing dependencies for ghostscript
 --->  Fetching archive for ghostscript
 --->  Attempting to fetch ghostscript-9.06_3.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/ghostscript
 --->  Attempting to fetch ghostscript-9.06_3.darwin_10.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/ghostscript
 --->  Attempting to fetch ghostscript-9.06_3.darwin_10.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
 --->  Fetching distfiles for ghostscript
 --->  Verifying checksums for ghostscript
 --->  Extracting ghostscript
 --->  Applying patches to ghostscript
 --->  Configuring ghostscript
 --->  Building ghostscript
 Error: org.macports.build for port ghostscript returned: command execution
 failed
 Please see the log file for port ghostscript for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port ghostscript failed
 $ cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
 version:1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main pkgconfig 0.28_0 exists in the ports tree
 :debug:main pkgconfig 0.28_0  is the latest installed
 :debug:main pkgconfig 0.28_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/pkgconfig
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main Running callback
 portconfigure::add_automatic_compiler_dependencies
 :debug:main Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 :debug:main Running callback
 portbuild::add_automatic_buildsystem_dependencies
 :debug:main Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 :debug:main No need to upgrade! pkgconfig 0.28_0 >= pkgconfig 0.28_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libiconv 1.14_0 exists in the ports tree
 :debug:main libiconv 1.14_0  is the latest installed
 :debug:main libiconv 1.14_0  is active
 :debug:main Merging existing variants '' into variants

 ... (THE WEBPAGE SAID I EXCEEDED THE LIMIT) ...

 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/sha2.o -c ./base/sha2.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./psi -I./soobj -I./soobj -I./base  -o ./soobj/zfarc4.o -c
 ./psi/zfarc4.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/sarc4.o -c
 ./base/sarc4.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./psi -I./soobj -I./soobj -I./base  -o ./soobj/zfaes.o -c ./psi/zfaes.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/saes.o -c ./base/saes.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/aes.o -c ./base/aes.c
 :info:build ./soobj/aux/echogs -e .dev -w- -l-obj ./soobj/macroman -ps
 gs_mro_e
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./psi -I./soobj -I./soobj -I./base  -o ./soobj/zicc.o -c ./psi/zicc.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/gsicc.o -c
 ./base/gsicc.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/gsicc_manage.o -c
 ./base/gsicc_manage.c
 :info:build /usr/bin/gcc-4.2  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32
 -DHAVE_STRERROR -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -pipe -Os
 -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include
 -I./soobj -I./base  -DWHICH_CMS="lcms2" -o ./soobj/gsicc_cache.o -c
 ./base/gsicc_cache.c
 :info:build /usr/bin/gcc-4.2 -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=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1
 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned
 long int" -pipe -Os -arch x86_64 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER
 -I/opt/local/include    -I./soobj -I./base -I/include  -o
 ./soobj/gsicc_lcms2_1.o -c ./base/gsicc_lcms2.c
 :info:build cc1: error: /include: not a directory
 :info:build make[2]: *** [soobj/gsicc_lcms2_1.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06'
 :info:build make[1]: *** [so-subtarget_1] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06'
 :info:build make: *** [so] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06"
 && /usr/bin/make -j2 -w so
 :info:build Exit code: 2
 :error:build org.macports.build for port ghostscript returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 5019 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for ghostscript:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port ghostscript for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
 $}}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39956#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list