[MacPorts] #61479: ghostscript @9.52 does build with error on Big Sur, macOS 11.0.1

MacPorts noreply at macports.org
Sun Nov 15 21:42:13 UTC 2020


#61479: ghostscript @9.52 does build with error on Big Sur, macOS 11.0.1
--------------------------+--------------------
  Reporter:  ballapete    |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:  bigsur
      Port:  ghostscript  |
--------------------------+--------------------

Comment (by ballapete):

 That `warning` comes up here:

 {{{
 --->  Patching gl2_chars.pl: s|/usr/bin/perl|/opt/local/bin/perl|
 DEBUG: Executing reinplace: /usr/bin/sed
 s|/usr/bin/perl|/opt/local/bin/perl|
 </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostpdl-9.52/pcl/tools/gl2_chars.pl
 >@file9
 Warning: reinplace s|/usr/bin/perl|/opt/local/bin/perl| didn't change
 anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostpdl-9.52/pcl/tools/gl2_chars.pl
 DEBUG: euid/egid changed to: 0/0
 DEBUG: chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostpdl-9.52/pcl/tools/gl2_chars.pl
 to macports
 }}}

 early before the `configure` step. At its end this is reported:

 {{{
 checking byteswap support... yes
 checking for byteswap.h... no
 checking whether to explicitly disable strict aliasing... yes
 configure: creating ./config.status
 config.status: creating Makefile
 configure: WARNING: unrecognized options: --enable-gpdl
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: build phase started at Sun Nov 15 22:16:59 CET 2020
 --->  Building ghostscript
 }}}

 This `configure` option ist gone. A `libno_gpdl.9.52.dylib` (and also
 `libno_gpcl6.9.52.dylib` and `libno_gxps.9.52.dylib`) is built,

 {{{
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostpdl-9.52'
 /Library/Developer/CommandLineTools/usr/bin/make -f Makefile GS_DOT_O=
 REALMAIN_OBJ= GS_XE=./sobin/libgs.9.52.dylib
 GPCL_XE=./sobin/libno_gpcl6.9.52.dylib
 GXPS_XE=./sobin/libno_gxps.9.52.dylib
 GPDL_XE=./sobin/libno_gpdl.9.52.dylib DISPLAY_DEV=./soobj/display.dev
 BUILDDIRPREFIX=so GENOPT='' GS_LDFLAGS='-Lsobin -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -arch x86_64   -dynamiclib -install_name /opt/local/lib/libgs.9.52.dylib'
 PCL_LDFLAGS='-Lsobin -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -arch x86_64   -dynamiclib -install_name
 /opt/local/lib/libno_gpcl6.9.52.dylib' XPS_LDFLAGS='-Lsobin
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -arch x86_64   -dynamiclib -install_name
 /opt/local/lib/libno_gxps.9.52.dylib'          PDL_LDFLAGS='-Lsobin
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -arch x86_64   -dynamiclib -install_name
 /opt/local/lib/libno_gpdl.9.52.dylib' CFLAGS='-O2 -DNDEBUG -fPIC
 -isystem/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -Wall
 -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
 -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement
 -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1
 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1
 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1
 -DGS_MEMPTR_ALIGNMENT=8  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64 -DHAVE_RESTRICT=1 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER  -fno-strict-
 aliasing -DHAVE_POPEN_PROTO=1  ' prefix=/opt/local
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostpdl-9.52'
 /usr/bin/clang   -O2 -DNDEBUG -isystem/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -Wall
 -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
 -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement
 -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1
 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1
 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1
 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1
 -DGS_MEMPTR_ALIGNMENT=8  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64 -DHAVE_RESTRICT=1 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER  -fno-strict-
 aliasing -DHAVE_POPEN_PROTO=1 -DHAVE_POPEN_PROTO=1  -I./base -o
 ./soobj/aux/genconf ./base/genconf.c  -lm -ldl  -liconv -L/opt/local/lib
 -lidn -lpaper -L/opt/local/lib -ltiff  -lfontconfig -lfreetype -lfreetype
 -L/opt/local/lib -lopenjp2  -lz
 }}}

 but never installed:

 {{{
 -rwxr-xr-x   1 root     admin     51152 15. Nov 17:52 libXss.1.dylib
 -rw-r--r--   1 root     admin      7064 15. Nov 17:52 libXss.a
 lrwxr-xr-x   1 root     admin        14 15. Nov 17:52 libXss.dylib ->
 libXss.1.dylib
 -rwxr-xr-x   1 root     admin  11784208 15. Nov 17:41 libgs.9.52.dylib
 lrwxr-xr-x   1 root     admin        16 15. Nov 17:41 libgs.9.dylib ->
 libgs.9.52.dylib
 lrwxr-xr-x   1 root     admin        16 15. Nov 17:41 libgs.dylib ->
 libgs.9.52.dylib
 drwxr-xr-x   5 root     admin       160 15. Nov 17:40 openjpeg-2.3
 lrwxr-xr-x   1 root     admin        22 15. Nov 17:40 libopenjp2.7.dylib
 -> libopenjp2.2.3.1.dylib
 -rw-r--r--   1 root     admin    334976 15. Nov 17:40 libopenjp2.a
 lrwxr-xr-x   1 root     admin        18 15. Nov 17:40 libopenjp2.dylib ->
 libopenjp2.7.dylib
 -rwxr-xr-x   1 root     admin    287448 15. Nov 17:40
 libopenjp2.2.3.1.dylib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61479#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list