Bug 31518 - autoimport alpine from Fedora
Summary: autoimport alpine from Fedora
Status: CLOSED FIXED
Alias: None
Product: New/proposed packages
Classification: Development
Component: В Autoimports (show other bugs)
Version: не указана
Hardware: all Linux
: P3 enhancement
Assignee: viy
QA Contact: viy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-18 18:31 MSK by Ivan Zakharyaschev
Modified: 2015-11-21 21:50 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2015-11-18 18:31:39 MSK
http://pkgs.org/fedora-rawhide/fedora-x86_64/alpine-2.20-2.fc24.x86_64.rpm.html

Their 2.20 version fixes some bugs ( https://bugzilla.redhat.com/show_bug.cgi?id=1092688 )

Their binary package is not installable in an ALTLinux system as is because of strange deps on libs:

libcrypto.so.10(libcrypto.so.10)(64bit)  
libssl.so.10(libssl.so.10)(64bit)
Comment 1 viy 2015-11-18 23:57:06 MSK
alpine-2.20-alt1_2.src.rpm will be available tomorrow
Comment 2 viy 2015-11-18 23:57:32 MSK
(В ответ на комментарий №1)
> alpine-2.20-alt1_2.src.rpm will be available tomorrow

(in autoimports/Sisyphus)
Comment 3 Ivan Zakharyaschev 2015-11-21 19:35:30 MSK
Thanks!

I've discovered a little problem with it, but I don't believe that it's a serious problem that should be addressed in autoimports. (If someone cares enough (perhaps me), he can become a real maintainer of alpine in Sisyphus and fix this.) So, I don't suggest to fix this in autoimports; just for everyone's info (this happens because pico has been extracted from the pine package a while ago):

The following extra packages will be installed:
  hunspell mailcap
The following packages will be REMOVED:
  pine
The following NEW packages will be installed:
  alpine hunspell mailcap
0 upgraded, 3 newly installed, 1 removed and 1570 not upgraded.
Need to get 2391kB of archives.
After unpacking 1322kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.altlinux.org x86_64/classic hunspell 1.3.1-alt1 [56,1kB]
Get:2 http://ftp.altlinux.org noarch/classic mailcap 2.1.23-alt2 [12,6kB]
Get:3 ftp://ftp.altlinux.ru x86_64/autoimports alpine 2.20-alt1_2 [2322kB]
Fetched 2391kB in 1m26s (27,8kB/s)                                             
Committing changes...
error: failed to stat /home/imz/basalt: Permission denied
Preparing...                 ########################################### [100%]
file /usr/bin/pico from install of alpine-2.20-alt1_2 conflicts with file from package pico-4.64L-alt8.1
file /usr/share/man/man1/pico.1.gz from install of alpine-2.20-alt1_2 conflicts with file from package pico-4.64L-alt8.1
E: Error while running transaction
Comment 4 Ivan Zakharyaschev 2015-11-21 19:36:17 MSK
Doing "apt-get remove pico" manually won't be a problem.
Comment 5 viy 2015-11-21 21:50:28 MSK
done
 $ cat hooks/alpine.pl
#!/usr/bin/perl -w

push @SPECHOOKS, 
sub {
    my ($spec, $parent) = @_;
    $spec->get_section('package','')->push_body('# see ALT#31518
Obsoletes: pico = 4.64L
Conflicts: pico = 4.64L'."\n");
};

__END__

 $ fcmass -v --strategy destup --changelog '- added conflict with pico' --str a alpine
info: origin: /var/ftp/pub/Linux/fedora/linux/development/rawhide/source/SRPMS/a/alpine-2.20-2.fc24.src.rpm
info: parent: /var/ftp/pub/Linux/ALT/fcimport/Sisyphus/files/SRPMS/alpine-2.20-alt1_2.src.rpm
loading default hook hooks/alpine.pl
Записан: ./OUT/alpine-2.20-alt2_2.src.rpm