[opensuse-packaging] Problem with packaging gettext
Hi, Im trying to package the 0.20.1 version of gettext. my current attempt can be viewed here: https://build.opensuse.org/package/show/home:cvoegl:branches:Base:System/get... This package consists of 4 specfiles: gettext-runtime.spec, gettext-runtime-mini.spec (autogenerated from gettext-runtime.spec) , gettext-java.spec and gettext-csharp.spec In version 0.20.1 the libtextstyle was added, which should be packaged in its own rpm. Therefore I added the libtextstyle0 and libtextstyle0-devel packages to gettext-runtime.spec (and consequently to gettext-runtime-mini.spec). I'm able to build gettext-runtime.spec, gettext-runtime-mini.spec and gettext-csharp.spec. However gettext-java.spec fails with: "[ 306s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: cannot find -ltextstyle" As I have not changed the Makefile from upstream, I assume that the problem is in gettext-java.spec, but I don't know how to proceed from here. -- Christian Vögl <cvoegl@suse.de> Working Student SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
21.06.2019 20:01, Christian Voegl пишет:
Hi,
Im trying to package the 0.20.1 version of gettext.
my current attempt can be viewed here: https://build.opensuse.org/package/show/home:cvoegl:branches:Base:System/get...
This package consists of 4 specfiles: gettext-runtime.spec, gettext-runtime-mini.spec (autogenerated from gettext-runtime.spec) , gettext-java.spec and gettext-csharp.spec
In version 0.20.1 the libtextstyle was added, which should be packaged in its own rpm. Therefore I added the libtextstyle0 and libtextstyle0-devel packages
You cannot install two development packages in parallel (they are using the same paths) so development package must be unversionned.
to gettext-runtime.spec (and consequently to gettext-runtime-mini.spec).
I'm able to build gettext-runtime.spec, gettext-runtime-mini.spec and gettext-csharp.spec.
However gettext-java.spec fails with:
"[ 306s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: cannot find -ltextstyle"
As I have not changed the Makefile from upstream, I assume that the problem is in gettext-java.spec, but I don't know how to proceed from here.
BuildRequires: libtextstyle0-devel I would presume. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Christian! On 6/21/19 7:01 PM, Christian Voegl wrote:
In version 0.20.1 the libtextstyle was added, which should be packaged in its own rpm. Therefore I added the libtextstyle0 and libtextstyle0-devel packages to gettext-runtime.spec (and consequently to gettext-runtime-mini.spec).
The -devel package should not have a SO version suffix as the SO version is relevant for the runtime package only. You should therefore use "libtextstyle0" and "libtextstyle-devel". Adrian N�����r��y隊Z)z{.��ZrF��x>�{.n�+������Ǩ��r��i�m��0��ޙ���������$j���0�����Ǩ�
participants (3)
-
Andrei Borzenkov
-
Christian Voegl
-
John Paul Adrian Glaubitz