because I'm just crazy, and because it prevents me from doing 'emerge foo', I did that.paludis --uninstall sys-apps/portage will work
Code: Select all
# equery d sys-app/portage
[ Searching for packages depending on portage... ]
sys-libs/db-4.2.52_p4-r2
app-portage/gentoolkit-0.2.2
dev-util/ccache-2.3
dev-util/subversion-1.3.2-r3
app-admin/logrotate-3.7.1-r2
app-admin/syslog-ng-1.6.9
sys-process/vixie-cron-4.1-r9
dev-java/blackdown-jdk-1.4.2.03-r12
dev-java/sun-jdk-1.5.0.08
media-sound/aumix-2.8-r4
sys-apps/shadow-4.0.18.1
sys-apps/attr-2.4.28-r1
sys-apps/baselayout-1.12.6
net-misc/rsync-2.6.8-r2
A few of them (gentoolkit) are genuine deps. Most of them are depping upon Portage because they require some feature that wasn't in certain Portage versions.Lloeki wrote:of course, I believe none of theme really depend on portage. I bet that's just to have portage emerged first. is there something to do for those packages not to pull portage in when I do, e.g 'paludis -ip rsync' ? I mean, something less hacky than a fake sys-apps/portage ebuild. ideally I guess they should depend on a virtual/portage, and paludis providing that virtual ...


Code: Select all
#!/bin/bash
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash
PALUDIS_TMP_DIR="/var/tmp/paludis"
N="0"
MOUNTED="$(cat /proc/mounts | grep tmpfs | grep -c ${PALUDIS_TMP_DIR} )"
if [ $MOUNTED = $N ]
then
einfo "Mounting ${PALUDIS_TMP_DIR} to tmpfs..."
mount -t tmpfs tmpfs -o size=1500M,nr_inodes=1M ${PALUDIS_TMP_DIR}
else
einfo "${PALUDIS_TMP_DIR} already mounted on tmpfs..."
fi
trueCode: Select all
#!/bin/bash
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash
PALUDIS_TMP_DIR="/var/tmp/paludis"
N="0"
MOUNTED="$(cat /proc/mounts | grep tmpfs | grep -c ${PALUDIS_TMP_DIR} )"
if [ $MOUNTED != $N ]
then
umount ${PALUDIS_TMP_DIR}
einfo "Unmounting ${PALUDIS_TMP_DIR} from tmpfs..."
fi
true


Paludis 0.10.1 has been released. Changes since 0.10.0 incude:
The report is rather nice as a sync_all_post hook.
- Package origins and install times can now be queried.
- Packages with version 9999, or with names ending in "-cvs" or "-svn", are now considered to be SCM packages for reinstall purposes.
- Paludis will now compile with g++-3.4 again.
- A new --report action, which displays warnings about installed packages that are insecure, masked or no longer available, has been added to the paludis client.

Code: Select all
export http_proxy="http://192.168.1.1:8080"could that be broken into --report insecure|masked|unavailable|all ?A new --report action, which displays warnings about installed packages that are insecure, masked or no longer available, has been added to the paludis client

-Os on amd64 with g++-4.1 is known to produce broken code for Paludis.Lepaca Kliffoth wrote:edit: Maybe this can be important, just found out: emerge compiles with -O3, paludis with -Os. I wanted to switch from 3 to s but I forgot to change make.conf and only changed paludis
Code: Select all
* sys-devel/gcc-config-1.3.14::gentoo [N] <sys-devel/gcc-4.1.1-r3::gentoo, sys-libs/glibc-2.5::gentoo>
* dev-libs/gmp-4.2.1::gentoo [N] -doc -nocxx <dev-libs/mpfr-2.2.0_p16::gentoo, sys-devel/gcc-4.1.1-r3::gentoo>
* sys-libs/db-4.3.29-r2::gentoo {:4.3} [N] -bootstrap -doc -java -nocxx -tcl -test <dev-lang/perl-5.8.8-r2::gentoo, sys-devel/libperl-5.8.8-r1::gentoo, 1 more>
* sys-libs/gdbm-1.8.3-r2::gentoo [N] berkdb <dev-lang/perl-5.8.8-r2::gentoo, sys-devel/libperl-5.8.8-r1::gentoo>
* sys-libs/gpm-1.20.1-r5::gentoo [N] (-selinux) <sys-libs/ncurses-5.5-r3::gentoo>
* sys-libs/ncurses-5.5-r3::gentoo {:5} [N] -bootstrap -build -debug -doc gpm -minimal -nocxx -trace unicode <app-shells/bash-3.2_p5::gentoo, sys-apps/texinfo-4.8-r5::gentoo, 2 more>
* sys-apps/texinfo-4.8-r5::gentoo [N] -build nls -static <sys-apps/groff-1.19.2-r1::gentoo, sys-devel/autoconf-2.61::gentoo, 2 more>
* sys-apps/groff-1.19.2-r1::gentoo [N] X <sys-devel/libperl-5.8.8-r1::gentoo>
* sys-devel/libperl-5.8.8-r1::gentoo {:1} [N] berkdb -debug gdbm -ithreads <dev-lang/perl-5.8.8-r2::gentoo>
* dev-lang/perl-5.8.8-r2::gentoo [N] berkdb -build -debug -doc gdbm -ithreads -perlsuid <app-admin/perl-cleaner-1.04.3::gentoo, dev-perl/Locale-gettext-1.05::gentoo, 7 more>
* app-shells/bash-3.2_p5::gentoo [N] -afs -bashlogger nls -vanilla <app-admin/perl-cleaner-1.04.3::gentoo>
* app-admin/perl-cleaner-1.04.3::gentoo [N] <dev-lang/perl-5.8.8-r2::gentoo>
* perl-core/PodParser-1.35::gentoo [N] <dev-lang/perl-5.8.8-r2::gentoo>
* perl-core/Test-Harness-2.64::gentoo [N] <dev-lang/perl-5.8.8-r2::gentoo>
* sys-devel/automake-wrapper-3-r1::gentoo [N] <sys-devel/automake-1.10::gentoo>
* sys-devel/m4-1.4.8::gentoo [N] nls <sys-devel/autoconf-2.61::gentoo, sys-devel/bison-2.3::gentoo>
* sys-devel/autoconf-wrapper-4-r3::gentoo [N] <sys-devel/autoconf-2.61::gentoo>
* sys-devel/autoconf-2.61::gentoo {:2.5} [N] -emacs <dev-libs/mpfr-2.2.0_p16::gentoo, sys-devel/automake-1.10::gentoo, 1 more>
* perl-core/Test-Simple-0.65::gentoo [N] <virtual/perl-Test-Simple-0.65::gentoo>
* virtual/perl-Test-Simple-0.65::gentoo [N] <dev-perl/Locale-gettext-1.05::gentoo>
* dev-perl/Locale-gettext-1.05::gentoo [N] <sys-apps/help2man-1.36.4::gentoo>
* sys-apps/help2man-1.36.4::gentoo [N] nls <sys-devel/automake-1.10::gentoo, sys-devel/libtool-1.5.22::gentoo>
* sys-devel/automake-1.10::gentoo {:1.10} [N] <dev-libs/mpfr-2.2.0_p16::gentoo, sys-devel/libtool-1.5.22::gentoo>
* sys-devel/libtool-1.5.22::gentoo {:1.5} [N] <dev-libs/mpfr-2.2.0_p16::gentoo>
* dev-libs/mpfr-2.2.0_p16::gentoo [N] <sys-devel/gcc-4.1.1-r3::gentoo>
* sys-devel/bison-2.3::gentoo [N] nls -static <sys-devel/gcc-4.1.1-r3::gentoo>
* sys-apps/sed-4.1.5::gentoo [N] nls -static <sys-devel/gcc-4.1.1-r3::gentoo>
* sys-devel/gcc-4.1.1-r3::gentoo {:4.1} [N] (-altivec) -bootstrap -build -doc fortran -gcj gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) nls -nocxx -objc -objc++ -objc-gc -test -vanilla <sys-libs/glibc-2.5::gentoo>
* sys-kernel/linux-headers-2.6.17-r1::gentoo [N] -gcc64 <sys-libs/glibc-2.5::gentoo>
* app-misc/pax-utils-0.1.14::gentoo [N] -caps <sys-libs/glibc-2.5::gentoo>
* sys-libs/timezone-data-2006p::gentoo [N] nls <sys-libs/glibc-2.5::gentoo>
* sys-libs/glibc-2.5::gentoo {:2.2} [N] -build -glibc-compat20 -glibc-omitfp -hardened (-multilib) nls nptl nptlonly -profile (-selinux) <sys-devel/gcc-4.1.1-r3::gentoo>
You want uninstalled, not installed.yoshi314 wrote:is there a workaround for this issue? i tried tinkering with --dl-installed-deps-pre and --dl-installed-deps-runtime options, but they didn't change a bit.
Yes. It also doesn't default to Portage's broken (long story, but basically a couple of Gentoo embedded people with far too much influence subverted the whole depend/rdepend distinction for their own purposes that don't coincide with how the tree uses them or how they were designed) behaviour for rooted installs.does paludis see the difference between runtime and build deps?

So, will that bash script to automate the process find this and set up everything correctly. or does it need these particular directories in a specific location, especially the main portage tree? Also, will Paludis use a separate director for distdir stuff then? Or, will I need to do a manual install, if so, how what would I need to do to have Pauldis use all the above directories correctly?PORTDIR="/portage/gentoo"
DISTDIR="/portage/distfiles"
PKGDIR="${DISTDIR}/packages"
RPMDIR="${DISTDIR}/rpm"
PORTDIR_OVERLAY="/portage/main-overlay /portage/nx-overlay /portage/pertty-overlay /portage/kernel-overlay /portage/toolchain-overlay"
PORT_LOGDIR="/var/log/portage"

Then why do the tests fail with emerge too, which compiles with -O3?ciaranm wrote:-Os on amd64 with g++-4.1 is known to produce broken code for Paludis.Lepaca Kliffoth wrote:edit: Maybe this can be important, just found out: emerge compiles with -O3, paludis with -Os. I wanted to switch from 3 to s but I forgot to change make.conf and only changed paludis
maybe because it breaks things too?Then why do the tests fail with emerge too, which compiles with -O3?
well, that's exactly it. I did the same as you. portage2paludis script did the job fairly well at generating repos config. just be sure to manually create profiles/repo_name files in each overlay after that.Though, now I guess I need to change some of the names like /portage to /repositories and change overlay to something else.

this is very confusing, especially for non-native english user. does it really work that way (in english) ?ciaranm wrote:You want uninstalled, not installed.yoshi314 wrote:is there a workaround for this issue? i tried tinkering with --dl-installed-deps-pre and --dl-installed-deps-runtime options, but they didn't change a bit.
YesStifflerStealth wrote:So, will that bash script to automate the process find this and set up everything correctly
Set distdir= in the repo .conf files, if the script doesn't do it for you.Also, will Paludis use a separate director for distdir stuff then?
At this point I'm going to say... Because your system is screwed up.Lepaca Kliffoth wrote:Then why do the tests fail with emerge too, which compiles with -O3?ciaranm wrote:-Os on amd64 with g++-4.1 is known to produce broken code for Paludis.Lepaca Kliffoth wrote:edit: Maybe this can be important, just found out: emerge compiles with -O3, paludis with -Os. I wanted to switch from 3 to s but I forgot to change make.conf and only changed paludis
--dl-uninstalled-* tells paludis what to do with packages that are currently uninstalled. --dl-installed-* tells paludis what to do with packages that are currently installed.yoshi314 wrote:this is very confusing, especially for non-native english user. does it really work that way (in english) ?ciaranm wrote:You want uninstalled, not installed.yoshi314 wrote:is there a workaround for this issue? i tried tinkering with --dl-installed-deps-pre and --dl-installed-deps-runtime options, but they didn't change a bit.
You really should read the Known Issues and Non-Issues doc:btw is something like PORTAGE_NICENESS implemented for paludis?
Automatic Niceness Support
Non-Problem: There's no PORTAGE_NICENESS equivalent.
Rationale: Learn how to use nice. There's no GCC_NICENESS or VIM_NICENESS either.

I wonder how it happenedciaranm wrote:At this point I'm going to say... Because your system is screwed up.Lepaca Kliffoth wrote:Then why do the tests fail with emerge too, which compiles with -O3?ciaranm wrote:-Os on amd64 with g++-4.1 is known to produce broken code for Paludis.Lepaca Kliffoth wrote:edit: Maybe this can be important, just found out: emerge compiles with -O3, paludis with -Os. I wanted to switch from 3 to s but I forgot to change make.conf and only changed paludis

If you wanted to, you could try to make a paludis only stage one tarball with the latest goodies from "Portage Tree", like updated GLibC and such. Even modify the bootstrap.sh to pull in paludis instead of portage and to modify a few other things like the profile to eliminate all traces of portage. I was thinking of trying to do that at one point when I know a bit more. Then, instead of emoerge system, you would use the equivalent and you wouldn't have the python dependencies.Lepaca Kliffoth wrote:I wonder how it happenedAsking someone else to fix it for me is out of the question, I guess I'll test Paludis' ability to bootstrap a system
edit: no, I'm not going to bootstrap from the currently borked system :p
Code: Select all
...
PASS: hardcode.test
FAIL: build-relink.test
PASS: noinst-link.test
PASS: demo-unst.test
...
This is solved by reading the docs.Janax wrote:I figured I'd try Paludis out since I wanted to reorganize my system anyway, but I'm having a problem with bootstrapping. When I try to build 'system' I get a failure inside the testing phase of the 'libtool' package: