Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PALUDIS] Support thread (current v. 0.26.*) - Part 4
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 24, 25, 26  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wobble
n00b
n00b


Joined: 11 May 2008
Posts: 2

PostPosted: Sun May 11, 2008 6:59 pm    Post subject: Reply with quote

slycordinator wrote:
So every time a new binutils or gcc is released you have to copy the ebuilds to your other repository?


I sym-linked as indicated by:
Quote:

NOTE: As in paludis 0.24.X and above you can just symlink the package directory
instead of copy it over. This has the advantage, that you don't have to bother
about actuality of your ebuilds and no work to maintain a hook.


which looks like this in my repository

Code:

lrwxrwxrwx 1 root root 31 Apr 28 21:36 binutils -> /usr/portage/sys-devel/binutils
lrwxrwxrwx 1 root root 26 Apr 28 21:36 gcc -> /usr/portage/sys-devel/gcc
lrwxrwxrwx 1 root root 26 Apr 28 21:36 gdb -> /usr/portage/sys-devel/gdb
lrwxrwxrwx 1 root root 27 Apr 28 21:37 glibc -> /usr/portage/sys-libs/glibc
lrwxrwxrwx 1 root root 29 Apr 28 21:37 insight -> /usr/portage/dev-util/insight
lrwxrwxrwx 1 root root 37 Apr 28 21:37 linux-headers -> /usr/portage/sys-kernel/linux-headers


so paludis appears to pick up the new versions after the initial contrarius install.

I was unable to install a mingw cross tool chain, I received an error during minimal gcc compile. It worked with crossdev, the install order appeared to be
different. crossdev installed binutils, win headers, minimal gcc, etc. - contrarius tried to install binutils, minimal gcc then died. Would this be the right forum for contrarius mingw help?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Sun May 11, 2008 7:19 pm    Post subject: Reply with quote

I believe you can jump on over to #paludis at freenode
Back to top
View user's profile Send private message
vetienne
n00b
n00b


Joined: 18 May 2004
Posts: 17
Location: France

PostPosted: Sun May 11, 2008 8:11 pm    Post subject: Reply with quote

Many thanks for your help. Very nice solution.

contrarius -t arm-unknwon-linux-gnu is in progress for the moment

for extracting a minimal binary image from my arm cross-compiled root, the best is perhaps to wait for the a new paludis with --destination built-in
or do you have a better solution ? would it be possible to create destination with a filter ( to exclude header files, man pages, and so on ? )
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Mon May 12, 2008 5:55 pm    Post subject: Reply with quote

Hello,
I ran reconcilio and I got:

Code:
  * No versions of 'net-libs/xulrunner:0' are available.


Is there any way to let it ignore this kind of errors and continue with the other packages?
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Tue May 13, 2008 6:29 am    Post subject: Reply with quote

What is the paludis equivalent for quickpkg? Or can I use the latter?
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Tue May 13, 2008 6:50 am    Post subject: Reply with quote

cerebro84 wrote:
Hello,
I ran reconcilio and I got:

Code:
  * No versions of 'net-libs/xulrunner:0' are available.


Is there any way to let it ignore this kind of errors and continue with the other packages?

no.

the error is there for a reason.

XULrunner has been solotted AGES ago.

uninstall the unslotted package and install the 1.8 slot or we'll come over top your place and break your kneecaps :wink:
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 11:52 am    Post subject: Reply with quote

Hi, I'm new to paludis, trying to get familiar with it.
2 questions:
On paludis trac someone asked for an equivalent to --binpkg, because there was already something like --usepkg. The answer was, they weren't done yet.
I can workaround --binpkg by using quickpgk from the gentoolkit. But whats the equivalent to --usepkg in paludis? I couldn't find it anywere, not even on the manpage.

Is there a way to unmask a package and any dependencies if needed? For example I want to have gnome-2.22.0 installed and for any dependencies the ~arch keyword should be accepted, in case there is no version marked as arch. As soon as one dependency becomes stabilized it should be used rather than using a masked one. This would make managing keywords much easier.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5617
Location: Removed by Neddy

PostPosted: Thu May 15, 2008 11:58 am    Post subject: Reply with quote

MalleRIM wrote:


Is there a way to unmask a package and any dependencies if needed? For example I want to have gnome-2.22.0 installed and for any dependencies the ~arch keyword should be accepted, in case there is no version marked as arch. As soon as one dependency becomes stabilized it should be used rather than using a masked one. This would make managing keywords much easier.


there is an app in the tree called "autounmask". emerge that and use that
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
mikkoc
Apprentice
Apprentice


Joined: 24 May 2007
Posts: 231

PostPosted: Thu May 15, 2008 12:03 pm    Post subject: Reply with quote

I don't think that works with paludis :)
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5617
Location: Removed by Neddy

PostPosted: Thu May 15, 2008 12:05 pm    Post subject: Reply with quote

mikkoc wrote:
I don't think that works with paludis :)


it writes to /etc/portage/package.keywords so unless you have put paludis in a non-gentoo supportable fashion it will work
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Berniyh
l33t
l33t


Joined: 07 Jun 2006
Posts: 677

PostPosted: Thu May 15, 2008 12:47 pm    Post subject: Reply with quote

MalleRIM wrote:
Hi, I'm new to paludis, trying to get familiar with it.
2 questions:
On paludis trac someone asked for an equivalent to --binpkg, because there was already something like --usepkg. The answer was, they weren't done yet.
I can workaround --binpkg by using quickpgk from the gentoolkit. But whats the equivalent to --usepkg in paludis? I couldn't find it anywere, not even on the manpage.

Is there a way to unmask a package and any dependencies if needed? For example I want to have gnome-2.22.0 installed and for any dependencies the ~arch keyword should be accepted, in case there is no version marked as arch. As soon as one dependency becomes stabilized it should be used rather than using a masked one. This would make managing keywords much easier.

There is a ruby script which:
http://paludis.pioto.org/trac/browser/scratch/scripts/gimme.rb
Please note:
Code:
[Mo Mai 12 2008] [15:52:46] <ciaranm> gimme won't try to solve blockers
[Mo Mai 12 2008] [15:53:05] <rbrown> blockers make the baby gimme cry


So make sure, that there are no blockers, if you want to unmask stuff.
I didn't try it myself, because I prefer to manually unmask stuff. ;)
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 4:06 pm    Post subject: Reply with quote

Naib wrote:
there is an app in the tree called "autounmask". emerge that and use that

autounmask is not what I want (it doesn't work properly anyway). I don't want to add stuff to my keywords.conf (or package.keywords) but to have all dependencies unmasked automatically without any change to keywords.conf for just one item which is in keywords.conf. Say, I have =gnome-base/gnome-2.22.0 ~amd64 in my keywords.conf. Any other dependencies are installed although some of them will not have a non-tilde keyword. As soon as a satisfying version of a dependency gets stabilized, paludis has to up- or downgrade to that version.
It would be even better if I could add something like this to my keywords.conf because I wouldn't want this for all packages:
Code:
=gnome-base/gnome-2.22.0 ~amd64 same-for-depends


Does gimme.rb have this functionality? It doesn't seem to be a hook. I'll try it out later if no one negates this but atm I am busy with something else.

unstable gnome has a whole lot of dependencies to be unmasked too. Once in a while a dependency gets stabilized so I want to use the stable version. I have already created a script to check for stable versions so I can remove them from keywords.conf but that is clearly not the best solution.
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Thu May 15, 2008 4:18 pm    Post subject: Reply with quote

How do I do equery belongs with paludis/inquisitio/whatever?
Back to top
View user's profile Send private message
Stefano Crocco
Apprentice
Apprentice


Joined: 28 Sep 2006
Posts: 156

PostPosted: Thu May 15, 2008 4:21 pm    Post subject: Reply with quote

cerebro84 wrote:
How do I do equery belongs with paludis/inquisitio/whatever?

I think you should use
Code:
paludis -o filename

_________________
Stefano
Back to top
View user's profile Send private message
Berniyh
l33t
l33t


Joined: 07 Jun 2006
Posts: 677

PostPosted: Thu May 15, 2008 4:27 pm    Post subject: Reply with quote

MalleRIM wrote:
Naib wrote:
there is an app in the tree called "autounmask". emerge that and use that

autounmask is not what I want (it doesn't work properly anyway). I don't want to add stuff to my keywords.conf (or package.keywords) but to have all dependencies unmasked automatically without any change to keywords.conf for just one item which is in keywords.conf. Say, I have =gnome-base/gnome-2.22.0 ~amd64 in my keywords.conf. Any other dependencies are installed although some of them will not have a non-tilde keyword. As soon as a satisfying version of a dependency gets stabilized, paludis has to up- or downgrade to that version.
It would be even better if I could add something like this to my keywords.conf because I wouldn't want this for all packages:
Code:
=gnome-base/gnome-2.22.0 ~amd64 same-for-depends

I think what you want then is to create a set, that contains the dependencies of gnome and set ~amd64 for that.

Quote:
unstable gnome has a whole lot of dependencies to be unmasked too. Once in a while a dependency gets stabilized so I want to use the stable version. I have already created a script to check for stable versions so I can remove them from keywords.conf but that is clearly not the best solution.

Use a set.
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 4:40 pm    Post subject: Reply with quote

Berniyh wrote:
I think what you want then is to create a set, that contains the dependencies of gnome and set ~amd64 for that.

would that also unmask dependencies that have stable versions available? If so, this is not what I want. If not, how do I do that?
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Thu May 15, 2008 4:44 pm    Post subject: Reply with quote

Stefano Crocco wrote:
cerebro84 wrote:
How do I do equery belongs with paludis/inquisitio/whatever?

I think you should use
Code:
paludis -o filename


Thanks ;)
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Thu May 15, 2008 4:49 pm    Post subject: Reply with quote

MalleRIM wrote:
Naib wrote:
there is an app in the tree called "autounmask". emerge that and use that

autounmask is not what I want (it doesn't work properly anyway). I don't want to add stuff to my keywords.conf (or package.keywords) but to have all dependencies unmasked automatically without any change to keywords.conf for just one item which is in keywords.conf. Say, I have =gnome-base/gnome-2.22.0 ~amd64 in my keywords.conf. Any other dependencies are installed although some of them will not have a non-tilde keyword. As soon as a satisfying version of a dependency gets stabilized, paludis has to up- or downgrade to that version.
It would be even better if I could add something like this to my keywords.conf because I wouldn't want this for all packages:
Code:
=gnome-base/gnome-2.22.0 ~amd64 same-for-depends


So you're meaning that if, say, you want to be able to unmask a single package and that package alone.

The following will work
Code:
#!/bin/bash

#CHANGE TO WHAT YOU WANT
ARCH=x86
for x in $@ ; do echo $x ~$ARCH >> /etc/paludis/keywords.conf ; done


Make it executable and when you call it put the stuff you want to unmask as command-line arguments.
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 4:57 pm    Post subject: Reply with quote

slycordinator wrote:
Code:
#!/bin/bash

#CHANGE TO WHAT YOU WANT
ARCH=x86
for x in $@ ; do echo $x ~$ARCH >> /etc/paludis/keywords.conf ; done


Make it executable and when you call it put the stuff you want to unmask as command-line arguments.

I want to add a single package to my keywords.conf, yes, but that's not what I'm asking for. I want paludis to accept the same keyword for any dependencies, but just if required.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Thu May 15, 2008 5:08 pm    Post subject: Reply with quote

That would break compatibility with how portage/pkgcore do things. Plus I think all the devs will agree that everything that gets unmasked should only be done ACTIVELY by the user.
Back to top
View user's profile Send private message
Finswimmer
Moderator
Moderator


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu May 15, 2008 5:11 pm    Post subject: Reply with quote

MalleRIM wrote:
slycordinator wrote:
Code:
#!/bin/bash

#CHANGE TO WHAT YOU WANT
ARCH=x86
for x in $@ ; do echo $x ~$ARCH >> /etc/paludis/keywords.conf ; done


Make it executable and when you call it put the stuff you want to unmask as command-line arguments.

I want to add a single package to my keywords.conf, yes, but that's not what I'm asking for. I want paludis to accept the same keyword for any dependencies, but just if required.

That is what autounmask does.
Example:
autounmask =kde-base/kdelibs-4.0.5
This will unmask all packages in the specific version which is specified in DEPEND.
So there is: >foo/bar-1.5
You have bar-1.5 already installed. Even though there is a bar-1.6 autounmask will not touch this packages as all deps are satisfied.

This is what you want?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Berniyh
l33t
l33t


Joined: 07 Jun 2006
Posts: 677

PostPosted: Thu May 15, 2008 5:45 pm    Post subject: Reply with quote

MalleRIM wrote:
Berniyh wrote:
I think what you want then is to create a set, that contains the dependencies of gnome and set ~amd64 for that.

would that also unmask dependencies that have stable versions available? If so, this is not what I want. If not, how do I do that?

I don't think, that it is possible that way.
Basically (if I understood that right) you want a keywords.conf file, that moves automatically, but that defends the purpose of keywords.
1. Since Gentoo uses keywords to indicate the state of a package (not saying, that they are always right), the only way to get a keyworded version if obviously to keyword it.
2. Paludis can't decide what you want keyworded, and what not.
3. automask and gimme.rb normally keyword everything in the way, untill you are able to install, so they don't do ~amd64 keywords, if the stable version is sufficient (afaik)

If Gnome gets stabilized as a whole (like KDE), then a set is what you want, because then, if the Gnome version is marked stable, you just remove the set from the keywords and it's done.

If you want a program, that removes packages from your keyword file, where the keyword "expired" (meaning, the version is either stable or not installed anymore), I think there are skripts for that, at least it shouldn't be hard to skript that.
(Still, I do that on my own, again.)
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 5:51 pm    Post subject: Reply with quote

@Finswimmer: autounmask adds the dependencies to package.keywords but I don't want that. I want to have ONE item in my keywords.conf and I want paludis to accept the same keyword for ALL dependencies, if needed, WITHOUT adding them to keywords.conf aswell.
@sylcordinator: Why should that be harmful if you can even accept ~arch for all your packages?
"*/*::repository" already breaks compatibility with portage and maybe pkgcore, too. "*/* arch ~arch" does too. These are ways of unmasking that differ from portage, so something like "foo/bar;depends ~amd64" won't be too much of a problem to have.
I think that would be a very great thing to have because it makes unmasking packages with a lot of dependencies much easier.
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 15, 2008 6:00 pm    Post subject: Reply with quote

Berniyh wrote:
If Gnome gets stabilized as a whole (like KDE), then a set is what you want
...
If you want a program, that removes packages from your keyword file, where the keyword "expired" (meaning, the version is either stable or not installed anymore), I think there are skripts for that, at least it shouldn't be hard to skript that.
(Still, I do that on my own, again.)

Gnome does get stabilized as a whole. But it depends on unstable non-gnome packages too. Furthermore, gnome is not the only package I want to be treated that way, it was just an example.
A script which removes files that had been keyworded by ~arch would be a possible alternative, although not the easiest to use and also a little bit ugly.

Anyway, as it seems there is nothing like that, I will stop filling this thread with it.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Thu May 15, 2008 6:17 pm    Post subject: Reply with quote

MalleRIM wrote:
Gnome does get stabilized as a whole. But it depends on unstable non-gnome packages too.


What part of gnome is marked stable and depends on something marked unstable? If you truly find a package that is marked stable and depends on something not, you should file a bug.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 24, 25, 26  Next
Page 17 of 26

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum