[opensuse-packaging] LEAP 42.1 Build failed: ncurses was not found in the pkg-config search path
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress Currently it does not build for opensuse 42.1 with the error: [ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found How can i fix it? And why it is building fine for opensuse 13.2? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)? HTh Ax -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
No. How can I write such conditional requirement? On Sat, Feb 20, 2016 at 9:17 PM, Axel Braun <axel.braun@gmx.de> wrote:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
HTh Ax -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi [wrong quoting fixed] Am Samstag, 20. Februar 2016, 21:27:40 schrieb Roman Evstifeev:
On Sat, Feb 20, 2016 at 9:17 PM, Axel Braun <axel.braun@gmx.de> wrote:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
No. How can I write such conditional requirement?
%if 0%{?suse_version} > 1320 BuildRequires: libncurses5 %endif (dont know the correct build number for Leap, but that should be in the packaging mailing archive) Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
I just tried to add unconditional "BuildRequires: libncurses5" and it didn't help. On Sat, Feb 20, 2016 at 10:23 PM, Axel Braun <axel.braun@gmx.de> wrote:
Hi
[wrong quoting fixed] Am Samstag, 20. Februar 2016, 21:27:40 schrieb Roman Evstifeev:
On Sat, Feb 20, 2016 at 9:17 PM, Axel Braun <axel.braun@gmx.de> wrote:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
No. How can I write such conditional requirement?
%if 0%{?suse_version} > 1320 BuildRequires: libncurses5 %endif
(dont know the correct build number for Leap, but that should be in the packaging mailing archive)
Axel
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Saturday 2016-02-20 20:50, Roman Evstifeev wrote:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found I just tried to add unconditional "BuildRequires: libncurses5" and it didn't help.
Of course it does not. Why should it? Who suggested that? *.pc files are generally found in -devel packages, not in library packages. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
20.02.2016 21:17, Axel Braun пишет:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
He already has BuildRequires for ncurses-devel and pkg-config. Why they work on 13.2 but fail on 13.1 and TW? Why ncurses-devel does not pull in libncurses? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Andrei Borzenkov <arvidjaar@gmail.com> writes:
20.02.2016 21:17, Axel Braun пишет:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
He already has BuildRequires for ncurses-devel and pkg-config. Why they work on 13.2 but fail on 13.1 and TW? Why ncurses-devel does not pull in libncurses?
This is about ncurses.pc, not libncurses*. pkg-config only knows about *.pc files, if they are missing then it will bail out. There is no ncurses.pc in ncurses-devel on 42.1. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
22.02.2016 11:54, Andreas Schwab пишет:
Andrei Borzenkov <arvidjaar@gmail.com> writes:
20.02.2016 21:17, Axel Braun пишет:
Am Samstag, 20. Februar 2016, 21:01:04 schrieb Roman Evstifeev:
Hi. I created a package https://build.opensuse.org/package/show/home:rwman/progress
Currently it does not build for opensuse 42.1 with the error:
[ 33s] Package ncurses was not found in the pkg-config search path. [ 33s] Perhaps you should add the directory containing `ncurses.pc' [ 33s] to the PKG_CONFIG_PATH environment variable [ 33s] No package 'ncurses' found
How can i fix it? And why it is building fine for opensuse 13.2?
Did you try to add a conditional build requirement for libncurses5 (and potentially ncurses-utils)?
He already has BuildRequires for ncurses-devel and pkg-config. Why they work on 13.2 but fail on 13.1 and TW? Why ncurses-devel does not pull in libncurses?
This is about ncurses.pc, not libncurses*.
Yes, of course.
pkg-config only knows about *.pc files, if they are missing then it will bail out. There is no ncurses.pc in ncurses-devel on 42.1.
Indeed. Is it intentional or should be considered a bug? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Andrei Borzenkov <arvidjaar@gmail.com> writes:
Indeed. Is it intentional or should be considered a bug?
It's a bug in the package that requires its existence. Pkgconfig files are optional. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Ok. I looked at the ncurses.spec and it does have *.pc files in the ncurses-devel: %{_libdir}/pkgconfig/*.pc I wonder how it happened that it is absent in the openSUSE 42.1 build? On Mon, Feb 22, 2016 at 1:08 PM, Andreas Schwab <schwab@suse.de> wrote:
Andrei Borzenkov <arvidjaar@gmail.com> writes:
Indeed. Is it intentional or should be considered a bug?
It's a bug in the package that requires its existence. Pkgconfig files are optional.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Le mercredi 24 février 2016 à 18:20 +0300, Roman Evstifeev a écrit :
Ok. I looked at the ncurses.spec and it does have *.pc files in the ncurses-devel: %{_libdir}/pkgconfig/*.pc
I wonder how it happened that it is absent in the openSUSE 42.1
build? It is quite simple: ncurses-devel in Leap 42.1 is inherit from SLE12 SP1 where the pkgconfig wasn't shipped (because it wasn't in upstream tarball when ncurses was shipped for SLE12. -- Frederic Crozat Enterprise Desktop Release Manager SUSE -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (6)
-
Andreas Schwab
-
Andrei Borzenkov
-
Axel Braun
-
Frederic Crozat
-
Jan Engelhardt
-
Roman Evstifeev