Bug 32891

Summary: apt вылетает при сборке программы obs-studio для i586
Product: Sisyphus Reporter: Konstantin Yablochkin <yakonstb>
Component: aptAssignee: placeholder <placeholder>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: boyarsh, glebfm, imz, ldv, placeholder
Version: unstableKeywords: regression
Hardware: all   
OS: Linux   
Attachments:
Description Flags
Весь лог сборки obs-studio none

Description Konstantin Yablochkin 2016-12-13 21:06:28 MSK
Created attachment 6898 [details]
Весь лог сборки obs-studio

Собрал ffmpeg под i586 (успешно прошло).
Собираю obs-studio, который его использует - вылетает apt.
Лог во вложении. Расшифровка команд, которые я запускаю:

================================== 1 =========================================
[toor@gbgb bin]$ cat gear-hsh-i586-mk
#!/bin/bash
mkdir ~/hasher && i586 gear-hsh --verbose -- --verbose --target=i586 --apt-config=/etc/apt/apt.i586.conf
[toor@gbgb bin]$ 
================================== /1 =========================================

================================== 2 =========================================
[toor@gbgb apt]$ cat apt.i586.conf
/*
 * This is the main configuration file for the APT suite of tools,
 * see apt.conf(5) for details.
 */

// See apt-cdrom(8) for details.
Acquire::CDROM::Copy "true";
Acquire::CDROM::mount "/media/ALTLinux";

RPM 
{
	Allow-Duplicated {
		// Old-style kernels.
		"^(NVIDIA_)?(kernel|alsa)[0-9]*(-adv|-linus)?($|-up|-smp|-secure|-custom|-enterprise|-BOOT|-tape|-aureal)";
		// New-style kernels.
		"^kernel-(image|modules)-.*";
	};
	Hold {
		// Old-style kernels.
		"^(kernel|alsa)[0-9]+-source";
	};
};


Dir "/"
{
  Etc "etc/apt/" {
    sourcelist "sources.i586.list";
    main "apt.i586.conf";
  }
}


[toor@gbgb apt]$ 
================================== /2 =========================================

================================== 3 =========================================
[toor@gbgb apt]$ cat sources.i586.list
# Local package resource list for APT goes here.
# To inspect package defined part, see /etc/apt/sources.list.d/*.list

#rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/x86_64 classic
#rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/noarch classic
#rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/x86_64-i586 classic



rpm [alt] file:/mnt/sda7/sisyphus/Sisyphus i586 classic
#rpm [alt] file:/mnt/sda7/sisyphus/Sisyphus x86_64 classic
rpm [alt] file:/mnt/sda7/sisyphus/Sisyphus noarch classic
#rpm [alt] file:/mnt/sda7/sisyphus/repo/ noarch hasher
#rpm file:///mnt/sda7/sisyphus/repo x86_64 hasher

rpm file:/mnt/sda7/sisyphus/repo i586 hasher
#rpm file:/mnt/sda7/sisyphus/repo x86_64 hasher
rpm file:/mnt/sda7/sisyphus/repo noarch hasher

[toor@gbgb apt]$ 
================================== /3 =========================================
Comment 1 Konstantin Yablochkin 2016-12-13 21:54:18 MSK
При nativr сборке то же самое

apt-get: rpm/rpmhandler.cc:112: virtual std::__cxx11::string RPMFileHandler::FileName(): Assertion `rc != 0' failed.
0 upgraded, 562 newly installed, 0 removed and 0 not upgraded.
hsh-install: apt-get terminated by signal 6
hsh-install: Failed to calculate package file list.
hsh-install: Failed to generate package file list.
Comment 2 Konstantin Yablochkin 2016-12-13 21:55:35 MSK
Это сборка под x86_64
Comment 3 Gleb F-Malinovskiy 2016-12-13 22:14:11 MSK
rpm-4.13.0-alt4 -> sisyphus:

* Tue Dec 13 2016 Gleb F-Malinovskiy <glebfm@altlinux> 4.13.0-alt4
...
- Fixed support of APT external tags (ALT#32887).

*** This bug has been marked as a duplicate of bug 32887 ***