Project

General

Profile

Bug #324

[chcleanup] Doesn't respect installed provides

lukeshu - about 9 years ago - . Updated almost 9 years ago.

Status:
not-a-bug
Priority:
bug
Category:
-
Assignee:
-
% Done:

0%


Description

Say a package makedepends on "emacs", and "emacs-nox" is installed. emacs-nox provides=(emacs). However, if you run libremakepkg, what is going to happen is that `chcleanup` will remove emacs-nox, then `makepkg -s` will install emacs, and all of it's X11 dependencies.

History

#2

Updated by fauno about 9 years ago

provides doesn't mean the replacement is fully functional, i believe some pkgbuilds needing some library that's already pulled by a dependency skip mentioning it, leading to different binary results. in this case the X libraries would be missing or would have to be added to the PKGBUILD (it could help spot faulty packages though).

#3

Updated by lukeshu about 9 years ago

fauno: good point.

I'll a add that my emacs/emacs-nox example is libretools itself. I use some elisp to do text-processing during the build process.

... Oh my god, that sounds like libretools is bloated. What it is is that I have a patch to split `devtools:/usr/sbin/makechrootpkg` into functions for `libretools:/usr/lib/libretools/makechrootpkg.sh`. Because of that, the indentation for makechrootpkg.sh is wack. I use emacs to auto-indent the file.

#4

Updated by lukeshu almost 9 years ago

I now think I agree with fauno, this isn't a bug.

Also available in: Atom PDF