[Bug 1980494] Re: krb5-multidev is not multi-arch installable due to differences in /usr/bin/krb5-config.mit
Steve Langasek
1980494 at bugs.launchpad.net
Thu Sep 22 15:54:21 UTC 2022
I think the right fix here is to strip the output of dpkg-buildflags
from the config script output. We've definitely had problems before
where leaking dpkg-buildflags into other build tools made it effectively
impossible for dependent packages to work around toolchain issues.
** Changed in: krb5 (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1980494
Title:
krb5-multidev is not multi-arch installable due to differences in
/usr/bin/krb5-config.mit
Status in krb5 package in Ubuntu:
New
Bug description:
I am trying to build wine in a wow64 configuration and need to install
the i386 and amd64 version of the krb5-multidev package on Ubuntu
22.04. The two version are not co-installable due to differences in
the /usr/bin/krb5-config.mit file between the two version of the
package.
The diff between the two files is:
--- krb5-config.mit-i386 2022-06-18 21:32:44.034889873 -0400
+++ krb5-config.mit-amd64 2022-06-18 21:31:37.302149522 -0400
@@ -40,7 +40,7 @@
libdir=/usr/lib/${tripple}/mit-krb5
CC_LINK='$(CC) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CFLAGS) $(LDFLAGS)'
KDB5_DB_LIB=
-LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'
+LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro'
RPATH_FLAG=''
PROG_RPATH_FLAGS=''
PTHREAD_CFLAGS='-pthread'
The krb5-multidev package is co-installable on Debian. It appears that
Ubuntu uses different default linker flags for the i386 and amd64
platforms and Debian does not.
This bug is related to
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1970979
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1980494/+subscriptions
More information about the foundations-bugs
mailing list