Re: g_string_insert_c: assertion 'pos <= string->len' failed

Chapman Flack <[email protected]> Fri, 11 Aug 2017 17:30:40 -0400
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
On 08/11/2017 11:51 AM, Chapman Flack wrote:
> Hi hackers,
> 
> I am trying make check and installcheck from the head of master
> (to test my application/script branch), on Red Hat EL 7.4,
> and I am seeing instances of:
> 
> GLib-CRITICAL **: g_string_insert_c: assertion 'pos <= string->len' failed

This turns out to be a result of the RHEL box having both the
i686 and x86_64 versions of glib2 installed, and the Amanda build
finding the glibconfig.h header from the 32-bit one, but then getting
linked to the 64-bit library.

Now to determine how that happened / how to prevent it.

-Chap