Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Paludis support thread (current v. 0.14.3) - Part 1
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 19, 20, 21  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
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Thu Nov 23, 2006 7:12 pm    Post subject: Reply with quote

Split off some discussion to this thread.

Keep this thread on topic only.
_________________
Dinosaur week! (Ok, this thread is so last week)
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: Thu Nov 23, 2006 7:32 pm    Post subject: Reply with quote

Anybody with something to say, like an opinion, flamewar stuff, etc.

I just opened a Paludis opinions thread here: https://forums.gentoo.org/viewtopic-t-518779-start-0-postdays-0-postorder-asc-highlight-.html

Feel free to go there. I hope moderators will agree to move the chaty parts of this thread there and that the posts with technical content stays here.

I hope this division will help everybody to get as much as possible without searching to much through posts that express chaty content.

Thanks, zxy.

P.S.: I don't want to be a pain in the ass for everybody, so this is my last attempt.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Nov 23, 2006 7:36 pm    Post subject: Reply with quote

zxy wrote:
Anybody with something to say, like an opinion, flamewar stuff, etc.

I just opened a Paludis opinions thread here: https://forums.gentoo.org/viewtopic-t-518779-start-0-postdays-0-postorder-asc-highlight-.html

Feel free to go there. I hope moderators will agree to move the chaty parts of this thread there and that the posts with technical content stays here.

I hope this division will help everybody to get as much as possible without searching to much through posts that express chaty content.

Thanks, zxy.

P.S.: I don't want to be a pain in the ass for everybody, so this is my last attempt.

We already have the one in OTW, non-support questions should go there. Link
amne splitted the non-support questions off this thread, probably while you were writing the above post.
_________________
KDE
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: Thu Nov 23, 2006 8:05 pm    Post subject: Reply with quote

@Earthwings Thanks.
------------------------

How is it to use Paludis and Portage on the same system?

I mean, if I have Paludis installed, but occasionaly (because I'm used to) I run
Code:
emerge --sync
or
Code:
emerge -uavND world


Are there some problems lurking behind the bush if it is done?
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: Fri Nov 24, 2006 12:43 am    Post subject: Reply with quote

zxy wrote:
Are there some problems lurking behind the bush if it is done?
Depends. Portage may have trouble uninstalling packages that were installed with some versions of Paludis. It'll also have problems with packages that use -scm versions. Other than that it's worked fine for me.
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 Nov 24, 2006 1:45 am    Post subject: Reply with quote

spb wrote:
zxy wrote:
Are there some problems lurking behind the bush if it is done?
...It'll also have problems with packages that use -scm versions...


What does it mean -scm versions?
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: Fri Nov 24, 2006 2:27 am    Post subject: Reply with quote

zxy wrote:
What does it mean -scm versions?
Paludis supports a -scm version component, denoting a 'live' CVS/SVN/git/whatever ebuild. Portage doesn't understand it in a version spec, and so if you have any such packages installed it gives a lot of "invalid db entry" warnings.
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 Nov 24, 2006 4:25 am    Post subject: Reply with quote

This is interresting. If I understand correctly. If there is an overlay for portage and it is updated usualy by
Code:
svn co my-overlay
then paludis can do it for me automagicaly?

If it is so, then how to do this - where to write what and in which config files?

Are there any examples for how to use this on the net?
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Nov 24, 2006 9:03 am    Post subject: Reply with quote

zxy wrote:
This is interresting. If I understand correctly. If there is an overlay for portage and it is updated usualy by
Code:
svn co my-overlay
then paludis can do it for me automagicaly?

If it is so, then how to do this - where to write what and in which config files?

Are there any examples for how to use this on the net?

That's just a sync= line. Depending upon how you checked out your repository, it'd be svn+ssh:// or svn:// .
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Nov 24, 2006 8:00 pm    Post subject: Reply with quote

1) I asked this before, but it got kinda lost. Is there a log system planned like in portage, where you can have it send warnings etc using jabber/email etc?
2) How do I read news, I can only find the update-news option, but that does something else

EDIT: added a second question


Last edited by BlackEdder on Fri Nov 24, 2006 8:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Fri Nov 24, 2006 8:27 pm    Post subject: Reply with quote

for eix users, pioto made a little script, to update the eix cache file after every sync, (hooks)

But, because of how eix works:
man eix wrote:
-x overlay, --exclude-overlay overlay
    This is similar to adding overlay to EXCLUDE_OVERLAY but has the advantage that you need not modify the latter, and you can also use spaces in overlay. overlay is considered as a mask. All matching overlays (even those added by later --add-overlay options) are excluded from the list of overlays. The PORTDIR directory is considered as any other overlay which can be excluded (in this case, the first overlay in the list will be stored as PORTDIR). It is explicitly admissible to use this option repeatedly to exclude several overlays.

(if one or several overlay appear(s) in make.conf AND in /etc/paludis/repositories/* then these overlay will be ignored)

It didn't work correctly, so I slightly modified it, but in order to use it, you have to move/delete /etc/make.conf, I added a diff-eix step, so now we can have something like eix-sync :)

(note the .bash at the end of the filename (and no need to make it executable))
here is the script:
/usr/share/paludis/hooks/sync_all_post/update-eix.bash:
#!/bin/bash
[[ -x /usr/bin/update-eix ]] || return 0
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash
ebegin "Updating eix database"
opts=
 
for repo in $(${PALUDIS_COMMAND} --list-repositories | sed -n /^\*/s/^..//p)
do
        [[ "$(${PALUDIS_COMMAND} --configuration-variable ${repo} format)" \
                == "portage" ]] || continue
        location="$(${PALUDIS_COMMAND} --configuration-variable ${repo} location)"
        opts="${opts} --add-overlay ${location}"
        [[ "$(${PALUDIS_COMMAND} --configuration-variable ${repo} cache)" \
                == "/var/empty" ]] \
                || opts="${opts} -m ${location} metadata"
done
 
/usr/bin/update-eix -o ${ROOT}/var/cache/eix-tmp -q ${opts}
/usr/bin/diff-eix ${ROOT}/var/cache/eix ${ROOT}/var/cache/eix-tmp
/usr/bin/mv ${ROOT}/var/cache/eix-tmp ${ROOT}/var/cache/eix


(and then you can use eix, as you used to)
_________________
The End of the Internet!


Last edited by truc on Mon Nov 27, 2006 3:37 pm; edited 1 time in total
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 Nov 24, 2006 8:59 pm    Post subject: Reply with quote

I guess it is slowly time to consider setting up a wiki. I might do it in the near future and put the valuabe advices and scripts like the above there.
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sat Nov 25, 2006 2:04 pm    Post subject: Reply with quote

BlackEdder wrote:
1) I asked this before, but it got kinda lost. Is there a log system planned like in portage, where you can have it send warnings etc using jabber/email etc?

You can do whatever you want with log messages using hooks.

So, the question is more: will someone create a set of demo hooks that people can drop in to do this? And the answer's yes -- someone's already made them, but I didn't particularly like the code (too inflexible), so it's up for a rewrite...

Quote:
2) How do I read news, I can only find the update-news option, but that does something else

eselect news
Back to top
View user's profile Send private message
jordan83
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 222
Location: check your closet...

PostPosted: Sun Nov 26, 2006 4:37 am    Post subject: Reply with quote

Hi,

I have modified the revdep-rebuild utility and now, hopefully, it "should" work with Paludis. ;)

Here you can find the ebuild (gentoolkit).
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Louis-Hector Berlioz
--
When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris.
chucknorrisfacts.com
Back to top
View user's profile Send private message
jordan83
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 222
Location: check your closet...

PostPosted: Sun Nov 26, 2006 3:28 pm    Post subject: Reply with quote

ciaranm wrote:

Find a list of common tasks and convince me it's genuine.

I think that dedicated switches to:
- update
- rebuild a package if new use flags have been enabled
would be enough.
That's just my opinion, actually I don't know what are your future plans for Paludis and maybe these switches won't be necessary.

ciaranm wrote:

Quote:
Paludis does not change correctly console's title bar after installation has finished (it keeps "(x of y) Cleaning bbb-hhh/aaaaaa" ) (tiny bug report)

I'm still arguing that that one's not a bug. There's no sane way of getting what the console title is, so it can't restore it. Most people (and most programs that use this feature) rely upon their shell resetting the title via, for example, PROMPT_COMMAND.


You could then just change the console bar to something like "Operation completed" or something like that.
This change would be useful to understand when the building process is finished, especially when the window is minimized. :)

Quote:
Wouldn't it be of more use for people with fast connections?

As stated by truc I meant "downloading packages while an other one is being compiled"
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Louis-Hector Berlioz
--
When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris.
chucknorrisfacts.com
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Nov 26, 2006 10:12 pm    Post subject: Reply with quote

jordan83 wrote:

- rebuild a package if new use flags have been enabled

--dl-reinstall if-use-changed
jordan83 wrote:

- update

Doesn't paludis -i world work like emerge -uD world do?
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
jordan83
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 222
Location: check your closet...

PostPosted: Sun Nov 26, 2006 10:56 pm    Post subject: Reply with quote

boniek wrote:

--dl-reinstall if-use-changed

The point is not the lack of such an option but the lack of a "short option", like -N in Portage. ;)

boniek wrote:

Doesn't paludis -i world work like emerge -uD world do?

Not exactly.
It work the same way only if the argument is world.
The "problem" arises when you want to update a specific package since -i switch always records the name of the package in "world" file and this is not the behaviour you want for "update".
emerge -uD pkg = paludis -1i pkg

In my opinion it would be nice to have something like: paludis -u pkg

However, these are just small things :)
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Louis-Hector Berlioz
--
When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris.
chucknorrisfacts.com
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: Mon Nov 27, 2006 6:50 am    Post subject: Reply with quote

I'm trying to recompile dev-lang/php.

I get this error.
Code:
>>> Done builtin_init
>>> Starting pkg_setup
 * Determining SAPI(s) to build
 *   Enabled  SAPI: cli
 *   Enabled  SAPI: cgi
 *   Disabled SAPI: apache
 *   Disabled SAPI: apache2

!!! ERROR in dev-lang/php-5.1.6-r8:
!!! In built_with_use at line 1605
!!! Unable to determine what USE flags virtual/imap-c-client-2004g was built with

!!! Call stack:
!!!    * built_with_use (/usr/portage/eclass/eutils.eclass:1605)
!!!    * php_check_imap (/usr/portage/eclass/php-common-r1.eclass:49)
!!!    * php5_1-sapi_check_use_flags (/usr/portage/eclass/php5_1-sapi.eclass:200)
!!!    * php5_1-sapi_pkg_setup (/usr/portage/eclass/php5_1-sapi.eclass:270)
!!!    * pkg_setup (/usr/portage/dev-lang/php/php-5.1.6-r8.ebuild:106)
!!!    * ebuild_f_setup (/usr/libexec/paludis/pkg_setup.bash:40)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:286)
!!!    * main (/usr/libexec/paludis/ebuild.bash:298)

die trap: exiting with error.


What is this and what to do? The package virtual/imap-c-client-2004g is masked and cannot be found. Eix can't find it either.
Code:
# paludis virtual/imap-c-client-2004g -ip
Building dependency list...
Query error:
  * In program paludis virtual/imap-c-client-2004g -ip:
  * When performing install action from command line:
  * When executing install task:
  * When adding PackageDepAtom 'virtual/imap-c-client-2004g':
  * All versions of 'virtual/imap-c-client-2004g' are masked

Code:

#paludis virtual/imap-c-client-2004g -q

Query error:
  * In program paludis virtual/imap-c-client-2004g -q:
  * When performing query action from command line:
  * When handling query 'virtual/imap-c-client-2004g':
  * Could not find 'virtual/imap-c-client-2004g'
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Nov 27, 2006 8:39 am    Post subject: Reply with quote

Looks like it relies upon has_version/best_version on old-style virtuals returning the resolved package name rather than the virtual. That's probably illegal -- certainly it will break when it's switched to a new-style virtual.

In the mean time, I've written that one down on the list of things to change once I'm done rebuilding my laptop...
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Nov 27, 2006 11:35 am    Post subject: Reply with quote

jordan83 wrote:
boniek wrote:

--dl-reinstall if-use-changed

The point is not the lack of such an option but the lack of a "short option", like -N in Portage. ;)


Juste use the PALUDIS_OPTIONS variable then :?:
_________________
The End of the Internet!
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Nov 27, 2006 12:06 pm    Post subject: Reply with quote

zxy wrote:
I'm trying to recompile dev-lang/php.

I get this error.

Try svn. That should be fixed by r1764.
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: Mon Nov 27, 2006 12:24 pm    Post subject: Reply with quote

I just started a wiki. It should still improve during the day, and ofcourse as the thread evolves in the future.
Link is in the first post.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu


Last edited by zxy on Mon Nov 27, 2006 10:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lepaca Kliffoth
l33t
l33t


Joined: 28 Apr 2004
Posts: 737
Location: Florence, Italy

PostPosted: Mon Nov 27, 2006 7:46 pm    Post subject: Reply with quote

At the moment I have only a very minor problem with paludis; is it possible to mute the [QA] messages? They screw up the output, they get in the way of my trying to learn to use the tool.
Great job, Ciaranm & C.!
_________________
It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox!
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Nov 27, 2006 7:50 pm    Post subject: Reply with quote

Lepaca Kliffoth wrote:
At the moment I have only a very minor problem with paludis; is it possible to mute the [QA] messages? They screw up the output, they get in the way of my trying to learn to use the tool.

--log-level warning
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: Mon Nov 27, 2006 9:03 pm    Post subject: Reply with quote

During the creation of wiki an idea has come up to create an overlay with patched apps that work with Paludis.
For example
[*]revdep-rebuild
[*]portage utils
would be in for now. (You can currently find ebuilds here in this thread or on the wiki)

The problem is the place where to put this overlay.

Any volunteers?
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
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, ... 19, 20, 21  Next
Page 2 of 21

 
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