[MacPorts] #60250: fribidi fails to build due to nm

MacPorts noreply at macports.org
Fri Feb 23 00:34:09 UTC 2024


#60250: fribidi fails to build due to nm
-----------------------+---------------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard tiger
      Port:  fribidi   |
-----------------------+---------------------------

Comment (by rmottola):

 I tried adding:


 {{{
 if {${os.platform} eq "darwin" && ${os.major} < 10} {
     depends_build-append port:cctools
     configure.env-append NM=${prefix}/bin/nm
     configure.args-append lt_cv_path_NM=${prefix}/bin/nm
 }
 }}}

 However, I get this strange error:


 {{{
 --->  Configuring libpixman
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.42.2"
 && /opt/local/bin/meson setup --prefix=/opt/local -Dgtk=disabled
 -Dlibpng=disabled -Dmmx=disabled -Dopenmp=disabled
 lt_cv_path_NM=/opt/local/bin/nm
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.42.2
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/build
 --wrap-mode=nodownload
 usage: meson [-h]
 {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help}
 ...
 meson: error: unrecognized arguments:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/build
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.42.2"
 && /opt/local/bin/meson setup --prefix=/opt/local -Dgtk=disabled
 -Dlibpng=disabled -Dmmx=disabled -Dopenmp=disabled
 lt_cv_path_NM=/opt/local/bin/nm
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.42.2
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpixman/libpixman/work/build
 --wrap-mode=nodownload
 Exit code: 2

 }}}

 it is using MP meson.. what's really wrong?

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


More information about the macports-tickets mailing list