Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#62052 closed defect (fixed)

brotli @1.0.9: breaks linking against brotli libraries (clang: error: unknown argument: '-R/opt/local/lib')

Reported by: Ionic (Mihai Moldovan) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: brotli

Description (last modified by Ionic (Mihai Moldovan))

This version contains a bug breaking all software using pkg-config to link against libbrotlidec (and the other brotli libraries).

Upstream report is at https://github.com/google/brotli/issues/836 - the change has since been reverted as part of https://github.com/google/brotli/pull/838 , but no new version released yet.

Can you backport the patch, please?

This currently breaks other software like libsoup which tries to link against libbrotlidec by querying pkgconfig. Build log of that attached.

Attachments (1)

libsoup.main.log (137.5 KB) - added by Ionic (Mihai Moldovan) 3 years ago.
libsoup.main.log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by Ionic (Mihai Moldovan)

Attachment: libsoup.main.log added

libsoup.main.log

comment:1 Changed 3 years ago by Ionic (Mihai Moldovan)

Description: modified (diff)
Summary: brotli @1.0.9: breaks linking against libbrotlidec (clang: error: unknown argument: '-R/opt/local/lib')brotli @1.0.9: breaks linking against brotli libraries (clang: error: unknown argument: '-R/opt/local/lib')

Affects all brotli C libraries, not just -dec. Clarify.

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In b40cf04328ae6a55b2f8e9d3aa8f373a1d42607d/macports-ports (master):

brotli: Remove -R path from pkg-config files

Closes: #62052

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Note: See TracTickets for help on using tickets.