[MacPorts] #67871: p5.34-image-sane: installs wrong binaries

MacPorts noreply at macports.org
Sun Jul 30 21:43:49 UTC 2023


#67871: p5.34-image-sane: installs wrong binaries
--------------------+------------------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  p5.34-image-sane
--------------------+------------------------------
 Installing p5.34-image-sane on 10.14 gives us an arm64 binary:

 {{{
 $ gscan2pdf
 Can't load '/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/Image/Sane/Sane.bundle' for module Image::Sane:
 dlopen(/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/Image/Sane/Sane.bundle, 1): no suitable image found.  Did
 find:
         /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/Image/Sane/Sane.bundle: mach-o, but wrong architecture
 }}}

 {{{
 $ file /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/Image/Sane/Sane.bundle
 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/Image/Sane/Sane.bundle: Mach-O 64-bit bundle arm64
 }}}

 presumably removing:
 {{{
 platforms           {darwin any}
 }}}

 and rebuilding will fix this

-- 
Ticket URL: <https://trac.macports.org/ticket/67871>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list