Just *how* slow is your laptop? Paludis is a C++ application, and potentially can take a lot of RAM (easy enough for you to measure). If you are RAM-limited, Portage could be faster.SnEptUne wrote:I am trying paludis on my slow laptop on a fresh installation of Gentoo, hoping it would be faster than portage, but no. It takes even longer, I have waited for like 10 minutes and it is still doing "Creating the CONFIG_PROTECT and CONFIG_PROTECT_MASK lists."
I have 512MB of RAM on the 1.3Ghz Pentium-M laptop, but it is running firefox and full kde, so around 200-300MB of RAM can be used for compilation. I use distcc anyway, so the actual compilation doesn't take long. It seems like 70% of the installation times for running paludis. -_-Hypnos wrote:Just *how* slow is your laptop? Paludis is a C++ application, and potentially can take a lot of RAM (easy enough for you to measure). If you are RAM-limited, Portage could be faster.SnEptUne wrote:I am trying paludis on my slow laptop on a fresh installation of Gentoo, hoping it would be faster than portage, but no. It takes even longer, I have waited for like 10 minutes and it is still doing "Creating the CONFIG_PROTECT and CONFIG_PROTECT_MASK lists."

If you read the man page or the "--help" output, you might find that the "--log-level" and "--show-reasons" switches are of use to you.drescherjm wrote:[...] Is there a command to either get rid of this crap (less verbose?) or tell me only what packages need fixed?
Code: Select all
--log-level warning --show-reasons none --show-use-descriptions none --show-package-descriptions none --continue-on-failure if-satisfied --with-unused-dependencies --dl-new-slots as-needed --dl-upgrade as-needed
I did read the --help (even tried --show-reasons) a few times but there is a very long list of options. Not really complaining about that it's just a little more than I want to sift through on a first usage.If you read the man page or the "--help" output, you might find that the "--log-level" and "--show-reasons" switches are of use to you.
Thanks I will try that.I choose to minimize most of these messages and increase verbosity if things don't behave as expected; my PALUDIS_OPTIONS env var:
Changing perms of existing files, I agree. If it's already there, it's there for a reason.Hypnos wrote:* It's generally bad policy to create directories and reset ownership of files automatically. Imagine that as an administrator you have something set up and some program you just installed comes and alters it without your permission -- annoying, no? And it's a potential security hazard.
It should be supported. And don't tell me it's a security risk because it allows for DOS conditions - if an untrusted user has write access to /usr/portage/distfiles and /var/tmp/paludis you already allow DOS conditions. Instead of creating a lock file, he could just delete tarfiles or random *.o files in the middle of compilation.Hypnos wrote:Perhaps if you were more patient you could ponder these things and not run multiple instances when it's not supported ...
It does ask you to create repository directories, and then only fills them when you invoke sync. Most people only notice this when they install an overlay; migrating from Portage this is already done for you.pigeon768 wrote:However - files that should exist but don't should be created automatically. Paludis doesn't ask me to create folders or ebuilds for the repositories, doesn't ask me to create folders and files for all the packages it installs.
This is precisely why Paludis does not create directories: by creating a directory with some group write permissions pre-specified in the ebuild, it could open a security hole if that group already exists on your system.It should be supported. And don't tell me it's a security risk because it allows for DOS conditions - if an untrusted user has write access to /usr/portage/distfiles and /var/tmp/paludis you already allow DOS conditions. Instead of creating a lock file, he could just delete tarfiles or random *.o files in the middle of compilation.
I vaguely recall something like that, and also that it never worked right, which is why Portage doesn't have it anymore.pigeon768 wrote:Do you know how emerge used to manage concurrent emerge processes via lockfiles?
I don't know off the top of my head what the security threat would be, and don't know the discussion on the Paludis mailing list. But to be of any use you have to lock the cache more intelligently than a global lock; then you may leave yourself open to DOS attacks unless you are very careful ...I fail to see how such a scheme is difficult to implement, nor do I see how it is a security threat. (as stated on the paludis mailing list)



Sorry. I tried Paludis myself, and it simply wasn't convenient to use.justinkb wrote:the dependency resolution alone should have everybody switching from portage to paludis. e.g. when doing a emerge -e world portage actually installs the latest patch for ut2004 before ut2004-data itself, leading to a corrupt installation.

I wouldn't be so sureArneBab wrote: Portage might not be perfect, but it works in 99% of the cases, and with Portage I know that I'm on the safer side.
And with paludis you can't? IIRC it's still GPL2 so you can read the code, too.ArneBab wrote: And Portage is written in Python, what's a plus for me, because I can actually read the code

*should* maybe be edited. It's a) just the authors opinion and should be stated as such, and b) simply wrong.Paludis Homepage wrote:Why not fix Portage?
The Portage codebase is too broken to be fixed.

Seems you understood what I meantzxy wrote:read != understand != be able to patch

Don't worry, there is not many people who understand/can patch that spagetthi.ArneBab wrote:With Portage I can understand the code, though I'm not yet at the point where I can write patches (else we'd already have improved binpackage support).zxy wrote:read != understand != be able to patch
So you think it is better to have only one very large main.cc instead of breaking it into smaller entities which are easier to maintain?? I don't understand what is the problem here...Yamakuzure wrote:2103 files in 81 folders. This much for a package manager?
Umm, how on earth does the number of include statements in .cc files have anything to do with circular dependencies? If you can put #include is .cc, do it. Why? You want make the header file as minimal as possible (for speed/memory usage, for example). Nothing to do with circular dependencies. Likewise you could prefer forward declarations to include statements.Yamakuzure wrote:The .cc files contain a total of 7102 include statements instead of their headers. <- Smells like circular dependencies, even if that impression is wrong.
If you want to make that conclusion you first need to understand WHY Paludis needs more than one language. Again, I don't see the relation to reliability or speed (in your sense...)Yamakuzure wrote:It is mixed up of C, C++, ObjC, ruby, python and shell scripts. That neither creates any trust in reliability nor speed.
