Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477250 - sys-devel/llvm USE=vim-syntax change requires rebuild
Summary: sys-devel/llvm USE=vim-syntax change requires rebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on: 477432
Blocks:
  Show dependency tree
 
Reported: 2013-07-17 20:22 UTC by Oleg Ageev
Modified: 2013-07-31 23:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ageev 2013-07-17 20:22:33 UTC
Rebuild llvm for add support vim syntax it's fail. IMHO
We have tar distribution from developer distfiles for man pages of llvm
Why don't add package like app-vim/llvm-syntax with tar distribution
And don't add PDEPEND for that package if USE vim-syntax enabled? 

Reproducible: Always

Steps to Reproduce:
1.USE=vim-syntax emerge llvm
2.go to drink coffee
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-18 13:30:58 UTC
This is true for a great many packages. Why stop at "fixing" sys-devel/llvm? :)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-18 21:04:45 UTC
Your PDEPEND solution will cause a rebuild as well. The proper thing to do is to install vim-syntax unconditionally.

@voyageur, do you agree on dropping the flag and installing the files unconditionally?
Comment 3 Oleg Ageev 2013-07-18 21:23:37 UTC
(In reply to Michał Górny from comment #2)
> Your PDEPEND solution will cause a rebuild as well. The proper thing to do
> is to install vim-syntax unconditionally.
I think we need per package PDEPEND
in /etc/portage/package.pdepend
which don't cause a rebuild :)
But it's a long story)
then PDEPEND cause a rebuild it's architecture problem )
if we install vim-syntax unconditionally
what to do with the dependence of app-editor/vim
for what this dependency?

we can install llvm-syntax without dependency from llvm
and add it to world manualy
but it not best choise
if we uninstall llvm, llvm-syntax not needed, but it in world already

i think better solution it's 
/etc/portage/package.pdepend
or meta package :)
but I believe that the idea of ​​a meta package it's evil
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-18 21:28:30 UTC
(In reply to Oleg Ageev from comment #3)
> (In reply to Michał Górny from comment #2)
> > Your PDEPEND solution will cause a rebuild as well. The proper thing to do
> > is to install vim-syntax unconditionally.
> I think we need per package PDEPEND
> in /etc/portage/package.pdepend
> which don't cause a rebuild :)
> But it's a long story)
> then PDEPEND cause a rebuild it's architecture problem )
> if we install vim-syntax unconditionally
> what to do with the dependence of app-editor/vim
> for what this dependency?

Why would you need such a dependency? If you want vim-syntax, you use vim. If you use vim, you have it in your @world already. Really, random package with syntax shouldn't be responsible for pulling in vim for you :P.
Comment 5 Oleg Ageev 2013-07-18 21:33:57 UTC
(In reply to Michał Górny from comment #4)
> Why would you need such a dependency? If you want vim-syntax, you use vim.
> If you use vim, you have it in your @world already. Really, random package
> with syntax shouldn't be responsible for pulling in vim for you :P.

This dependency don't needed, but if we install vim-syntax unconditionally
i think this mean install vim-syntax always from llvm ebuild
that mean add vim to dependency
or we just install the necessary files, even if Vim not in the system?
it's fail. IMHO
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-18 21:38:28 UTC
(In reply to Oleg Ageev from comment #5)
> (In reply to Michał Górny from comment #4)
> > Why would you need such a dependency? If you want vim-syntax, you use vim.
> > If you use vim, you have it in your @world already. Really, random package
> > with syntax shouldn't be responsible for pulling in vim for you :P.
> 
> This dependency don't needed, but if we install vim-syntax unconditionally
> i think this mean install vim-syntax always from llvm ebuild
> that mean add vim to dependency
> or we just install the necessary files, even if Vim not in the system?
> it's fail. IMHO

How vim is a dependency for installing those files? You don't need vim to install them, and you don't need vim to have them. They are used by vim but not specifically dependent on vim in any fashion. Practically, any other program can take those files and do whatever it wants with them.
Comment 7 Oleg Ageev 2013-07-18 21:44:07 UTC
(In reply to Michał Górny from comment #6)
> How vim is a dependency for installing those files? You don't need vim to
> install them, and you don't need vim to have them. They are used by vim but
> not specifically dependent on vim in any fashion. Practically, any other
> program can take those files and do whatever it wants with them.

if we don't have Vim, these files it's garbage, don't?
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-18 21:56:07 UTC
(In reply to Oleg Ageev from comment #7)
> (In reply to Michał Górny from comment #6)
> > How vim is a dependency for installing those files? You don't need vim to
> > install them, and you don't need vim to have them. They are used by vim but
> > not specifically dependent on vim in any fashion. Practically, any other
> > program can take those files and do whatever it wants with them.
> 
> if we don't have Vim, these files it's garbage, don't?

No. You could call it the 'lesser evil'. Much like you usually don't read READMEs but they are not garbage.
Comment 9 Oleg Ageev 2013-07-18 22:15:18 UTC
(In reply to Michał Górny from comment #8)
> No. You could call it the 'lesser evil'. Much like you usually don't read
> READMEs but they are not garbage.
README it's documentation
but vimfiles it's package specific stuff
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-31 23:00:47 UTC
Fixed in -3.3-r1 and -9999.