[MacPorts] #71038: guile-2.2 guile-3.0 pre-built binaries .pc files unexpectedly linked to libatomic_ops

MacPorts noreply at macports.org
Fri Oct 4 13:11:02 UTC 2024


#71038: guile-2.2 guile-3.0 pre-built binaries .pc files unexpectedly linked to
libatomic_ops
------------------------+---------------------------------
 Reporter:  holymonson  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  guile-2.2 guile-3.0
------------------------+---------------------------------
 In guile-3.0 pre-built binaries, `guile-3.0.pc` contains `-latomic_ops`,
 which is unexpected, and does not exist when built from source.

 This will block building of packages that depands on guile if
 libatomic_ops not installed in their system.

 {{{
 ❯ diff -u ./guile-3.0.pc /opt/local/lib/pkgconfig/guile-3.0.pc
 --- ./guile-3.0.pc      2024-10-04 20:40:35.000000000 +0800
 +++ /opt/local/lib/pkgconfig/guile-3.0.pc       2024-09-03
 16:02:21.000000000 +0800
 @@ -22,7 +22,7 @@
  Name: GNU Guile
  Description: GNU's Ubiquitous Intelligent Language for Extension
  Version: 3.0.10
 -Libs: -L${libdir} -lguile-3.0 -L/opt/local/lib -lgc -lpthread
 +Libs: -L${libdir} -lguile-3.0 -L/opt/local/lib -latomic_ops -lgc
 -lpthread
  Libs.private:  -lgmp  -L/opt/local/lib -lffi   \
    -lunistring  -liconv -lintl -Wl,-framework -Wl,CoreFoundation
 \
                 \


 }}}


 I manually checked and it could be found in both
 `guile-3.0-3.0.10_0.darwin_21.x86_64` and
 `guile-2.2-2.2.7_3.darwin_21.x86_64` at least.

 {{{
 ❯ rg atomic_ops /opt/local/var/macports/software/guile*
 /opt/local/var/macports/software/guile-3.0/guile-3.0-3.0.10_0.darwin_21.x86_64/opt/local/lib/pkgconfig/guile-3.0.pc
 25:Libs: -L${libdir} -lguile-3.0 -L/opt/local/lib -latomic_ops -lgc
 -lpthread

 /opt/local/var/macports/software/guile-2.2/guile-2.2-2.2.7_3.darwin_21.x86_64/opt/local/lib/pkgconfig/guile-2.2.pc
 25:Libs: -L${libdir} -lguile-2.2 -L/opt/local/lib -latomic_ops -lgc
 -lpthread

 }}}

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


More information about the macports-tickets mailing list