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

Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 18, 19, 20  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
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Feb 20, 2007 9:54 pm    Post subject: Reply with quote

rm tarball (in distfiles), sync, install ... should do it
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Tue Feb 20, 2007 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Feb 20, 2007 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Tue Feb 20, 2007 10:52 pm    Post subject: Reply with quote

heh :)
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Feb 20, 2007 10:54 pm    Post subject: Reply with quote

I told you so :D

And thanks for reporting it.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Simius
Apprentice
Apprentice


Joined: 26 Oct 2002
Posts: 219
Location: Budapest, Hungary

PostPosted: Wed Feb 21, 2007 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Feb 21, 2007 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
apberzerk
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 278
Location: kansas...

PostPosted: Wed Feb 21, 2007 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Feb 21, 2007 2:29 pm    Post subject: Reply with quote

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 :P
so... you can probably live with it..;)
_________________
The End of the Internet!
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Feb 21, 2007 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Fri Feb 23, 2007 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Fri Feb 23, 2007 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Feb 24, 2007 5:49 am    Post subject: Reply with quote

Paludis 0.20.0 is in portage.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
legine
Guru
Guru


Joined: 27 May 2004
Posts: 555
Location: Germany

PostPosted: Sat Feb 24, 2007 8:10 am    Post subject: Reply with quote

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 :P (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
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sat Feb 24, 2007 2:02 pm    Post subject: Reply with quote

The link at http://paludis.pioto.org/migration.html to the portage2paludis.bash script is broken:
http://svn.pioto.org/viewvc/paludis/scratch/scripts/portage2paludis.bash
Quote:
404 - Not Found

_________________
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
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Sat Feb 24, 2007 4:40 pm    Post subject: Reply with quote

john.doe wrote:
The link at http://paludis.pioto.org/migration.html to the portage2paludis.bash script is broken:
http://svn.pioto.org/viewvc/paludis/scratch/scripts/portage2paludis.bash
Quote:
404 - Not Found

http://paludis.pioto.org/trac/browser/scratch/scripts
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sat Feb 24, 2007 5:17 pm    Post subject: Reply with quote

spb wrote:

http://paludis.pioto.org/trac/browser/scratch/scripts

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
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Sat Feb 24, 2007 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
drkrider
n00b
n00b


Joined: 16 Jan 2006
Posts: 3

PostPosted: Mon Feb 26, 2007 3:17 pm    Post subject: Paludis Install Reply with quote

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
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Mon Feb 26, 2007 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Tue Feb 27, 2007 11:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Feb 28, 2007 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Wed Feb 28, 2007 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Wed Feb 28, 2007 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Feb 28, 2007 9:48 pm    Post subject: Reply with quote

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
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 ... 10, 11, 12 ... 18, 19, 20  Next
Page 11 of 20

 
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