[opensuse-packaging] suse_macros bug on SLE_11?
Hello, The %install_info on SLE_11_SP3 is calling sbin/install-info which is not fully qualified, is this on purpose or is it a bug? I''ve linkpac'd Publishing/texinfo -> devel:languages:R:released and the %post is failing which calls %install_info yet install-info is available in the build-root. [ 116s] Preparing packages for installation... [ 116s] info-5.2-89.1 [ 117s] install-info: No such file or directory for /usr/share/info/info-stnd.info.gz [ 117s] error: %post(info-5.2-89.1.x86_64) scriptlet failed, exit status 1 [ 117s] makeinfo-5.2-89.1 [ 117s] texinfo-5.2-89.1 [ 117s] install-info: No such file or directory for /usr/share/info/texinfo.info.gz [ 117s] install-info: No such file or directory for /usr/share/info/texinfo.info-1.gz [ 117s] install-info: No such file or directory for /usr/share/info/texinfo.info-2.gz [ 117s] install-info: No such file or directory for /usr/share/info/texinfo.info-3.gz [ 117s] error: %post(texinfo-5.2-89.1.x86_64) scriptlet failed, exit status 1 [ 117s] failed to install rpms, aborting build Thanks! -- Later, Darin -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Darin Perusich <darin@darins.net> writes:
The %install_info on SLE_11_SP3 is calling sbin/install-info which is not fully qualified, is this on purpose or is it a bug?
It's a red herring.
[ 116s] Preparing packages for installation... [ 116s] info-5.2-89.1 [ 117s] install-info: No such file or directory for /usr/share/info/info-stnd.info.gz
Obviously, this error message is printed by install-info. You need to find out why /usr/share/info/info-stnd.info.gz wasn't packaged. 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
On Tue, 05 May 2015 11:26:54 +0200 Andreas Schwab wrote:
[ 116s] Preparing packages for installation... [ 116s] info-5.2-89.1 [ 117s] install-info: No such file or directory for /usr/share/info/info-stnd.info.gz
Obviously, this error message is printed by install-info. You need to find out why /usr/share/info/info-stnd.info.gz wasn't packaged.
I have the same issue in a Factory repository (not an error, a warning). [ 151s] install-info: No such file or directory for /usr/share/info/gnubik.info.gz [ 151s] warning: %postun(gnubik-2.4.2-1.1.i586) scriptlet failed, exit status 1 https://build.opensuse.org/package/live_build_log/games/gnubik/openSUSE_Fact... "gnubik.info.gz" is packaged: % rpm -ql gnubik | grep info /usr/share/info/gnubik.info.gz Investigating the "%install_info" macro I see: % rpm -E %install_info ALL_ARGS=() NUM_ARGS=${#ALL_ARGS[@]} if test -x /sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then /sbin/install-info "${ALL_ARGS[@]}" fi fi ; Is "abuild" allowed to run anything from the '/sbin' directory? If not, then better change to '/usr/bin/install-info'. % whereis -b install-info install-info: /usr/bin/install-info /sbin/install-info -- WBR Kyrill
participants (3)
-
Andreas Schwab
-
Darin Perusich
-
Kyrill Detinov