Your message dated Thu, 07 May 2026 18:33:34 +0000
with message-id <[email protected]>
and subject line Bug#1126018: fixed in r-base 4.6.0-3
has caused the Debian Bug report #1126018,
regarding r-base: Please exclude LDFLAGS from libR.pc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1126018: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126018
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: r-base
Version: 4.5.2-1
Severity: important
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

When building the pkg-config file for libR in src/unix/Makefile.in, the
following stanza,

```
install-pc:
    @$(MKINSTALLDIRS) "$(DESTDIR)$(libdir)/pkgconfig"
    -@$(SED) -e "s:@rhome:$(rhome):" \
      -e "s:@rincludedir:$(rincludedir):" \
      -e "s:@rarch:$(R_ARCH):" \
      -e 's:@libsprivate:$(STATIC_LIBR_PC):' \
      -e 's:@others:$(MAIN_LDFLAGS) $(LDFLAGS):' \
      -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
      > "$(DESTDIR)$(libdir)/pkgconfig/libR.pc"
```

combines MAIN_LDFLAGS with LDFLAGS and sticks it into the "Libs" field
of the resulting libR.pc file. That's not what you want: LDFLAGS
contains the user's linker flags at this point, i.e. whatever they have
in their environment variable.

On Ubuntu we started setting --package-metadata and ran into
https://launchpad.net/bugs/2138363. The --package-metadata flag must not
leak into the pkg-config file.

We applied the attached patch to the Ubuntu package to exclude LDFLAGS
from libR.pc. I forwarded the patches upstream and attached the patch
here.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Attachment: 0001-Exclude-all-LDFLAGS-from-libR.pc.patch
Description: application/mbox


--- End Message ---
--- Begin Message ---
Source: r-base
Source-Version: 4.6.0-3
Done: Dirk Eddelbuettel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
r-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dirk Eddelbuettel <[email protected]> (supplier of updated r-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 May 2026 12:57:51 -0500
Source: r-base
Architecture: source
Version: 4.6.0-3
Distribution: unstable
Urgency: medium
Maintainer: Dirk Eddelbuettel <[email protected]>
Changed-By: Dirk Eddelbuettel <[email protected]>
Closes: 1126018 1135944
Changes:
 r-base (4.6.0-3) unstable; urgency=medium
 .
   * debian/rules: Ensure LIBR_LDFLAGS is empty when calling 'make install'
     which prevent extra spillage into libR.pc          (Closes: #1126018)
   * debian/Renviron.site: No longer set R_LIBS_SITE here as Renviron already
     sets it via the regularly applied patch            (Closes: #1135944)
Checksums-Sha1:
 99ba53f9b0c72de01918725048f606252ad99582 2848 r-base_4.6.0-3.dsc
 2013d21810bc29685876b0b0b63131c1d56257d8 102024 r-base_4.6.0-3.debian.tar.xz
 6877703afedec7f9857edffbfb07dea1b0ee86b5 19870 r-base_4.6.0-3_amd64.buildinfo
Checksums-Sha256:
 5e6526ff267ed71e07868f65124489a907a29316d8f50e7ab39b6e2fd8f0c4aa 2848 
r-base_4.6.0-3.dsc
 8ddeeed3f828473f51a4d4e9f78535b84e1cbbcacab95f78185a47b8d264f397 102024 
r-base_4.6.0-3.debian.tar.xz
 aead1620577ea530a26dc607049445746087844cc377fda0592e6521762dafdd 19870 
r-base_4.6.0-3_amd64.buildinfo
Files:
 5423c14716cf04a41b22cdba944dd9a5 2848 gnu-r optional r-base_4.6.0-3.dsc
 51bb3d415b8196fa9dfe1c4acf6e15ea 102024 gnu-r optional 
r-base_4.6.0-3.debian.tar.xz
 23cc4f764ca293ec3007a0139259a263 19870 gnu-r optional 
r-base_4.6.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIVAwUBafzWP6FIn+KrmaIaAQh0GBAAvrAFRieHBzQmr4/OXUR4VsRfAjQDOk/G
/LwNFJRT2zGnPh/hGBlM4pn0pKKSkKmx6VosD7AWZf0dzvKZq3CCQnRW9MtMDjUo
EME6Noabhz9ts4hoHhSBFqX375zy96/7kzOF/ZSnYBfjP/DzMehwl2i6bdG4FuoG
3u2VTIEVd+9memSmnDHW5jGC94C+hsgHlOqoXmmQQ+l2Cu9gCSPMlKkgLbRu5qds
+Z8mUThUkwu6Nie/ybE04OZHqZiX4fcg3/kJ1lDFsYhBGOFHyvZiYNZ1tXapscBZ
Q0B3Qk4Az4Wl4HkTicFm0l3IyAzFb1me3bUbCi5qt6Xv4InEhLyUpcDULr5ZY5A9
lNPgekTO8zYwho6hDMngx3PwgkNT6ZFp7hzDdfg9qOWYuVY2PBN8f+B2Nt/8XKcF
pPeMPQSfCOHPKA5ovy/kgC31GraeAuF0prQV2DNhU7v9wG7aI9iTLXYdYlhDmsWz
72o0s0XbHdfo8PyYiKAdVIrUttKx6qgwabmcMIPmH4rQGtolXwxM25k8JfmO5HAS
Dgw6Hj6SBtQfVOugvc4J0kAPUoo8yZVoi+Afzt5G7vOyf8Zpc9XsoXmdiUc5G2rp
qHJaTRQ5h9uam3krn1rA4wPERThVygKkUowSOPD4Es5YYtqrfdqmYRPfMyOipi/R
0ni+VK4ChHY=
=lqVh
-----END PGP SIGNATURE-----

Attachment: pgpBqqD_TcHD1.pgp
Description: PGP signature


--- End Message ---

Reply via email to