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

Goto page Previous  1, 2, 3, 4, 5 ... 24, 25, 26  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
zlin
Retired Dev
Retired Dev


Joined: 05 Dec 2005
Posts: 35
Location: Aalborg, Denmark

PostPosted: Thu Jan 10, 2008 1:26 pm    Post subject: Reply with quote

krisse wrote:
Apache 2.2.6-r7 wants to have APACHE2_MODULES set. The portage way to do it, is to set it in make.conf. Where would paludis like it? Tried in /etc/paludis/bashrc, but that got me the following error:
Code:
!!! ERROR in www-servers/apache-2.2.6-r7:
!!! In ? at line 220
!!! /etc/paludis/bashrc attempted to set $APACHE2_MODULES, which must not be set in bashrc.

(Got it built by using
Code:
APACHE2_MODULES="blah blah" paludis -i apache
, but...)

You were supposed to use use.conf like with any other USE_EXPAND...
Back to top
View user's profile Send private message
krisse
Guru
Guru


Joined: 15 Mar 2005
Posts: 325
Location: Sweden

PostPosted: Thu Jan 10, 2008 1:49 pm    Post subject: Reply with quote

super-lupo wrote:
krisse:

The paludis way would be in /etc/paludis/use.conf
Add a line like following:

*/* APACHE2_MODULES: -* actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default ...


Thanks.
Back to top
View user's profile Send private message
meertn
n00b
n00b


Joined: 02 Oct 2005
Posts: 13

PostPosted: Fri Jan 11, 2008 1:47 pm    Post subject: Reply with quote

I recently installed paludis, and it worked like a charm. However, now, whenever I install a package, the process stops shortly after unpacking. Example:
Code:
mv -f /usr/portage/distfiles/pcre++-0.9.5-patches.tar.bz2.-PARTIAL- /usr/portage/distfiles/pcre++-0.9.5-patches.tar.bz2
Checking 'pcre++-0.9.5.tar.gz'... ok
Checking 'pcre++-0.9.5-patches.tar.bz2'... ok
>>> Running ebuild phase prepare as root:root...
>>> Starting builtin_prepare
>>> Done builtin_prepare
>>> Completed ebuild phase prepare
>>> Running ebuild phases init saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv

Install error:
  * In program paludis -i paludis:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'dev-libs/pcre++-0.9.5-r1:0::gentoo':
  * Install error: Install failed for 'dev-libs/pcre++-0.9.5-r1:0::gentoo'
When using log-level debug I get: (after lots of output)
Code:
/usr/libexec/paludis/ebuild.bash@1200058267: [DEBUG.EBUILD]
/usr/libexec/paludis/ebuild.bash@1200058268: [DEBUG.EBUILD] Saving PALUDIS_PROFILE_DIRS=/usr/portage/profiles/default-linux/x86/2006.1/desktop (from ?)
/usr/libexec/paludis/ebuild.bash@1200058268: [DEBUG.EBUILD] Saving PALUDIS_LOADSAVEENV_DIR=/var/tmp/paludis/dev-libs/pcre++-0.9.5-r1/temp (from ?)
/usr/libexec/paludis/ebuild.bash@1200058268: [DEBUG.EBUILD] Loading bashrc file /etc/paludis/bashrc (from ?)
/usr/libexec/paludis/ebuild.bash@1200058268: [DEBUG.EBUILD] Using ebuild '/usr/portage/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild', EAPI before source is '0' (from ?)
>>> Running ebuild phases loadenv setup saveenv as root:root...
/usr/libexec/paludis/ebuild.bash@1200058268: [DEBUG.EBUILD] Starting hook 'ebuild_loadenv_pre' (from /usr/portage/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild)
>>> Starting builtin_loadenv
paludis@1200058268: [DEBUG] Starting hook 'install_fail'
When I run /usr/libexec/paludis/ebuild.bash I get the message:
Code:
/usr/libexec/paludis/ebuild.bash: line 68: canonicalise: command not found
Back to top
View user's profile Send private message
Ferdy
Retired Dev
Retired Dev


Joined: 04 May 2002
Posts: 483
Location: España

PostPosted: Sat Jan 12, 2008 1:36 pm    Post subject: Reply with quote

meertn, either downgrade bash, or upgrade paludis to alpha5.

Also, see this earlier post by zlin: https://forums.gentoo.org/viewtopic-p-4704962.html#4704962

- ferdy
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Mon Jan 14, 2008 2:30 am    Post subject: Reply with quote

slycordinator wrote:
So to get everything updated you can add
Code:
--dl-deps-default pre-or-post
to your default setting.

(Don't know how I missed this before....) I don't know where you got that idea from, but stop doing it, or at least stop telling other people to do it. It breaks Paludis's cyclic dependency resolution (including "normal" R?DEPEND <-> PDEPEND cycles that you get with xorg drivers, plugins, etc).
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Mon Jan 14, 2008 8:06 am    Post subject: Reply with quote

Then tell me a better way to make sure that BOTH depends and rdepends get updated instead of just rdepends.
Back to top
View user's profile Send private message
Ferdy
Retired Dev
Retired Dev


Joined: 04 May 2002
Posts: 483
Location: España

PostPosted: Mon Jan 14, 2008 8:55 am    Post subject: Reply with quote

Reading the FAQ instead of pretending to know what you are doing: http://paludis.pioto.org/faq/operation.html#updatingdepends

- ferdy
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Mon Jan 14, 2008 4:53 pm    Post subject: Reply with quote

Thanks; I truly don't remember that particular option even though I read the faq (but it's been a while obviously).
Back to top
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Sat Jan 19, 2008 1:25 pm    Post subject: Reply with quote

It's probably a trivial question, but the Paludis FAQ on this is unfortunately a bit to cryptic for me (as it is most of the time unfortunately).
I'm trying to get paludis to use default options, but for some reason it doesn't seem to work.

I've added
Code:
PALUDIS_OPTIONS="--debug-build split --resume-command-template /var/paludis/.paludis-resume-XXXXXX --log-level warning"


to the file /etc/paludis/bashrc as I thought that was how the default options should be added.

However if I now run:
Code:
paludis -pi --dl-reinstall if-use-changed world


I still get QA warning-messages that should no longer be present. Those QA warning are gone if I add --log-level warning directly to the command. So the default-options are not used....The question is what should I do different to get the default-options to work properly??

ps) I've tried adding export in front. That does not make a difference and should no longer be needed according to the changelog for paludis.
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Sat Jan 19, 2008 1:29 pm    Post subject: Reply with quote

PALUDIS_OPTIONS should be added in user's ~/.bashrc
Back to top
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Sat Jan 19, 2008 1:41 pm    Post subject: Reply with quote

pussi wrote:
PALUDIS_OPTIONS should be added in user's ~/.bashrc


Strange...that is unexpected behavior as I would expect the setting this in /etc/paludis/bashrc to be taken and if the user wants to be overridden in ~/.bashrc. (at least that is how these config-files normally seem to work).

Anyway I'm confused I built software under root using su, but root doesn't seem to have a ~/.bashrc??
Back to top
View user's profile Send private message
andi456
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 145
Location: Germany

PostPosted: Sat Jan 19, 2008 1:58 pm    Post subject: Reply with quote

krisse wrote:
andi456 wrote:
Unfortunately I have already installed the new bash version (bash-3.2_p33). It seems that I cannot reinstall the old one (bash-3.2_p17) because the install phase dies at "Starting builtin_loadenv". So what can I do now?
Probably sacrilegious to suggest the following in a thread like this, but emerge the old bash? I mean, emerge emerge it. ;-) If you've still got portage lying around in your system that is.


Indeed I had to use emerge and delete bash and some other package from /var/db/pkg.
Back to top
View user's profile Send private message
Let_Me_Be
n00b
n00b


Joined: 28 Apr 2005
Posts: 65

PostPosted: Sun Jan 20, 2008 12:07 pm    Post subject: Reply with quote

Hi all, I have one broken system here. Don't know what actually happened, but it seems to be something around bash, anyway any paludis -i package ends up this way:

Code:

!!! ERROR in sys-libs/readline-5.2_p12-r1:
!!! In ebuild_load_module at line 101
!!! Couldn't find module output_functions (looked in /usr/libexec/paludis/0, /usr/libexec/paludis)

!!! Call stack:
!!!    * ebuild_load_module (/usr/libexec/paludis/ebuild.bash:101)
!!!    * main (/usr/libexec/paludis/ebuild.bash:142)

diefunc: making ebuild PID 5903 exit with error
die trap: exiting with error.

Install error:
  * In program paludis -i paludis:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'sys-libs/readline-5.2_p12-r1:0::gentoo':
  * Install error: Install failed for 'sys-libs/readline-5.2_p12-r1:0::gentoo'


Because emerge told me that there is a block around, bash, I tried to downgrade bash form 3.2 to 3.1. Well it took a lot of time, because the fucker always installed the 3.1 and then because 3.2 was protected immediately uninstalled the 3.1. I possibly broke my system more than it was by this crazy magic, but it didn't solve my problem anyway. I have also tried to reinstall paludis using emerge, but it didn't help.

So what now? Any hints? I don't wat to go thru complete reinstall (don't have time for it now).
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Sun Jan 20, 2008 3:40 pm    Post subject: Reply with quote

Code:
 i686-pc-linux-gnu-g++ -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DPYTHONINSTALLDIR=\"/usr/lib/python2.5/site-packages\" -I. -I.. -I.. -DPALUDIS_HASH_IS_STD_TR1_UNORDERED=1 -DPALUDIS_TR1_MEMORY_IS_STD_TR1=1 -DPALUDIS_TR1_TYPE_TRAITS_IS_STD_TR1=1 -DPALUDIS_TR1_FUNCTIONAL_IS_STD_TR1=1 -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunused -Wunused-function -Wshadow -Wwrite-strings -Wfloat-equal -pedantic -O2 -march=nocona -ggdb -pipe -MT dep_list.lo -MD -MP -MF .deps/dep_list.Tpo -c dep_list.cc  -fPIC -DPIC -o .libs/dep_list.o
../paludis/util/member_iterator-fwd.hh:31: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/sys-apps/paludis-0.26.0_alpha7/temp/ccJrDe8X.out file, please attach this to your bugreport.
make[4]: *** [dep_list.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/dep_label.Tpo .deps/dep_label.Plo
make[4]: Leaving directory `/var/tmp/portage/sys-apps/paludis-0.26.0_alpha7/work/paludis-0.26.0_alpha7/paludis'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/paludis-0.26.0_alpha7/work/paludis-0.26.0_alpha7/paludis'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-apps/paludis-0.26.0_alpha7/work/paludis-0.26.0_alpha7/paludis'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/paludis-0.26.0_alpha7/work/paludis-0.26.0_alpha7'
make: *** [all] Error 2


GCC was i686-pc-linux-gnu-4.1.1 on a fresh stage2 (2007.0).
CFLAGS="-Os -march=nocona -ggdb -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
FEATURES="-sandbox candy parallel-fetch splitdebug"

Emerge grabbed paludis-0.26.0_alpha7, default use flags (I'll do a re-paludis once I got paludis to run, so my use flags are defaults for now...)

Syncing right now and trying gcc-4.2

[EDIT]
gcc-4.2:
Code:
checking for a usable std::set<>::const_reverse_iterator... yes
checking whether your compiler has referencing issues... yes
configure: error: Your compiler is b0rked (GCC bug 31899?)


8O

Emerging gcc-4.3...
[/EDIT]
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Jan 20, 2008 5:30 pm    Post subject: Reply with quote

treffer wrote:
Code:
../paludis/util/member_iterator-fwd.hh:31: internal compiler error: Segmentation fault


GCC was i686-pc-linux-gnu-4.1.1 on a fresh stage2 (2007.0).

Either use 4.1.2...

treffer wrote:
CFLAGS="-Os -march=nocona -ggdb -pipe"

Code:
checking whether your compiler has referencing issues... yes
configure: error: Your compiler is b0rked (GCC bug 31899?)

...or remove -ggdb if you want to use 4.2.2.
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Sun Jan 20, 2008 5:56 pm    Post subject: Reply with quote

Quote:
treffer wrote:
CFLAGS="-Os -march=nocona -ggdb -pipe"

Code:
checking whether your compiler has referencing issues... yes
configure: error: Your compiler is b0rked (GCC bug 31899?)

...or remove -ggdb if you want to use 4.2.2.


:idea: So I'll have to use gcc-4.1.2 if I'd like to provide usefull backtraces!
I should have used google first....

Happily compiling GCC 4.1.2 :D

PS: GCC 4.3 can't compile paludis because
Code:
i686-pc-linux-gnu-g++ -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I. -I../.. -I../.. -DPALUDIS_HASH_IS_STD_TR1_UNORDERED=1 -DPALUDIS_TR1_MEMORY_IS_STD_TR1=1 -DPALUDIS_TR1_TYPE_TRAITS_IS_STD_TR1=1 -DPALUDIS_TR1_FUNCTIONAL_IS_STD_TR1=1 -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunused -Wunused-function -Wshadow -Wlogical-op -Wvla -Wwrite-strings -Wfloat-equal -pedantic -Wno-old-style-cast -O2 -march=nocona -ggdb -fpermissive -pipe -MT action_queue.lo -MD -MP -MF .deps/action_queue.Tpo -c action_queue.cc  -fPIC -DPIC -o .libs/action_queue.o
In file included from config_file.cc:23:
../../paludis/util/fs_entry.hh:224: error: 'mode_t' does not name a type
../../paludis/util/fs_entry.hh:307: error: expected ',' or '...' before 'mode'
../../paludis/util/fs_entry.hh:307: warning: ISO C++ forbids declaration of 'mode_t' with no type
../../paludis/util/fs_entry.hh:372: error: expected ',' or '...' before 'mode'
../../paludis/util/fs_entry.hh:372: warning: ISO C++ forbids declaration of 'mode_t' with no type

_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
Let_Me_Be
n00b
n00b


Joined: 28 Apr 2005
Posts: 65

PostPosted: Mon Jan 21, 2008 4:31 pm    Post subject: Reply with quote

Anybody? Please!
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Mon Jan 21, 2008 5:21 pm    Post subject: Reply with quote

It's been suggested several times that you uninstall that version of bash and reinstall an older version.

So you could use emerge to install the old version or simply install a version directly from source.
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Mon Jan 21, 2008 7:10 pm    Post subject: Reply with quote

if your having problems with portage/paludis wanting to re-upgrade bash then add bash to /etc/portage/package.mask and/or /etc/paludis/package_mask.conf respectively.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Tue Jan 22, 2008 1:26 am    Post subject: Reply with quote

treffer wrote:
PS: GCC 4.3 can't compile paludis because

Thanks, that should be fixed on trunk now.
Back to top
View user's profile Send private message
Let_Me_Be
n00b
n00b


Joined: 28 Apr 2005
Posts: 65

PostPosted: Tue Jan 22, 2008 9:58 am    Post subject: Reply with quote

But I now have bash 3.1. It didn't help :(

EDIT:
Please at least tell me what this error means. I need to know what to search for.
Code:
!!! Couldn't find module output_functions (looked in /usr/libexec/paludis/0, /usr/libexec/paludis)
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Tue Jan 22, 2008 11:22 am    Post subject: Reply with quote

Is there some way I could prevent paludis from removing files in /lib/modules?
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Tue Jan 22, 2008 11:59 am    Post subject: Reply with quote

Let_Me_Be wrote:
But I now have bash 3.1. It didn't help :(

EDIT:
Please at least tell me what this error means. I need to know what to search for.
Code:
!!! Couldn't find module output_functions (looked in /usr/libexec/paludis/0, /usr/libexec/paludis)


Now you have downgraded bash, have you tried reinstalling paludis?

FWIW im running paludis 0.26_alpha7 and bash 3.2 quite happily, but bash 3.2 wasnt supported until alpha 6 i think.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
Let_Me_Be
n00b
n00b


Joined: 28 Apr 2005
Posts: 65

PostPosted: Tue Jan 22, 2008 2:25 pm    Post subject: Reply with quote

Yes I have tried reinstalling paludis and it didn't help.
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Tue Jan 22, 2008 2:45 pm    Post subject: Reply with quote

pussi wrote:
Is there some way I could prevent paludis from removing files in /lib/modules?

http://www.piotrj.org/index.php?/archives/13-UNINSTALL_PROTECT-in-Paludis-3.html
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, 4, 5 ... 24, 25, 26  Next
Page 4 of 26

 
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