[PATCH] binutils/configure: look for msgpack-c.pc (in addition to msgpack.pc)

Jiang, Haochen haochen.jiang@intel.com
Fri May 15 18:03:30 GMT 2026


> From: Simon Marchi <simon.marchi@efficios.com>
> Sent: Friday, May 15, 2026 10:15 PM
> To: Beulich, Jan <JBeulich@suse.com>
> 
> On 2026-05-15 09:44, Jan Beulich wrote:
> > On 07.05.2026 21:23, Simon Marchi wrote:
> >> msgpack.pc was renamed to msgpack-c.pc in this commit [1].  This means
> >> that we now find both in the wild.  For example Debian Bookworm has
> >> msgpack.pc [2] while Debian Trixie has msgpack-c.pc [3].
> >>
> >> Update the check in configure.ac to check for both.  Nothing in the code
> >> needs to change.
> >>
> >> [1] https://github.com/msgpack/msgpack-
> c/commit/01f3d24feee3a06b2a83c89b54fd0ec778d14610
> >> [2] https://packages.debian.org/bookworm/amd64/libmsgpack-
> dev/filelist
> >> [3] https://packages.debian.org/trixie/amd64/libmsgpack-c-dev/filelist
> >
> > Looks plausible, so: Okay, albeit preferably ...
> >
> >> Change-Id: I7e16d7a30669eed947a4a2b95ce1ded7c1d5e49a
> >
> > ... with this line omitted.
> >
> > Jan
> 
> Thanks, pushed with that line removed.
> 

I have now got errors on all my machines everywhere with:

checking for msgpack-c... no
checking for msgpack... no
configure: error: Package requirements (msgpack) were not met:

Package 'msgpack', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MSGPACK_CFLAGS
and MSGPACK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[1]: *** [Makefile:4065: configure-binutils] Error 1
make[1]: Leaving directory '/export/users/haochenj/env/build_master'
make: *** [Makefile:1033: all] Error 2

Should I re-install something? Should it be considered as a breaking
change that needed to be mentioned somewhere?

Thx,
Haochen

> Simon


More information about the Binutils mailing list