[MacPorts] #62045: pdflib 7.0.5p3_0.darwin_20.arm64.tbz2: PDF_PLATFORM not defined so build fails

MacPorts noreply at macports.org
Tue Jan 12 17:01:31 UTC 2021


#62045: pdflib 7.0.5p3_0.darwin_20.arm64.tbz2: PDF_PLATFORM not defined so build
fails
----------------------------+--------------------
  Reporter:  erikssorensen  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.4
Resolution:                 |   Keywords:
      Port:  pdflib         |
----------------------------+--------------------

Comment (by mf2k):

 Error appears to be:
 {{{
 :info:build ../../libtool --silent --mode=compile --tag=CC /usr/bin/clang
 -c -isystem/opt/local/include
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
 -I../../libs/pdcore -I../../libs/pdflib  -I../../libs/flate    -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
 -arch arm64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -DPDF_MAC_PLATFORM=\""Mac OS X"\" -DPACKAGE_NAME=\"\"
 -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
 -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
 -Wall    pc_string.c
 :info:build pc_resource.c:1542:21: error: use of undeclared identifier
 'PDF_PLATFORM'
 :info:build                     PDF_PLATFORM, PDC_ISBIGENDIAN ? "be" :
 "le",
 :info:build                     ^
 :info:build 1 error generated.
 }}}

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


More information about the macports-tickets mailing list