Bugzilla – Bug 378270
cups-config broken because krb5-config is broken
Last modified: 2016-04-15 09:07:27 UTC
cups-config --libs returns compile flags (-O2 etc) which are not allowed in LDFLAGS, and break packages depending on it: -lcups -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -fno-strict-aliasing -fstack-protector -DLDAP_DEPRECATED -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt ERROR:kdeprint/cups/Makefile.am: variable 'LDADD' contains unknown flag -O2. These should be in LDFLAGS! ERROR:kdeprint/cups/Makefile.am: variable 'LIBADD' contains unknown flag -O2. These should be in LDFLAGS! ERROR:kdeprint/cups/cupsdconf2/Makefile.am: variable 'LIBADD' contains unknown flag -O2. These should be in LDFLAGS!
Thanks. This was introduced by krb5 support. krb5-config shows current $CFLAGS in output (and some rpath stuff). Working on it, new package(s) will be submitted soon. :-)
New packages submitted. Hoping that autobuild will do check-in soon.
The krb5.rpm changelog contains: --------------------------------------------------------------- * Wed Apr 09 2008 mc@suse.de - modify krb5-config to not output rpath and cflags in --libs (bnc#378270) --------------------------------------------------------------- so that the root cause in krb5-config was fixed. Therefore the band-aid cups-krb5-config wrapper script in the cups package is no longer needed and is now removed for openSUSE 11.3. For example the current CUPS 1.4.3 from the Printing project which is built without the cups-krb5-config wrapper script results on x86_64: ------------------------------------------------------------------- root@host# cups-config --libs -lcups -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt -------------------------------------------------------------------
This is an autogenerated message for OBS integration: This bug (378270) was mentioned in https://build.opensuse.org/request/show/38923 Factory / cups