Bug 497 - /usr/lib/rpm/mageia/pkgconfigdeps.sh fails to add pkgconfig requires
Summary: /usr/lib/rpm/mageia/pkgconfigdeps.sh fails to add pkgconfig requires
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: High critical
Target Milestone: ---
Assignee: Nicolas Vigier
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 04:40 CET by Ahmad Samir
Modified: 2011-03-24 06:29 CET (History)
0 users

See Also:
Source RPM: rpm-mageia-setup-build-1.124-1.mga1
CVE:
Status comment:


Attachments

Description Ahmad Samir 2011-03-23 04:40:34 CET
1) try building libx11 devel, I see in the build log:
Error with pkgconfig(x11)
error: /usr/lib/rpm/mageia/pkgconfigdeps.sh failed

it fails with --print-requires

2) the build on the BS (or locally) didn't exit, the rpms got created, but with missing auto-requires
Comment 1 Ahmad Samir 2011-03-23 04:54:54 CET
This bug explains some weird build failuers on the BS, e.g. :
- on a Mandriva cooker installation
$ urpmq --requires lib64girepository-devel | grep pkgconfi
--requires behaviour changed, use --requires-recursive to get the old behaviour
pkgconfig(glib-2.0)
pkgconfig(gmodule-2.0)
pkgconfig(gmodule-no-export-2.0)
pkgconfig(gobject-2.0)
pkgconfig(gthread-2.0)
pkgconfig(libffi)
pkgconfig

- on a Mageia Cauldron install, there're no pkgconfig auto-requires so I had to add ffi5-devel as a Requires manually in lib64girepository-devel
Comment 2 Nicolas Vigier 2011-03-23 21:17:50 CET
Commit 721 should fix the issue in pkgconfigdeps.sh, and I will update rpm-setup package soon.

However this doesn't explain why rpm does not fail when find-requires fails.
Comment 3 Nicolas Vigier 2011-03-23 23:13:47 CET
New version of rpm-mageia-setup submitted. Using this version, I now have the correct pkgconfig requires and provides on libx11_6-devel package.

And now, as said by Ahmad on IRC, we need to rebuild all packages which have a -devel subpackage with a .pc file and were submitted after Fri Mar  4 2011.
Comment 4 Nicolas Vigier 2011-03-23 23:55:23 CET
After using this command on valstar :
for file in `find /distrib/bootstrap/distrib/cauldron/i586/media/core/release/ -mtime -19 | fgrep .rpm`
do
	if rpm -qpl "$file" | grep -q '\.pc$'
	then
		rpm -qp --qf '%{SOURCERPM}\n' "$file"
	fi
done | sort | uniq

I think that this is the list of packages we need to rebuild :
akonadi-1.5.1-1.mga1.src.rpm
anjuta-2.32.1.1-2.mga1.src.rpm
anthy-9100h-25.20100710.2.mga1.src.rpm
apiextractor-0.10.0-1.mga1.src.rpm
banshee-1.8.1-2.mga1.src.rpm
boo-0.9.3-2.mga1.src.rpm
cairo-xcb-1.10.2-3.mga1.src.rpm
cryptsetup-luks-1.1.3-1.mga1.src.rpm
devhelp-2.32.0-2.mga1.src.rpm
devil-1.7.8-4.mga1.src.rpm
dpkg-1.15.8.4-1.mga1.src.rpm
fcitx-4.0.1-1.mga1.src.rpm
freecell-solver-3.4.0-4.mga1.src.rpm
gammu-1.29.0-1.mga1.src.rpm
generatorrunner-0.6.7-1.mga1.src.rpm
geoclue-0.12.0-4.mga1.src.rpm
gio-sharp-2.22-0.1.mga1.src.rpm
gjs-0.7.13-2.mga1.src.rpm
gkeyfile-sharp-0.1-2.mga1.src.rpm
glabels-2.3.0-4.mga1.src.rpm
gmime-2.4.23-1.mga1.src.rpm
gnash-0.8.9-1.mga1.src.rpm
gnome-js-common-0.1.2-1.mga1.src.rpm
gnome-media-2.32.0-2.mga1.src.rpm
gnutls-2.10.5-1.mga1.src.rpm
gobject-introspection-0.10.4-3.mga1.src.rpm
gtk-sharp-beans-2.13.92-0.1.mga1.src.rpm
gudev-sharp-0.1-1.mga1.src.rpm
gypsy-0.8-1.mga1.src.rpm
hivex-1.2.2-1.mga1.src.rpm
ibus-1.3.9-1.mga1.src.rpm
ibus-table-1.3.0.20100621-2.mga1.src.rpm
ibus-table-extraphrase-1.2.0.20100305-3.mga1.src.rpm
ice-3.3.1-3.mga1.src.rpm
iec16022-0.2.4-3.mga1.src.rpm
ipod-sharp-0.8.5-2.mga1.src.rpm
lash-0.5.4-9.mga1.src.rpm
libalsa2-1.0.24.1-1.mga1.src.rpm
libchewing-0.3.2-4.svn1051.2.mga1.src.rpm
libdbusmenu-0.3.16-2.mga1.src.rpm
libdmapsharing-2.1.9-2.mga1.src.rpm
libev-3.9-4.mga1.src.rpm
libgadu-1.9.1-3.mga1.src.rpm
libgcal-0.9.6-2.mga1.src.rpm
libgexiv2-0.3.0-4.mga1.src.rpm
libgoogle-data-mono-1.6.0.0-1.mga1.src.rpm
libgsasl-1.6.0-1.mga1.src.rpm
libhangul-0.0.12-1.mga1.src.rpm
libHX-3.9.1-1.mga1.src.rpm
libindicate-0.4.4-2.mga1.src.rpm
libkarma-0.1.1-2.mga1.src.rpm
liblrdf-0.4.0-9.mga1.src.rpm
libmpdclient-2.4-1.mga1.src.rpm
libmtp-1.0.4-3.mga1.src.rpm
libmygpo-qt-1.0.0-1.mga1.src.rpm
libotf-0.9.12-2.mga1.src.rpm
libraw-0.13.2-2.mga1.src.rpm
libsoup-2.32.2-2.mga1.src.rpm
libvirt-0.8.8-1.mga1.src.rpm
libvpx-0.9.6-2.mga1.src.rpm
libwpd0.8-0.8.14-4.mga1.src.rpm
libx11-1.4.2-2.mga1.src.rpm
libxt-1.1.1-1.mga1.src.rpm
lv2core-3.0-4.mga1.src.rpm
lxc-0.7.4-2.mga1.src.rpm
m17n-db-1.6.2-1.mga1.src.rpm
m17n-lib-1.6.2-2.mga1.src.rpm
metacity-2.30.3-3.mga1.src.rpm
mono-zeroconf-0.9.0-4.mga1.src.rpm
mythes-1.2.1-2.mga1.src.rpm
notify-sharp-0.4.0-4.mga1.src.rpm
openbabel-2.2.3-6.mga1.src.rpm
opencc-0.2.0-1.mga1.src.rpm
pigment-0.3.17-2.mga1.src.rpm
plymouth-0.8.3-11.mga1.src.rpm
podsleuth-0.6.7-2.mga1.src.rpm
pyside-1.0.0-1.mga1.src.rpm
python-gtkglext-1.1.0-8.mga1.src.rpm
qrencode-3.1.1-3.mga1.src.rpm
rhythmbox-0.13.3-1.mga1.src.rpm
rpm-4.8.1-8.mga1.src.rpm
rrdtool-1.4.5-5.mga1.src.rpm
rubberband-1.5.0-1.mga1.src.rpm
seed-2.31.91-2.mga1.src.rpm
shared-mime-info-0.90-2.mga1.src.rpm
shiboken-1.0.0-1.mga1.src.rpm
slv2-0.6.6-4.mga1.src.rpm
spice-protocol-0.8.0-1.mga1.src.rpm
taglib-sharp-2.0.3.7-3.mga1.src.rpm
ucommon-4.1.7-3.mga1.src.rpm
udev-166-1.mga1.src.rpm
udisks-1.0.2-2.mga1.src.rpm
uim-1.6.1-2.mga1.src.rpm
vamp-plugin-sdk-2.1-2.mga1.src.rpm
verbiste-0.1.32-1.mga1.src.rpm
vlc-1.1.7-6.mga1.src.rpm
x11-driver-input-wacom-0.10.11-2.mga1.src.rpm
xemacs-21.4.22-7.mga1.src.rpm
xulrunner-2.0-2.mga1.src.rpm
Comment 5 Nicolas Vigier 2011-03-24 01:19:55 CET
All packages have now been submitted. Except :
- rpm: after looking at rpm.pc it's not needed for this one
- cairo-xcb: there is some change in current since last submit
Comment 6 Ahmad Samir 2011-03-24 06:29:11 CET
Great, closing as Fixed.

(I think those checks should be proposed upstream..).

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.