Bug 24649 - genpkglist.cc: added java jars to important files.
Summary: genpkglist.cc: added java jars to important files.
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apt-repo-tools (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL: http://git.altlinux.org/people/viy/pa...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 21:46 MSK by viy
Modified: 2010-12-02 23:47 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2010-11-26 21:46:09 MSK
Dmitriy, Alexey, please fetch and release commit 
http://git.altlinux.org/people/viy/packages/?p=apt-repo-tools.git;a=commitdiff;h=72d3dfa887655385c08660e2359212b6e928ea41
[genpkglist.cc: added java jars to important files.]
It is impossible to work with complicated transactions locally
due to unsatisfied file requires generated by symlink.req.
Proposed patch adds java jar file provides ahead of time.
I need this change ASAP.
Comment 1 Dmitry V. Levin 2010-11-27 04:04:08 MSK
(In reply to comment #0)
> It is impossible to work with complicated transactions locally

What does it mean "locally" here?

> due to unsatisfied file requires generated by symlink.req.
> Proposed patch adds java jar file provides ahead of time.
> I need this change ASAP.

What's the reason for urgency?  Do you mean girar-builder must use updated apt-repo-tools?
Comment 2 viy 2010-11-27 10:55:50 MSK
> What's the reason for urgency?  Do you mean girar-builder must use updated
> apt-repo-tools?
yes, I mean that.

> What does it mean "locally" here?
I can't work on transaction with java packages in hasher on my local mashine
due to false file unmets on jar files.

In java symilnks are traditional way to specify dependencies.
But we need /usr/share/java/jar provides _before_ symlink,req will
create Requires: /usr/share/java/some.jar for them.
Unfortunately, "required files" optimization breaks it by default.
Hence, /usr/share/java jar files should be made an exception 
as well as /usr/bin files. It is what my patch does.
Comment 3 Repository Robot 2010-11-28 20:17:05 MSK
apt-repo-tools-0.6.0.8-alt1 -> sisyphus:

* Sun Nov 28 2010 Dmitry V. Levin <ldv@altlinux> 0.6.0.8-alt1
- genpkglist: add java jars to useful files (viy@; closes: #24649).
Comment 4 viy 2010-11-28 22:57:05 MSK
Спасибо большое!
Comment 5 viy 2010-12-02 23:10:34 MSK
(В ответ на комментарий №3)
> apt-repo-tools-0.6.0.8-alt1 -> sisyphus:
> 
> * Sun Nov 28 2010 Dmitry V. Levin <ldv@altlinux> 0.6.0.8-alt1
> - genpkglist: add java jars to useful files (viy@; closes: #24649).

Похоже,новые apt-repo-tools для генерации сизифа не используются:
hsh-install /usr/share/java/hamcrest/core.jar
не проходит
Comment 6 Dmitry V. Levin 2010-12-02 23:30:09 MSK
(In reply to comment #5)
> (В ответ на комментарий №3)
> > apt-repo-tools-0.6.0.8-alt1 -> sisyphus:
> > 
> > * Sun Nov 28 2010 Dmitry V. Levin <ldv@altlinux> 0.6.0.8-alt1
> > - genpkglist: add java jars to useful files (viy@; closes: #24649).
> 
> Похоже,новые apt-repo-tools для генерации сизифа не используются:
> hsh-install /usr/share/java/hamcrest/core.jar
> не проходит

Я не могу поставить в сборочницу пакет из Сизифа, там слишком много неудовлетворенных зависимостей.  Нужен бэкпорт в 5.1 или p5.

P.S.  Это не проблема пакета в Сизифе, формально баг можно закрыть.
Comment 7 viy 2010-12-02 23:47:09 MSK
> Я не могу поставить в сборочницу пакет из Сизифа, там слишком много
> неудовлетворенных зависимостей.  Нужен бэкпорт в 5.1 или p5.

OK, выпишите, пожалуйста, approve на  task #34602
task #34602: added #100: build tag "0.6.0.8-alt0.M51.1" from /people/viy/packages/apt-repo-tools.git
task #34602: try #1 queued, result will be emailed to viy@altlinux.org