[opensuse-packaging] SLE11 and libgomp
Hi. Another issue with SLE11 I cannot find information about. I have a package that requires libgomp, but a specific version of it. All other opensuse versions work by BuildRequiring "libgomp.so.1(GOMP_2.0)". But SLE11 doesn't seem to get the hint. Thing is, the build log[0] says libgomp46 is being installed, which ought to be right (libgomp45 works). But somehow, it isn't. I could find the gcc packages in OBS for openSUSE, to try to see what may be wrong with the BuildRequires, and in fact that's how I came up with that buildreq. But not for SLE. Any idea guys? [0] https://build.opensuse.org/package/live_build_log?arch=x86_64&package=octave-forge&project=home%3Aklaussfreire%3Abranches%3Ascience&repository=SLE_11 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Sep 8, 2012 at 9:16 PM, Claudio Freire
Link might no longer be valid, so I'll paste the relevant line: [ 1615s] /usr/src/packages/BUILD/octave-forge/install/tsa-4.2.4/x86_64-suse-linux-gnu-api-v48+/covm_mex.mex: failed to load: /usr/lib64/libgomp.so.1: version `GOMP_2.0' not found (required by /usr/src/packages/BUILD/octave-forge/install/tsa-4.2.4/x86_64-suse-linux-gnu-api-v48+/covm_mex.mex) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Sep 8, 2012 at 9:16 PM, Claudio Freire
I have a package that requires libgomp, but a specific version of it. All other opensuse versions work by BuildRequiring "libgomp.so.1(GOMP_2.0)". But SLE11 doesn't seem to get the hint.
Never mind, solved it. In case it's of interest, with libgomp.so.1(OMP_2.0). OMP instead of GOMP. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 8 Sep 2012, Claudio Freire wrote:
On Sat, Sep 8, 2012 at 9:16 PM, Claudio Freire
wrote: I have a package that requires libgomp, but a specific version of it. All other opensuse versions work by BuildRequiring "libgomp.so.1(GOMP_2.0)". But SLE11 doesn't seem to get the hint.
Never mind, solved it.
In case it's of interest, with libgomp.so.1(OMP_2.0). OMP instead of GOMP.
You should not build-require anything like libgomp.so.1(OMP_2.0). Instead the package requiring libgomp should have a requirement auto-generated by autoreqprov. It should not require a specific version but at least some version (and the symbol versions and RPMs autoreqprov should do the right thing here). Richard. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, Sep 10, 2012 at 6:28 AM, Richard Guenther
On Sat, Sep 8, 2012 at 9:16 PM, Claudio Freire
wrote: I have a package that requires libgomp, but a specific version of it. All other opensuse versions work by BuildRequiring "libgomp.so.1(GOMP_2.0)". But SLE11 doesn't seem to get the hint.
Never mind, solved it.
In case it's of interest, with libgomp.so.1(OMP_2.0). OMP instead of GOMP.
You should not build-require anything like libgomp.so.1(OMP_2.0). Instead the package requiring libgomp should have a requirement auto-generated by autoreqprov. It should not require a specific version but at least some version (and the symbol versions and RPMs autoreqprov should do the right thing here).
I thought so too, but the build does fail without it. So it's a build-time requirement I guess. However, I'll try to see why it's requiring it. It didn't in a previous version of the package, so maybe it's something I can fix. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, Sep 10, 2012 at 11:47 AM, Claudio Freire
You should not build-require anything like libgomp.so.1(OMP_2.0). Instead the package requiring libgomp should have a requirement auto-generated by autoreqprov. It should not require a specific version but at least some version (and the symbol versions and RPMs autoreqprov should do the right thing here).
I thought so too, but the build does fail without it. So it's a build-time requirement I guess.
However, I'll try to see why it's requiring it. It didn't in a previous version of the package, so maybe it's something I can fix.
You were right. The tarball from upstream contained a few binaries that shouldn't have been there. After removing them, everything works without the buildrequire as you said. Thanks. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Claudio Freire
-
Richard Guenther