[MacPorts] #59642: Failed to build p5.28-font-freetype

MacPorts noreply at macports.org
Fri Nov 8 21:15:56 UTC 2019


#59642: Failed to build p5.28-font-freetype
-------------------------------+----------------------
  Reporter:  alesae77          |      Owner:  dbevans
      Type:  defect            |     Status:  accepted
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:
      Port:  p5-font-freetype  |
-------------------------------+----------------------
Changes (by dbevans):

 * status:  assigned => accepted


Comment:

 Build works fine for me using the same Catalina build configuration. See
 my logfile, attached, for comparison with yours.

 It does, indeed look like you're missing the appropriate Command Line
 Tools.  I had a similar problem when upgrading to Xcode 11.2 which was
 fixed by reinstalling Command Line Tools for Xcode 11.2 after the Xcode
 update. See https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt.

 Note, however, that the first sign of trouble is in configure where your
 build fails to find freetype's ${prefix}/bin/freetype-config and falls
 back to a generic default configuration which will certainly not work.
 Compare your results
 {{{
 :debug:configure
 SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -font-freetype/p5.28-font-freetype/work/Font-FreeType-0.13" &&
 /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
 -font-freetype/p5.28-font-freetype/work/Font-FreeType-0.13" &&
 /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"
 :info:configure Build config: default
 :info:configure Build flag LIB: -lfreetype
 :info:configure Build flag INC: -I/usr/include/freetype2
 :info:configure Can't link/include C library 'ft2build.h', 'freetype',
 aborting.
 }}}

 with mine

 {{{
 :debug:configure
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_Volumes_MiniHD_opt_github
 .com_macports_macports-ports_perl_p5-font-freetype/p5.28-font-
 freetype/work/Font-FreeType-0.13" && /opt/local/bin/perl5.28 Makefile.PL
 INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_Volumes_MiniHD_opt_github
 .com_macports_macports-ports_perl_p5-font-freetype/p5.28-font-
 freetype/work/Font-FreeType-0.13" && /opt/local/bin/perl5.28 Makefile.PL
 INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"
 :info:configure Build config: ft_config
 :info:configure Build flag LIB: -L/opt/local/lib -lfreetype
 :info:configure Build flag INC: -I/opt/local/include/freetype2
 :info:configure Checking if your kit is complete...
 :info:configure Looks good
 :info:configure Generating a Unix-style Makefile
 :info:configure Writing Makefile for Font::FreeType
 :info:configure Writing MYMETA.yml and MYMETA.json
 }}}

 Your final build error

 {{{
 :info:build make: *** No rule to make target `all'.  Stop.
 }}}

 reflects the fact that configure aborted before creating Makefile from
 Makefile.PL.  After fixing the CLT problem, if problems persist, you might
 want to checkout your freetype installation using

 {{{
 $ port contents freetype
 }}}

 Hope this helps. Let us know so I can close your ticket.

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


More information about the macports-tickets mailing list