Problem with libhunspell

Hi,

I’m trying to build a package that requires xulrunner-devel from the Mozilla-project. Easy so far, and working for openSUSE 11.4 and factory.

For openSUSE 11.3, the build service says that it is unresolvable:
nothing provides libhunspell-1.2.so.0 needed by mozilla-xulrunner192
…but libhunspell is within the standard 11.3 distribution! Why is it not picked? And how can I fix it?

Thanks for your hints
Ax

Hi
Why not the version from openSUSE, you could potentially screw up
systems by installing your version of xulrunner with your plugin.

Use mozilla-xulrunner192-devel as yopur BuildRequires?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 22:04, 5 users, load average: 0.27, 0.16, 0.17
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Thats exactly the point. I use the openSUSE version:

BuildRequires: mozilla-xulrunner192-devel

Update: as of this morning, the build fails as well for 11.4, as xulrunner is not found:

checking for gcc option to accept ISO C89… none needed
checking for i686-pc-linux-gnu-pkg-config… no
checking for pkg-config… no
checking for XULRUNNER… : WARNING: libxul < 1.9.2 not found, trying another
checking for XULRUNNER… : libxul >= 1.9.2 not found, trying another
checking for XULRUNNER… checking for XULRUNNER… checking for XULRUNNER… checking for XULRUNNER… checking for XULRUNNER… : error: Unable to find xulrunner. Try sudo apt-get install xulrunner-dev.

This is strange, as the build passes this stage yesterday. Is there something going on on the buildservice at the moment?

Hi
There is no pkg-config installed (or in BuildRequires) :wink:

Anyway, I’ve branched you package, clean up the spec file etc and it’s
now building for openSUSE 11.4 and Factory;

I also pulled the original source from github, it’s not good practice
to create a tarball, just need to work around the funnies in ones spec
file.

https://build.opensuse.org/package/show?package=GarminPlugin&project=home%3Amalcolmlewis%3Abranches%3Ahome%3ADocB

I’ve sent SR 78780 your way… enjoy.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 15:13, 6 users, load average: 0.18, 0.27, 0.28
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Thanks for you help :slight_smile:
The error for 11.3 remains - shall I file a bug against it?

Hi
Don’t think it’s a bug. It could be in the project linking on the OBS
project as libhunspell-1.2.so.0 is in 11.3 oss repository
(hunspell-1.2.8).


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 15:53, 4 users, load average: 0.17, 0.17, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

And how can one solve that? Add OSS repo to 11.3 in my raw config?

Hi
There are two issues, hunspell is easy just copypac;


osc copypac openSUSE:11.3:Update/hunspell home:DocB/

Then just build for 11.3

The next issue is tinyxml it’s so linking is wrong for 11.3;


libtinyxml.so -> libtinyxml.so.0.0.0

It should be linked to libtinyxml.so.0.2.6.1, who ever owns this needs
to fix for 11.3. building locally I can just modify the link and it
builds fine.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 17:44, 6 users, load average: 0.40, 0.37, 0.24
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Hi
OK, it’s a conflict between libtinyxml in the Contrib and it’s
successor tinyxml in the devel:libraries:c_c++ repo

Your going to need to play with the project config with some Prefers;
http://en.opensuse.org/openSUSE:Build_Service_prjconf

Do you really need it for 11.3?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 19:25, 5 users, load average: 0.57, 0.39, 0.24
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Hi
There are two issues, hunspell is easy just copypac;


osc copypac openSUSE:11.3:Update/hunspell home:DocB/

Then just build for 11.3

The next issue is tinyxml it’s so linking is wrong for 11.3;


libtinyxml.so -> libtinyxml.so.0.0.0

It should be linked to libtinyxml.so.0.2.6.1, who ever owns this needs
to fix for 11.3. building locally I can just modify the link and it
builds fine.

[/QUOTE]
Hi
OK, it’s a conflict between libtinyxml in the Contrib and it’s
successor tinyxml in the devel:libraries:c_c++ repo

Your going to need to play with the project config with some Prefers;
http://en.opensuse.org/openSUSE:Build_Service_prjconf

Do you really need it for 11.3?

[/QUOTE]
OK, so I just cheated and also did a copypac from the
devel:libraries:c_c++ repo of tinyxml and it now builds for 11.3


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 1:30, 4 users, load average: 0.28, 0.13, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

As of right now, it builds for 11.4, but not for factory and 11.3…so, maybe we should drop the 11.3 support in favor of factory, and I should upgrade my main workplace from 11.3 to 11.4.
Can I revert this by just deleting the local hunspell copy?

Hi
It’s built for 11.3, 11.4 and Factory on my branch, just add tinyxml
from the devel repo and you should be fine.

(Note the i586 failure for Factory is only waiting on a factory build to
publish).


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 14:46, 3 users, load average: 0.15, 0.19, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 280.13