On Tue, 2011-07-12 at 20:56 +0200, Sascha Manns wrote:
Hello Mates,
atm i'm trying to fix an error in https://build.opensuse.org/package/show?package=perl-Goo- Canvas&project=home%3Asaigkill%3Abranches%3Adevel%3Alanguages%3Aperl
The same error comes in devel:languages.perl
The Log (extract): + cd Goo-Canvas-0.06 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Package goocanvas was not found in the pkg-config search path. Perhaps you should add the directory containing `goocanvas.pc' to the PKG_CONFIG_PATH environment variable No package 'goocanvas' found at Makefile.PL line 52 *** can not find package goocanvas *** check that it is properly installed and available in PKG_CONFIG_PATH at Makefile.PL line 52
But the goocanvas-devel package includes a *.pc: %files devel %defattr(-, root, root) %{_includedir}/%{name}-2.0/ %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %doc %{_datadir}/gtk-doc/html/goocanvas2/
rpm -qp --provides goocanvas-devel-2.0.0-4.1.x86_64.rpm
Hi Sascha, Checking the goocanvas package from Factory 9openSUSE:Factory), the 'provides' list of goocanvas-devel shows: pkgconfig(goocanvas-2.0) = 2.0.0 goocanvas-devel = 2.0.0-4.1 goocanvas-devel(x86-64) = 2.0.0-4.1 => thus, there is no longer goocanvas pkgconfig, but only goocanvas-2.0 (which is not focribly the same). You can try patching the software to detect goocanvas-2.0 (in place of goocanvas), but very likely there are bigger API changes, which preceeded the change of the name. AS a tip for your BuildRequires, for not having to haunt down -devel packages with the right .pc files, simply do: BuildRequires: pkgconfig(goocanvas-2.0) If the package can be found, it will be installed or OBS will give you the 'unresolvable' error. Either way, it helps you not having to go through a full build cycle (which sometimes configure does not abort for 'optional' components). Hope this helps, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org