View previous topic :: View next topic |
Author |
Message |
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Feb 20, 2007 9:54 pm Post subject: |
|
|
rm tarball (in distfiles), sync, install ... should do it _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Tue Feb 20, 2007 10:01 pm Post subject: |
|
|
Did all of that just a few hours ago, so unless the repo has changed since then I will stick to my claim that that does not work for me.
- Phil |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Feb 20, 2007 10:07 pm Post subject: |
|
|
The tarball has changed. I renamed the script (added missing ".bash"), tested it again, works.
-----------
I hate bugs... _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Tue Feb 20, 2007 10:52 pm Post subject: |
|
|
heh |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Feb 20, 2007 10:54 pm Post subject: |
|
|
I told you so
And thanks for reporting it. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Simius Apprentice
Joined: 26 Oct 2002 Posts: 219 Location: Budapest, Hungary
|
Posted: Wed Feb 21, 2007 8:30 am Post subject: |
|
|
Can I set per-package cflags in Paludis?
Octave consistently fails a test in make check, and I'd like to know if it has anything to do with cflags. _________________ You kinda have to sneak up on a mac...
- PC vs MAC (http://www.youtube.com/watch?v=iEAGmBRC1dc) |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Feb 21, 2007 11:50 am Post subject: |
|
|
You can set per package cflags in /etc/paludis/bashrc
add something like this to the case statement:
Code: | case "${PN}" in
...
...
octave)
export CFLAGS="_your_cflags_here_"
;;
...
...
esac
|
_________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
apberzerk Apprentice
Joined: 11 Jan 2004 Posts: 278 Location: kansas...
|
Posted: Wed Feb 21, 2007 2:17 pm Post subject: |
|
|
So many things fail the test phase for me that I just did "export SKIP_FUNCTIONS=test" for all packages. How bad is this? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Feb 21, 2007 2:29 pm Post subject: |
|
|
apberzerk wrote: | So many things fail the test phase for me that I just did "export SKIP_FUNCTIONS=test" for all packages. How bad is this? |
just as bad as what portage does by default
so... you can probably live with it.. _________________ The End of the Internet! |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Feb 21, 2007 2:29 pm Post subject: |
|
|
That is normal for portage. Portage skips tests.
I have excluded testing for the packages that fail tests per package (or masked them if I wanted to), but you can (if you want to) do the oposite. you can set packages to skip test by default and enable testing on per package basis for the ones you wanna test.
How bad is it to exclude all tests? AFAIK (and i have set this too on some P2 machine) it works ok.
--edit ---
minor corrections _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Fri Feb 23, 2007 5:07 pm Post subject: |
|
|
zxy wrote: | That is normal for portage. Portage skips tests. |
Is that so?
In any case if ebuild maintainer doesn't run tests and doesn't workaround/prepare/whatever in srs_test so they not fail, or package developer hasn't updated tests in ages, or running tests requires 10x the time of package itself (think auto-xxx) etc...
Is that really much more advanced to scan for random test targets to run them and fail mostly for trivial reasons.
Sure you prolly want to run tests for toolchain etc. But if an ebuild lacks src_test, then good chances are that its author didn't bother to run make check and it will break for random reasons from missing deps to it wants to get something from the net when your ISP plays dead... |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Fri Feb 23, 2007 7:36 pm Post subject: |
|
|
4nykey wrote: | zxy wrote: | That is normal for portage. Portage skips tests. |
Is that so?
| Yup. With a few more words, so the quote wouldn't be understood wrong: Portage skips tests by default, but you can enable them if you want to, while paludis has tests enabled by default and you can disable them if you want to.
Yup, some packages have unmaintained test suites that fail. Tests are a good idea I think especialy if a person uses some strange cflags or sth, but unfortunately they fail sometimes with normal cflags too . _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Sat Feb 24, 2007 5:49 am Post subject: |
|
|
Paludis 0.20.0 is in portage. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
legine Guru
Joined: 27 May 2004 Posts: 555 Location: Germany
|
Posted: Sat Feb 24, 2007 8:10 am Post subject: |
|
|
I wanted to check out Paliou for some time now. I decided that it is time to move today. Well at least the feature list sounds great. I hope the best for my old system (Which is a realy mess atm, what means more mess wont matter )
But thats not the Problem. While checking resources on the Homepage to do everything right I found a broken Link.
Plix check out http://svn.pioto.org/viewvc/paludis/overlay/ in
Quote: | No matter which method you plan to use, start by installing Paludis. There are ebuilds in the tree, or you can get SVN ebuilds (which Portage can't use) from the Paludis overlay. |
ty!
Have Fun.
Legine _________________ quote from Spaceballs:
Dark Helmet:[...] we were told to comb the desert, so we're combing it! [puts down bullhorn] Find anything yet?!
Soldier: Nothing yet, sir. |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
|
Back to top |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Sat Feb 24, 2007 5:17 pm Post subject: |
|
|
Thanks,but I only wanted to report the broken link.Paludis is up and running on my system(s).
Will it be fixed at the website?
Edit:
OK,it works again. _________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Last edited by nikaya on Sat Feb 24, 2007 8:40 pm; edited 1 time in total |
|
Back to top |
|
|
4nykey Apprentice
Joined: 11 Feb 2004 Posts: 176
|
Posted: Sat Feb 24, 2007 5:23 pm Post subject: |
|
|
zxy wrote: | 4nykey wrote: | zxy wrote: | That is normal for portage. Portage skips tests. |
Is that so?
| Yup. With a few more words, so the quote wouldn't be understood wrong: Portage skips tests by default, but you can enable them if you want to, while paludis has tests enabled by default and you can disable them if you want to. |
If `make check' was part of default target and you did some moves for it not to run, you can call it `skip' then. What portage does is it doesn't enforce tests for every package, and that's quite different, no?
> Yup, some packages have unmaintained test suites that fail.
Yes, quite a few, I'd say.
> Tests are a good idea I think especialy if a person uses some strange cflags or sth
Then the person in question would rather stick some hook that runs make check, esp. if he thinks that testing every single package out there is absolutely crucial. |
|
Back to top |
|
|
drkrider n00b
Joined: 16 Jan 2006 Posts: 3
|
Posted: Mon Feb 26, 2007 3:17 pm Post subject: Paludis Install |
|
|
Good Day,
I have just completed a new install of paludis.
I unmasked paludis-0.20.0 and installed via emerge. I then ran the portage2paludis.bash script, and then verified my /etc/paludis directories, config files, etc. And created my sym link: ln -s /var/lib/portage/world /var/db/pkg/world
But...when I run paludis --sync I get the following message:
iDeq ~ # paludis --sync
Unhandled exception:
* In program paludis --sync:
* When loading default configuration:
* Default configuration error: No repositories specified (paludis::DefaultConfigError)
I double checked the repositories and they are in /etc/paludis/repositories as listed in the migration docs.
I did notice that there is no .paludis folder in my home. Hmmm.
Any ideas?
Douglas |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Mon Feb 26, 2007 3:32 pm Post subject: |
|
|
The "ln -s /var/lib/portage/world /var/db/pkg/world"-symlink is only discribed as you migrate by the manual method.
Using the portage2paludis.bash-script there is imho no necessity to create that symlink.
http://paludis.pioto.org/migration.html _________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera) |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Tue Feb 27, 2007 11:29 pm Post subject: |
|
|
Does paludis not support a write cache for the gentoo repository? Just curious because I am getting an error on gentoo when it tries to update the write cache at the end of a sync. I get
Code: |
* Writing metadata ...
* codeblocks: ok
* enlightenment: ok
* gentoo: !!
* paludis-extras: ok
|
It doesn't look like anything is affected and I bet is it something that hasn't been working since I migrated to paludis and I think the error presentation to let me know is something new to .20.
The write_cache is pointing to /var/cache/paludis/metadata just like the 3 other repositories.
Thanks. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Feb 28, 2007 6:20 am Post subject: |
|
|
you should search before posting... gentoo already provide its metadata/cache, so you don't need to create it=> put write_cache=/var/empty in the gentoo repository conf file _________________ The End of the Internet! |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Wed Feb 28, 2007 11:58 am Post subject: |
|
|
I did search (couldn't find what I was looking for) and I figured that as much. I read over the paludis site for this info also. I was going to set it to /var/empty, and knew that would fix it, I just wanted verification. |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Wed Feb 28, 2007 3:54 pm Post subject: |
|
|
An update wanted to install openssl,but Paludis aborted with an error:
Code: | >>> Done builtin_strip
>>> Starting pkg_preinst
/usr/libexec/paludis/utils/dodir: ${D} not valid; aborting
!!! ERROR in dev-libs/openssl-0.9.8e:
!!! In preserve_old_lib at line 3209
!!! dodir /usr/lib failed
!!! Call stack:
!!! * preserve_old_lib (/var/tmp/paludis/dev-libs/openssl-0.9.8e/temp/loadsaveenv:3209)
!!! * pkg_preinst (/var/tmp/paludis/dev-libs/openssl-0.9.8e/temp/loadsaveenv:3123)
!!! * ebuild_f_preinst (/usr/libexec/paludis/pkg_preinst.bash:45)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:343)
!!! * main (/usr/libexec/paludis/ebuild.bash:361)
die trap: exiting with error.
Install error:
* In program paludis -i1 openssl:
* When performing install action from command line:
* When executing install task:
* Install error: Install failed for 'dev-libs/openssl-0.9.8e::gentoo'
Resume command: paludis --log-level qa --preserve-world --dl-deps-default discard --install '=dev-libs/openssl-0.9.8e::gentoo' --add-to-world-spec '( dev-libs/openssl )' |
I installed it with Portage and all ran well.Any suggestions what the reason could be? _________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera) |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Wed Feb 28, 2007 9:48 pm Post subject: |
|
|
Hopefully that was not posted before. Really simple hook for automatic mounting tmpfs before build starts. It mounts using at most half of your system memory. Please have a look inside for very basic configuration.
EDIT: removed they were utterly broken _________________ [HOWTO]New freetype subpixel font rendering for lcd monitors
Last edited by boniek on Sun Mar 11, 2007 5:12 pm; edited 2 times in total |
|
Back to top |
|
|
|