Bug 32607 - sh4 --rpm-requires segfaults in the new version (4.3.42)
Summary: sh4 --rpm-requires segfaults in the new version (4.3.42)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bash4 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 20:16 MSK by Ivan Zakharyaschev
Modified: 2018-12-19 05:49 MSK (History)
8 users (show)

See Also:


Attachments
add_changelog from e0c07f4bae217feec2fa7a03b6637fae6b06ba43 (3.23 KB, text/plain)
2016-10-13 12:01 MSK, Ivan Zakharyaschev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2016-10-12 20:16:35 MSK
Не всё совсем хорошо в новой сборке bash4 (из git, ещё не в Sisyphus). Кажется, регрессия по сравнению с предыдущей:

-bash-4.3$ rpm -qf /bin/sh4
sh4-4.3.42-alt1
-bash-4.3$ /bin/sh4 --rpm-requires RPM/BUILD/rpm-utils-0.9.22/add_changelog
executable(shell-error)
executable(shell-quote)
executable(cat)
function(USAGE)
Segmentation fault
-bash-4.3$

А вот из Сизифа:

[builder@localhost ~]$ rpm -qf /bin/sh4
sh4-4.2.50-alt1.1
[builder@localhost ~]$ /bin/sh4 --rpm-requires RPM/BUILD/rpm-utils-0.9.22/add_changelog
executable(shell-error)
executable(shell-quote)
executable(cat)
function(USAGE)
function(USAGE)
function(USAGE)
function(USAGE)
executable(quote_shell_variable)
executable(quote_shell_variable)
executable(quote_shell_args)
executable(quote_shell_variable)
executable(cat)
executable(paste_changelog)
[builder@localhost ~]$

rpm-utils собирался из примерно такого коммита -- http://git.altlinux.org/people/imz/packages/rpm-utils.git?p=rpm-utils.git;a=commit;h=e0c07f4bae217feec2fa7a03b6637fae6b06ba43 .

On Wed, 1 Jun 2016, Girar Builder awaiter robot wrote:

> http://git.altlinux.org/tasks/165342/logs/events.2.1.log
>
> 2016-Jun-01 07:26:51 :: test-only swift task #165342 for sisyphus resumed by imz:
> #100 build 4.3.42-alt1 from /people/glebfm/packages/bash.git
> #200 build 3.2.57-alt2 from /people/glebfm/packages/bash.git
> #300 build 0.9.22-alt1 from /people/imz/packages/rpm-utils.git
> 2016-Jun-01 07:27:10 :: created build repo
> 2016-Jun-01 07:27:11 :: [x86_64] #100 bash.git 4.3.42-alt1: build start
> 2016-Jun-01 07:27:12 :: [i586] #100 bash.git 4.3.42-alt1: build start
> 2016-Jun-01 07:26:24 :: [x86_64] bash.git 4.3.42-alt1: remote: too swift to rebuild
> 2016-Jun-01 07:26:24 :: [i586] bash.git 4.3.42-alt1: remote: too swift to rebuild
> 2016-Jun-01 07:27:12 :: [x86_64] #100 bash.git 4.3.42-alt1: build swiftly SKIPPED
> 2016-Jun-01 07:27:12 :: [i586] #100 bash.git 4.3.42-alt1: build swiftly SKIPPED
> 2016-Jun-01 07:27:12 :: [x86_64] #200 bash.git 3.2.57-alt2: build start
> 2016-Jun-01 07:27:12 :: [i586] #200 bash.git 3.2.57-alt2: build start

> 2016-Jun-01 07:26:25 :: [i586] bash.git 3.2.57-alt2: remote: too swift to rebuild
> 2016-Jun-01 07:26:25 :: [x86_64] bash.git 3.2.57-alt2: remote: too swift to rebuild
> 2016-Jun-01 07:27:13 :: [x86_64] #200 bash.git 3.2.57-alt2: build swiftly SKIPPED
> 2016-Jun-01 07:27:13 :: [i586] #200 bash.git 3.2.57-alt2: build swiftly SKIPPED
> 2016-Jun-01 07:27:13 :: [x86_64] #300 rpm-utils.git 0.9.22-alt1: build start
> 2016-Jun-01 07:27:13 :: [i586] #300 rpm-utils.git 0.9.22-alt1: build start
> find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
> shell.req: ERROR: /usr/src/tmp/rpm-utils-buildroot/usr/bin/add_changelog: /bin/sh4 --rpm-requires failed
> find-requires: ERROR: /usr/lib/rpm/shell.req failed
> error: /bin/sh failed
> error: Failed to find Requires
> RPM build errors:
> 2016-Jun-01 07:28:51 :: [x86_64] rpm-utils.git 0.9.22-alt1: remote: build failed
> 2016-Jun-01 07:29:39 :: [x86_64] #300 rpm-utils.git 0.9.22-alt1: build FAILED
> find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
> shell.req: ERROR: /usr/src/tmp/rpm-utils-buildroot/usr/bin/add_changelog: /bin/sh4 --rpm-requires failed
> find-requires: ERROR: /usr/lib/rpm/shell.req failed
> error: /bin/sh failed
> error: Failed to find Requires
> RPM build errors:
> 2016-Jun-01 07:29:02 :: [i586] rpm-utils.git 0.9.22-alt1: remote: build failed
> 2016-Jun-01 07:29:50 :: [i586] #300 rpm-utils.git 0.9.22-alt1: build FAILED
> 2016-Jun-01 07:29:39 :: [x86_64] build FAILED
> 2016-Jun-01 07:29:50 :: [i586] build FAILED
> 2016-Jun-01 07:29:50 :: task #165342 for sisyphus FAILED
>
>
Comment 1 Ivan Zakharyaschev 2016-10-13 12:01:05 MSK
Created attachment 6838 [details]
add_changelog from e0c07f4bae217feec2fa7a03b6637fae6b06ba43

I'm attaching the script which offends this build of sh4.
Comment 2 Anton Farygin 2018-09-04 19:22:13 MSK
http://git.altlinux.org/tasks/211081/ - можно проверить с этим заданием
Comment 3 Repository Robot 2018-12-19 05:49:33 MSK
bash4-4.4.23-alt1 -> sisyphus:

Mon Dec 17 2018 Dmitry V. Levin <ldv@altlinux> 4.4.23-alt1
- 4.2.50 -> 4.4.23 (closes: #32607, #32134, #33196).
- Enabled Rational Range Interpretation (globasciiranges) by default.

Tue May 25 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
- handle RPM_OPT_FLAGS