View previous topic :: View next topic |
Author |
Message |
nabla² Apprentice
Joined: 17 May 2005 Posts: 280
|
Posted: Tue Sep 05, 2006 2:30 pm Post subject: |
|
|
It works! (I had to apply it manually probably because of missing tabs in the patch.) _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
Back to top |
|
|
Spruit_elf n00b
Joined: 30 Jul 2005 Posts: 33
|
Posted: Thu Sep 07, 2006 12:31 pm Post subject: |
|
|
im getting
/usr/share/portage-bashrc-ng//perpackage.module: line 241: package-ldflag: command not found
however the files are not modified and the package-ldflag function is where it should be
what can i do? |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Mon Sep 11, 2006 7:36 am Post subject: |
|
|
Spruit_elf wrote: | /usr/share/portage-bashrc-ng//perpackage.module: line 241: package-ldflag: command not found |
Err, I forgot an "s" That was package-ldflags. Sorry (also for the delay in answering), please download an updated version of the module from here and overwrite the old one.
Bye _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
|
Back to top |
|
|
madman2003 Apprentice
Joined: 20 Feb 2005 Posts: 178
|
Posted: Sat Sep 16, 2006 10:17 am Post subject: |
|
|
The portage-bashrc-ng in the overlay needs to be redigested. |
|
Back to top |
|
|
EliasP Guru
Joined: 06 Dec 2002 Posts: 318 Location: South-West Germany
|
Posted: Tue Jan 23, 2007 12:12 am Post subject: |
|
|
Please change the documentation about the perpackage feature [1] in a way, that it's more clear how to define things for categories instead of single packages.
Tried a lot of things until I finally figured out, that the right way looks like this:
Code: |
kde-base/* -ggdb
kde-misc/* -ggdb
|
When following the current documentation, it looks like this was the right way:
Code: |
kde-base -ggdb
kde-misc -ggdb
|
Thank you,
Elias P.
[1]: http://portage-bashrc.sourceforge.net/per-package.html |
|
Back to top |
|
|
EliasP Guru
Joined: 06 Dec 2002 Posts: 318 Location: South-West Germany
|
Posted: Tue Jan 23, 2007 4:10 pm Post subject: |
|
|
IMHO, there's still an issue concerning the perpackage module:
When specifying C{XX}FLAGS, they should be added to the already existing C{XX}FLAGS.
Currently the already existing C{XX}FLAGS get replaced.
For removing a flag, /etc/portage/package.noc{xx}flags could be used.
Regards,
Elias P. |
|
Back to top |
|
|
tek0 n00b
Joined: 09 Oct 2005 Posts: 43
|
Posted: Mon Jun 11, 2007 12:20 am Post subject: |
|
|
I get
Code: |
/usr/share/portage-bashrc-ng//perpackage.module: line 25: /usr/share/portage-bashrc-ng/common.funcs: no such file or directory
/usr/share/portage-bashrc-ng//tmpfs.module: line 17: /usr/share/portage-bashrc-ng/common.funcs: no such file or directory
|
in 0.14.1 |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
Posted: Sun Oct 21, 2007 11:45 pm Post subject: |
|
|
Could anyone please help me?
I've bashrc-ng version 0.14.1 installed and I can't get perpackage feature to work...
It is enabled in eselect bashrc-ng, I have the /etc/portage/package.cflags file and x11-misc/xwinwrap -Os -ffast-math in it.
But still when I try to compile xwinwrap I get: Active CFLAGS = -O2 -fomit-frame-pointer -ffast-math -march=nocona -pipe
Shouldn't it be Active CFLAGS = -Os -ffast-math, as defined in package.cflags ?
What am I doing wrong? is there anything elese to enable, or something else done to use bashrc in portage?
I'm running Gentoo 2007.0 with sys-apps/portage-2.1.3.15.
Thanks in advance. |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Mon Oct 22, 2007 5:46 pm Post subject: |
|
|
!equilibrium wrote: | accordling to @ferdinando and the GeCHI i have made available (temporarely) the portage-bashng-rc ebuild throught my personal overlay; to grab it with layman:
layman -f -o http://wtk-overlay.sf.net/layman.xml -a WTK-Testing |
Is that still usable ? |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Mon Oct 22, 2007 8:12 pm Post subject: |
|
|
Thank |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
Posted: Tue Oct 23, 2007 9:04 am Post subject: |
|
|
No problem, just tell me if the "perpackage" module works for you |
|
Back to top |
|
|
lazy_bum l33t
Joined: 16 Feb 2005 Posts: 691
|
Posted: Tue Oct 23, 2007 6:16 pm Post subject: |
|
|
pietrek wrote: | No problem, just tell me if the "perpackage" module works for you :-) |
Hint _________________ roslin uberlay | grubelek |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Tue Oct 23, 2007 9:18 pm Post subject: |
|
|
I am mostly interested in tmpfs with which I just compiled sys-devel/gcc-4.3.0_alpha20071019 |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
Posted: Tue Oct 23, 2007 10:18 pm Post subject: |
|
|
Thanks a lot lazy_bum! The /etc/portage/env trick worked perfectly! |
|
Back to top |
|
|
ryo-san l33t
Joined: 17 Feb 2005 Posts: 729
|
Posted: Fri Oct 26, 2007 8:15 am Post subject: |
|
|
hi,
i've the latest version of bashrc-ng and i had some problems with :
- unmounting bashrc mount point when resuming merge.
- preserving memory
i think it's ok now , so here's the diff
Code: |
--- /etc/portage/portage-bashrc-ng-0.14.1/bashrc-ng/tmpfs.module 2007-10-26 09:56:14.000000000 +0200
+++ tmpfs.module 2007-10-26 10:07:34.000000000 +0200
@@ -200,10 +200,12 @@
if [[ -r /proc/meminfo ]] ; then
MEMORY_TOTAL=$(sed -n -e '/MemTotal:/s/^[^:]*: *\([0-9]\+\) kB/\1/p' /proc/meminfo)
+ MEMORY_TOTAL=$(( ${MEMORY_TOTAL} / 1024 ))
SWAP_TOTAL=$(sed -n -e '/SwapTotal:/s/^[^:]*: *\([0-9]\+\) kB/\1/p' /proc/meminfo)
+ SWAP_TOTAL=$(( $SWAP_TOTAL / 1024 ))
[[ -z ${PRESERVE_MEMSIZE} ]] && PRESERVE_MEMSIZE=64
PRESERVE_MEMSIZE=${PRESERVE_MEMSIZE/M/}
- PORTAGE_MEMSIZE="$(( (${MEMORY_TOTAL} + ${SWAP_TOTAL} - ${PRESERVE_MEMSIZE}) / 1024))M"
+ PORTAGE_MEMSIZE="$(( ${MEMORY_TOTAL} + ${SWAP_TOTAL} - ${PRESERVE_MEMSIZE} ))M"
einfo "Determine new optimal TMPFS value: [ ${PORTAGE_MEMSIZE} ]"
else
PORTAGE_MEMSIZE="-1"
|
MEMORY_TOTAL and SWAP_TOTAL must be divided by 1024 'cause it is "seded" in KO , but PRESERVE_MEMSIZE is in MO in config file. |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Fri Nov 16, 2007 2:31 pm Post subject: |
|
|
How to use the "new ones" bashrcng-shmfs ?
I think I have pretty much setted all with eselect, but still :
Code: |
emerge -1 gcc
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) sys-devel/gcc-4.3.0_alpha20079999 to /
/usr/share/bashrcng/modules/shmfs: line 48: check_if_mounted: command not found
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Using bashrcng profile [ 1.1.1 ]
/usr/share/bashrcng/modules/shmfs: line 78: parseconffile: command not found
/usr/share/bashrcng/modules/shmfs: line 92: estimate_shmsize: command not found
* shmfs module disabled [ no valid shared memory size: '' ]
|
|
|
Back to top |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Sun Nov 18, 2007 3:09 pm Post subject: |
|
|
Gregoire wrote: | How to use the "new ones" bashrcng-shmfs ?
I think I have pretty much setted all with eselect, but still : |
please don't use experimental software.
bashrcng is hard masked and not complete now. _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Nov 18, 2007 3:48 pm Post subject: |
|
|
Well, I didn't unmask anything to emerge bashrcng so that's really strange ???
I just use your gechi overlay on my ~amd64.
I could switch back to app-portage/portage-bashrc-ng which worked just fine.
How should I know when I should switch to the new one ?
Thank for this tremendous app !!! |
|
Back to top |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Sun Nov 18, 2007 4:56 pm Post subject: |
|
|
Gregoire wrote: | I just use your gechi overlay on my ~amd64.
I could switch back to app-portage/portage-bashrc-ng which worked just fine. |
to fix the problem do:
Code: |
emerge -av virtual/bashrcng:1.0
eselect bashrcng set 1.0.0
|
and you'll be able to use 'app-portage/bashrcng-1.1.0'
Gregoire wrote: | How should I know when I should switch to the new one ?
Thank for this tremendous app !!! |
app-portage/bashrcng is under development, and it's a refactoring of the app-portage/portage-bashrc-ng with more features (bashrc profiles, Gentoo/FreeBSD support, more end-user options, docs, man pages, eselect tools for the configurations and a lot of more) and less troubles/problems; when i have finished the job i'll report the news on this thread, don't worry.
(probably for the end of this mounth i'll release the first stable app-portage/bashrcng) _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Nov 18, 2007 7:31 pm Post subject: |
|
|
I am back to "old" one
Which by the way works really nicely.
I wait till a proper annoucement here. Thank |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Wed Feb 27, 2008 5:55 pm Post subject: |
|
|
just noticed, all bashrc ebuilds were removed from gechi overlay.
is here any other overlay? _________________ rion-overlay |
|
Back to top |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Wed Feb 27, 2008 6:05 pm Post subject: |
|
|
Rion wrote: | just noticed, all bashrc ebuilds were removed from gechi overlay.
is here any other overlay? |
you are absolutely wrong, the ebuilds still exists into the gechi overlay. _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Mon Jul 28, 2008 8:22 pm Post subject: |
|
|
I just enabled the perpackage which failed, so I looked and replaced lign 73 of perpackage.module :
Code: |
eval "export $VAR=\"\${$VAR} $*\""
|
by :
Code: |
eval "export ${VAR}='${new[*]}'"
|
which is certainly wrong but seems to work here.
What should it really be ? |
|
Back to top |
|
|
|