Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[tool]portage-bashrc-ng

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
301 posts
  • Page 9 of 13
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • 13
  • Next
Author
Message
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Mon Oct 02, 2006 10:24 am

Secondo voi se facessimo questa cosa qui:

creare un tmpfs e lo mettessimo in unionfs con una directory del fs, secondo voi sarebbe una buona idea? così da evitere il diskfull? Unionfs gestisce in ogni caso la scrittura su due fs contemporaneamente dando la priorità ad uno (che sarebbe tmpfs)?

accetto commenti!

ciao

luigi
RTFM!!!!

e

http://www.comio.it
:)
Top
Onip
Advocate
Advocate
User avatar
Posts: 2912
Joined: Thu Sep 02, 2004 10:34 am
Location: Parma (Italy)

  • Quote

Post by Onip » Mon Oct 02, 2006 10:44 am

sai che ieri ( in coma digestivo, è vero...) mi chiedevo proprio se fosse possibile una cosa del genere, che sarebbe ottima.
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Top
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Mon Oct 02, 2006 12:56 pm

Onip wrote:sai che ieri ( in coma digestivo, è vero...) mi chiedevo proprio se fosse possibile una cosa del genere, che sarebbe ottima.
arciderbolina! ancora unionfs non è stato portato al kernel 2.6.18 (sperando che finalmente sia integrato).

ciao
RTFM!!!!

e

http://www.comio.it
:)
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Mon Oct 02, 2006 8:40 pm

bella l'idea di comio, se portage-bashrc-ng supporterà questa cosa forse abbandonerò /var/tmp montata staticamente in ram. :D
Running Fast!
Top
The_Paciugo
n00b
n00b
Posts: 32
Joined: Sat Sep 09, 2006 3:04 pm

  • Quote

Post by The_Paciugo » Wed Oct 04, 2006 7:59 pm

Avevo usato layman, poi ho disinstallato il tool e l'ho aggiunto al mio overlay in /usr/local/portage/app-portage/portage-bash-rc

Ora per quel che riguarda gli aggiornamenti, devo controllare a mano o c'è qualcosa in portage o nel tool che controlla un'eventuale versione aggiornata?
Inoltre, per quel che riguarda le use flag, ho compilato con tmpfs e resumemerge (quelle che attualmente mi interessano), ma ho dovuto usarle cosi'

Code: Select all

USE="tmpfs resumemerge" emerge portage-bashrc-ng
Per l'overlay non c'è un altro package.use, o una cosa analoga?
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Wed Oct 04, 2006 8:46 pm

The_Paciugo wrote: Per l'overlay non c'è un altro package.use, o una cosa analoga?
non serve. le definizioni di /etc/portage si applicano paro paro anche agli ebuild prelevati dall'overlay.
nel tuo caso, poi, le use hanno una utilità limitata.
se tu domani fossi stufo delle tue use e volessi cambiarle, non sarai costretto a reistallare il programma, ma potrai utilizzare eselect, che è stato brillantemente supportato da Ferdinando.

Code: Select all

# eselect bashrc-ng disable resumemerge
vu vu vu
gentù
mi piaci tu
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Wed Oct 04, 2006 8:54 pm

The_Paciugo wrote:Ora per quel che riguarda gli aggiornamenti, devo controllare a mano o c'è qualcosa in portage o nel tool che controlla un'eventuale versione aggiornata?
Se vuoi gli aggiornamenti forse è più comodo usare l'overlay che lo sincronizzi tranquillamente tramite layman.
Running Fast!
Top
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Thu Oct 05, 2006 10:27 am

Luca89 wrote:bella l'idea di comio, se portage-bashrc-ng supporterà questa cosa forse abbandonerò /var/tmp montata staticamente in ram. :D
L'unico inghippo è che unionfs ancora non è stato portato per il kernel 2.6.18 (che uso...). Ho una specie di codice con il supporto per unionfs... ma aspetto la possibilità di testarlo un attimo.

ciao
RTFM!!!!

e

http://www.comio.it
:)
Top
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Fri Oct 06, 2006 3:39 pm

EDIT: Non pare funzionare :S quando il tmpfs si riempe... non viene utilizzato il disco, ma si ha l'errore no space left... anche se con df risulta esserci spazio!

EDIT2: Ho scritto sulla ml di unionfs... e mi hanno confermato il problema. UnionFS non supporta il "copydown" e la scrittura è fatta solo ed esclusivamente sulla prima directory in scrittura che partecipa all'union. Arciderbolina!

EDIT3: Jan Engelhardt mi ha gentilmente fornito la patch per implementare lo "spreading" delle scritture sui vari branch. A chi è interessato posso fornire una versione modificata dell'ebuild di unionfs...

EDIT4: Ho analizzato la patch... ed è purtroppo "statica" nel senso che in fase di creazione dell'union, cerca il branch con più spazio libero e lo fissa, una volta per tutte, per la scrittura. Quindi non va bene...

Per i temerari... eccovi unionfs+tmpfs:

/usr/share/portage-bashrc-ng/tmpfsunionfs.module

Code: Select all

# tmpfs module for portage-bashrc-ng
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvsroot/portage-bashrc/portage-bashrc-ng/bashrc-ng/tmpfs.module,v 1.8 2006/07/24 16:54:21 exairetos Exp $
# heavily based on portage-bashrc by Giovanni Ferri <giovanni@fonderiadigitale.it>
# first version by Ferdinando Formica <exairetos@tele2.it> 2006-06-02
# support for UnionFS by Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com> 2006-10-05
# last revision 2006-06-23

# Notice:
#    Without Unionfs support, tmpfs is directly mounted on the $PORTAGE_BUILDDIR directory.
#    With Unionfs support, tmpfs is mounted on $UFS_TMPFSDIR directory and "Disk" direcotory
#    is mounted on $UFS_DISKDIR directory. Then union of $UFS_TMPFSDIR and $UFS_DISKDIR
#    is mounted on $PORTAGE_BUILDDIR.


#########################
# Configuration section #
#########################

# set path for package.mem
MEMFILE=${ROOT}/etc/portage/package.mem

UFS_TMPFSDIR=${UNIONFS_BASETMPFSDIR}/${PF}
UFS_DISKDIR=${UNIONFS_BASEDISKDIR}/${PF}
UFS_ENABLE=${UNIONFS_ENABLE}

#####################
# General utilities #
#####################

# returns 0 if it's mounted, 1 otherwise
check_if_mounted() {
	# grep it in mtab and set $mounted accordingly
	mounteddir="$(mount | \
		grep "none on ${PORTAGE_BUILDDIR} " 2>/dev/null | \
		grep tmpfs 2>/dev/null | tail -n 1)"
	[[ -z "$mounteddir" ]] && return 1
	return 0
}

check_unionfs() {
	unionfs_is_present="$(cat /proc/filesystems | grep unionfs)"
	[[ -z "${unionfs_is_present}" ]] && return 0
	return 1
}

configure_unionfs_support() {
	check_unionfs
	if [ $? -eq 0 ]
	then
		UFS_ENABLE="off"
	else
		if [ "${UNIONFS_ENABLE}" == "on" ]
		then
			UFS_ENABLE="on"
		else
			UFS_ENABLE="off"
		fi
	fi
}

####################
# Mounting section #
####################

# mount the tmpfs dir
mountfs() {
	# get the dimension of the tmpfs filesystem
	evaluate_mem_size
	[[ "$PORTAGE_MEMSIZE" == "0" ]] && return
	# let the user know what we're doing
	ebegin "Mounting ${PORTAGE_BUILDDIR} of [ $PORTAGE_MEMSIZE ]"
		if [ -e ${PORTAGE_BUILDDIR} -a ! -d ${PORTAGE_BUILDDIR} ]
		then
			ewarn "Removing the existing ${PORTAGE_BUILDDIR} as it's not a dir."
				rm -f ${PORTAGE_BUILDDIR}
			eend $?
		fi
	eend $?


	if [ "${UNIONFS_ENABLE}" == "on" ]
	then
		check_unionfs
		if [ $? -eq 1 ]
		then
			einfo "Unionfs support is enabled. Great!"
		else
			ewarn "Unionfs support is not enabled. Check that you have installed correctly the sys-fs/unionfs module."
			ewarn "Continue anyway... without Unionfs support"
		fi
		configure_unionfs_support
	fi

	if [ "${UFS_ENABLE}" == "on" ]
	then
		# With Unionfs Support...
		# ensuring all is correct
		# Portage dir...
		mkdir -p ${PORTAGE_BUILDDIR}
		chown portage:portage ${PORTAGE_BUILDDIR}
		chmod g+w,o-rwx ${PORTAGE_BUILDDIR}
		# Tmpfs directory..
		mkdir -p ${UFS_TMPFSDIR}
		chown portage:portage ${UFS_TMPFSDIR}
		chmod g+w,o-rwx ${UFS_TMPFSDIR}
		# Disk directory...
		mkdir -p ${UFS_DISKDIR}
		chown portage:portage ${UFS_DISKDIR}
		chmod g+w,o-rwx ${UFS_DISKDIR}

		# mounting the tmpfs dir
		/bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${UFS_TMPFSDIR}
		mount -t unionfs -o dirs=${UFS_TMPFSDIR}:${UFS_DISKDIR} none ${PORTAGE_BUILDDIR}
	else
		# Without Unionfs Support...
		# ensuring all is correct
		mkdir -p ${PORTAGE_BUILDDIR}
		chown portage:portage ${PORTAGE_BUILDDIR}
		chmod g+w,o-rwx ${PORTAGE_BUILDDIR}
		# mounting the tmpfs dir
		debuginfo "Command line: /bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${PORTAGE_BUILDDIR}"
		/bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${PORTAGE_BUILDDIR}
	fi

	# warn the user about ccache
	isfeature ccache
	if [ $itsafeature -eq 1 ]
	then
		ewarn "Please remember that ccache data dir is outside the newly mounted"
		ewarn "portage temporary directory, to preserve the spool between merges."
	fi
}

# set in PORTAGE_MEMSIZE the dimension of the tmpfs filesystem
evaluate_mem_size() {
	# if $PORTAGE_MEMSIZE was defined, we have already sourced that
	[[ -n "$PORTAGE_MEMSIZE" ]] && debuginfo "\$PORTAGE_MEMSIZE='$PORTAGE_MEMSIZE' defined  globally"
	# overwrite that if there is a per-package value
	parseconffile "$MEMFILE"
	if [ -n "$configval" ]
	then
		PORTAGE_MEMSIZE=$configval
		debuginfo "\$PORTAGE_MEMSIZE='$PORTAGE_MEMSIZE' defined in $MEMFILE"
	fi
	# overwrite that if the user forced another value
	if [ -n "$OVERRIDE_MEMSIZE" ]
	then
		debuginfo "Overriding \$PORTAGE_MEMSIZE with \$OVERRIDE_MEMSIZE=$OVERRIDE_MEMSIZE"
		PORTAGE_MEMSIZE=$OVERRIDE_MEMSIZE
	fi
	# if there was no value, disable mounting
	[[ -z "$PORTAGE_MEMSIZE" ]] && PORTAGE_MEMSIZE=0
}

# save a backup copy of the dir
savebackup () {
	cd ${PORTAGE_BUILDDIR}/
	tar zcf /tmp/BKUP_${PN}.tar.gz *
	cd - &>/dev/null
}

# restore saved backup
restorebackup () {
	cd ${PORTAGE_BUILDDIR}
	tar zxf /tmp/BKUP_${PN}.tar.gz
	rm /tmp/BKUP_${PN}.tar.gz
	cd - &>/dev/null
}

######################
# Unmounting section #
######################

# unmount the tmpfs dir
unmountfs()
{
	# cycle to get rid of multiple mounts (can it still happen?)
	# or problematic unmountings
	for ((c=0; c<10; c++))
	do
		check_if_mounted
		if [ $? -eq 1 ]
		then
			rmdir ${PORTAGE_BUILDDIR}
			return
		fi
		# let the user know what we're doing
		configure_unionfs_support

		ewarn "Found temporary portage compile dir (${PORTAGE_BUILDDIR}), umounting."

			if [ "${UFS_ENABLE}" == "on" ]
			then
				# unmounting the unionfs directory
				/bin/umount ${PORTAGE_BUILDDIR}
				# unmounting the tmpfs directory
				/bin/umount ${UFS_TMPFSDIR}
				# clean ${UFS_DISKDIR}
				case ${UFS_DISKDIR} in
					/var/tmp/* | /tmp/* )
						rm -rf --preserve-root ${UFS_DISKDIR}
						;;
					* )
						ewarn "Directory ${UFS_DISKDIR} is not in /var/tmp or /tmp..."
						;;
				esac
				
			else
				# unmounting the tmpfs dir
				/bin/umount ${PORTAGE_BUILDDIR}
			fi
			sleep 0.5
		eend $?
	done
	ebegin "Cannot umount tmpfs, erasing contents."
#		rm -rf ${PORTAGE_BUILDDIR}/*
		ewarn "At this point I should remove '${PORTAGE_BUILDDIR}' but I won't :)"
	eend $?
}

##############
# activation #
##############

on_setup () {
	local tmpfsbasedir
	check_if_mounted
	if [ $? -eq 0 ]
	then
		configure_unionfs_support
		if [ "${UFS_ENABLE}" == "on" ]
		then
			tmpfsbasedir=${UFS_TMPFSDIR}
		else
			tmpfsbasedir=${PORTAGE_BUILDDIR}
		fi
			
		dirdim=$(/bin/mount | grep "${tmpfsbasedir}" | sed 's|^.*size=||; s|\,.*$||')
		if [ -z "$dirdim" ]
		then
			ewarn "Error evaluating mounted dimension: leaving ${tmpfsbasedir} as is"
			return
		fi
		# evaluating required partition size
		evaluate_mem_size
		if [ "$dirdim" != "$PORTAGE_MEMSIZE" ]
		then
			# we're remounting
			debuginfo "Command line: /bin/mount -o remount,size=${PORTAGE_MEMSIZE} ${tmpfsbasedir}"
			/bin/mount -o remount,size=${PORTAGE_MEMSIZE} ${tmpfsbasedir}
		else
			# we're resuming a merge
			debuginfo "Leaving '${PORTAGE_BUILDDIR}' mounted"
		fi
	else
		# mounting
		savebackup
		mountfs
		restorebackup
	fi
}

on_install () {
        mkdir -p $WORKDIR
        chown portage:portage $WORKDIR
        chmod 770 $WORKDIR
}

on_postinst () {
	check_if_mounted
	# if it's mounted, then unmount
	if [ $? -eq 0 ]
	then
		isfeature mantain
		if [ $itsafeature -eq 1 ]
		then
			# don't unmount if there's "mantain" in $FEATURES
			einfo "Keeping mounted '${PORTAGE_BUILDDIR}' as requested in \$FEATURES"
			return
		else
			# unmount
			unmountfs
		fi
	fi
}
con il relativo file di configurazione (da aggiungere):

/etc/portage/bashrc-ng/bashrc-ng.conf

Code: Select all

tmpfs=on

UNIONFS_ENABLE=on
UNIONFS_BASEDISKDIR=/var/tmp/portage/unionfs/disk
UNIONFS_BASETMPFSDIR=/var/tmp/portage/unionfs/tmpfs
Il codice è assolutamente in beta... ma a me per adesso ha funzionato!

ciao

luigi
RTFM!!!!

e

http://www.comio.it
:)
Top
syntaxerrormmm
Guru
Guru
User avatar
Posts: 449
Joined: Sun Apr 17, 2005 8:43 am
Location: Romano di Lombardia - BG - ITALY
Contact:
Contact syntaxerrormmm
Website

  • Quote

Post by syntaxerrormmm » Tue Oct 10, 2006 11:37 am

Avrei una richiesta da fare.

Uso portage-bashrc-ng da tempo e da poco meno utilizzo il meccanismo di ELOG fino a 'info', quindi mi trovo un sacco di entries nella cartella dei log che mi dicono solo che è stata montata la cartella temporanea... E' possibile fare in modo che queste entries non appaiano (a parte disabilitare 'info' in ELOG :P)?

Ciao, grazie e complimenti per il lavoro.
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Top
syntaxerrormmm
Guru
Guru
User avatar
Posts: 449
Joined: Sun Apr 17, 2005 8:43 am
Location: Romano di Lombardia - BG - ITALY
Contact:
Contact syntaxerrormmm
Website

[bashrc-ng] svuotamento /var/tmp/portage

  • Quote

Post by syntaxerrormmm » Thu Nov 23, 2006 12:36 pm

Ciao a tutti,

ho questo problema. Quando emergo un pacchetto che non faccio compilare in RAM (es. gcc), al termine della compilazione mi rimangono tutti i files, sorgenti e compilati (/var/tmp/portage/sys-devel/gcc). Riporto le FEATURES attivate in /etc/make.conf

Code: Select all

FEATURES="sandbox ccache userpriv usersandbox strict userfetch userpriv collision-protect sfperms"
Mi sembra che non ci sia nulla che eviti di pulire la cartella... Come da titolo del post, utilizzo portage-bashrc-ng-0.13.1_beta e portage-2.1.2_rc2-r1.

/etc/portage/bashrc-ng/bashrc-ng.conf:

Code: Select all

resumemerge=on
localepurge=on
perpackage=on
tmpfs=on
PORTAGE_MEMSIZE=500M
/etc/portage/package.mem:

Code: Select all

sys-devel/gcc 0
www-client/mozilla 0
app-emulation/wine 0
x11-libs/qt 0
sys-libs/glibc 0
app-text/tetex 0
app-office/openoffice-bin 0
www-client/mozilla-firefox 0
x11-libs/wxGTK 0
Quello che vorrei è che, al termine della compilazione di questi pacchetti, le directory in /var/tmp/portage venissero cancellate dall'HD (come avviene normalmente quando uso tmpfs per compilare gli altri pacchetti). Sapete aiutarmi?

Ciao.
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Top
.:chrome:.
Advocate
Advocate
User avatar
Posts: 4588
Joined: Sat Feb 19, 2005 7:19 pm
Location: Brescia, Italy

Re: [bashrc-ng] svuotamento /var/tmp/portage

  • Quote

Post by .:chrome:. » Thu Nov 23, 2006 1:22 pm

si potrebbe richiedere che venga aggiunta la funzione che svuota la directory, ma dovrebbe essere fatta con due accorgimenti:

- NON si deve svuotare niente se si vuole poter fare il resume della compilazione
- la rimozione deve essere fatta con un nice molto alto, altrimenti uccide la macchina
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Thu Nov 23, 2006 2:12 pm

Il problema è che il modulo "resumemerge" abilita la feature "keepwork" la quale poi ha l'effetto di non far rimuovere nulla dopo il merge, è su quello che bisogna lavorare.
Running Fast!
Top
randomaze
Bodhisattva
Bodhisattva
User avatar
Posts: 9985
Joined: Tue Oct 21, 2003 7:55 am
Contact:
Contact randomaze
Website

Re: [bashrc-ng] svuotamento /var/tmp/portage

  • Quote

Post by randomaze » Thu Nov 23, 2006 3:05 pm

syntaxerrormmm wrote:Come da titolo del post, utilizzo portage-bashrc-ng-0.13.1_beta e portage-2.1.2_rc2-r1.
Ho fatto il merge con il topic di bashrc-ng.
Ciao da me!
Top
syntaxerrormmm
Guru
Guru
User avatar
Posts: 449
Joined: Sun Apr 17, 2005 8:43 am
Location: Romano di Lombardia - BG - ITALY
Contact:
Contact syntaxerrormmm
Website

Re: [bashrc-ng] svuotamento /var/tmp/portage

  • Quote

Post by syntaxerrormmm » Thu Nov 23, 2006 3:30 pm

.:chrome:. wrote:si potrebbe richiedere che venga aggiunta la funzione che svuota la directory, ma dovrebbe essere fatta con due accorgimenti:

- NON si deve svuotare niente se si vuole poter fare il resume della compilazione
- la rimozione deve essere fatta con un nice molto alto, altrimenti uccide la macchina
Ok, ne farò richiesta, aggiungendo che sarebbe il caso che la directory fosse pulita se e solo se il qmerge sia completato con successo.

O meglio, semplicemente linkerò questo post :)

Ciao e grazie a entrambi.

[Edit] Uffi, i mod sono più veloci della luce... :P [/Edit]
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Top
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Sat Feb 03, 2007 4:42 pm

Ho un piccolo problema: il modulo tmpfs non mi smonta le directory. Per esempio (ma è una cosa che succede con tutti i pacchetti):

Code: Select all

 * Found temporary portage compile dir (/var/tmp/portage/sys-fs/fuse-python-0.1-r1), umounting.
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato 
sto usando la versione 13beta.

Qualche idea?

ciao

luigi
RTFM!!!!

e

http://www.comio.it
:)
Top
Onip
Advocate
Advocate
User avatar
Posts: 2912
Joined: Thu Sep 02, 2004 10:34 am
Location: Parma (Italy)

  • Quote

Post by Onip » Thu Feb 08, 2007 9:00 am

Con questa versione

Code: Select all

[I] app-portage/portage-bashrc-ng (0.13-r1 07/02/2007)
Non c'è più (o non viene installato) il modulo per eselect

Code: Select all

Hal9000 ~ # equery f app-portage/portage-bashrc-ng
[ Searching for packages matching app-portage/portage-bashrc-ng... ]
* Contents of app-portage/portage-bashrc-ng-0.13-r1:
/etc
/etc/portage
/etc/portage/bashrc-ng
/usr
/usr/share
/usr/share/doc
/usr/share/doc/portage-bashrc-ng-0.13-r1
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules
/usr/share/eselect
/usr/share/eselect/modules
/usr/share/portage-bashrc-ng
Hal9000 ~ # ls /usr/share/eselect/modules/
bashcomp.eselect       esd.eselect            kernel.eselect         opengl.eselect         timidity.eselect       
binutils.eselect       java-nsplugin.eselect  mailer.eselect         profile.eselect        
env.eselect            java-vm.eselect        oodict.eselect         rc.eselect  
Bug o scelta vostra?
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Top
Onip
Advocate
Advocate
User avatar
Posts: 2912
Joined: Thu Sep 02, 2004 10:34 am
Location: Parma (Italy)

  • Quote

Post by Onip » Thu Feb 08, 2007 9:18 am

Aggiungo che oltre al trascurabile problema di cui sopra, il tool non funziona. Ho avuto bisogno adesso di ri-emergere un paio di cosette e non mi ha montato in ram la tempdir di portage. Nemmeno distclean va, quindi immagino non funzioni nessuno degli altri moduli.

Aiuti, Soluzioni?

Gracias

EDIT: Ho riprovato ad emergerlo e, mi pare, che l'errore stia nell'ebuild. Il file .eselect e i vari .module non vengono proprio installati. Copiandoli a mano tutto quanto funziona
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Fri Feb 09, 2007 2:08 pm

Ho corretto il problema, ora dovrebbe installare tutto, grazie per la segnalazione. :wink:
Running Fast!
Top
Onip
Advocate
Advocate
User avatar
Posts: 2912
Joined: Thu Sep 02, 2004 10:34 am
Location: Parma (Italy)

  • Quote

Post by Onip » Fri Feb 09, 2007 3:43 pm

Code: Select all

Hal9000 ~ # qlist portage-bashrc-ng
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/tmpfs.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/resumemerge.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/per-package.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/localepurge.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/distclean.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/autopatch.gz
/usr/share/eselect/modules/bashrc-ng.eselect
/usr/share/portage-bashrc-ng/tmpfs.module
/usr/share/portage-bashrc-ng/resumemerge.module
/usr/share/portage-bashrc-ng/perpackage.module
/usr/share/portage-bashrc-ng/localepurge.module
/usr/share/portage-bashrc-ng/distclean.module
/usr/share/portage-bashrc-ng/distccval.module
/usr/share/portage-bashrc-ng/autopatch.module
/etc/portage/bashrc-ng/bashrc-ng.conf.example
/etc/portage/bashrc
Effettivamente sembra tutto a posto.
Grazie a voi!
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Top
Kernel78
Moderator
Moderator
Posts: 3654
Joined: Fri Jun 24, 2005 6:14 am
Contact:
Contact Kernel78
Website

  • Quote

Post by Kernel78 » Mon Feb 12, 2007 12:53 pm

comio wrote:Ho un piccolo problema: il modulo tmpfs non mi smonta le directory. Per esempio (ma è una cosa che succede con tutti i pacchetti):

Code: Select all

 * Found temporary portage compile dir (/var/tmp/portage/sys-fs/fuse-python-0.1-r1), umounting.
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato 
sto usando la versione 13beta.

Qualche idea?

ciao

luigi
Anche a me da lo stesso problema da quando ho aggiornato a portage-2.1.2-r9 (questa mattina), ho notato che disabilitando tmpfs mi rimangono le varie directory in /var/tmp/portage ...

Idee/suggerimenti/consigli/proposte/soluzioni ?
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con

Code: Select all

grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Top
!equilibrium
Bodhisattva
Bodhisattva
User avatar
Posts: 2109
Joined: Sun Jun 06, 2004 5:05 pm
Location: MI/BG/LC
Contact:
Contact !equilibrium
Website

  • Quote

Post by !equilibrium » Wed Feb 14, 2007 4:35 pm

Kernel78 wrote:Anche a me da lo stesso problema da quando ho aggiornato a portage-2.1.2-r9 (questa mattina), ho notato che disabilitando tmpfs mi rimangono le varie directory in /var/tmp/portage ...
ci sto lavorando proprio in questo momento.
il nuovo portage crea una struttura di dir in /var/tmp/portage completamente diversa rispetto alla versione precedente. appena risolvo vedo di rilasciare tutto quanto (compresa la nuova versione del modulo 'tmpfs') in overlay.

/EDIT:

ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng

in caso riscontriate problemi o altro, vi pregherei di fare un bugreport sul tracker del progetto anzichè scrivere qui sul sito, grazie ;)
buon emerge a tutti.

p.s.: il sito del 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
Top
comio
Advocate
Advocate
User avatar
Posts: 2191
Joined: Thu Jul 03, 2003 10:36 am
Location: Taranto

  • Quote

Post by comio » Wed Feb 14, 2007 9:14 pm

!equilibrium wrote:
/EDIT:

ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng

in caso riscontriate problemi o altro, vi pregherei di fare un bugreport sul tracker del progetto anzichè scrivere qui sul sito, grazie ;)
buon emerge a tutti.

p.s.: il sito del GeCHI Overlay
work fine!

thanks.

luigi
RTFM!!!!

e

http://www.comio.it
:)
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Wed Feb 14, 2007 9:23 pm

comio wrote: work fine!
:roll:
http://sourceforge.net/tracker/?atid=87 ... unc=browse

2 in un colpo
:lol: :lol: :lol:
vu vu vu
gentù
mi piaci tu
Top
topper_harley
Guru
Guru
User avatar
Posts: 363
Joined: Wed Apr 05, 2006 9:39 am
Location: Treviso / Udine (Italy)
Contact:
Contact topper_harley
Website

  • Quote

Post by topper_harley » Thu Feb 15, 2007 9:26 am

!equilibrium wrote:
ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng
L'overlay non è più in layman?

Code: Select all

caffeine ~ # layman --list | grep gechi
caffeine ~ # 
http://topperh.ath.cx
Jabber: topper_harley@jabber.org
ICQ: 224179391
MSN: Topper_Harley80@gmail.com
Last FM
Top
Post Reply
  • Print view

301 posts
  • Page 9 of 13
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • 13
  • Next

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy