Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dove vanno a cercare sed?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 27, 2007 5:49 pm    Post subject: dove vanno a cercare sed? Reply with quote

Da qualche giorno mi capita di osservare questo errore stranissimo:
Code:

Switching to xorg-x11 OpenGL interface.../usr/share/eselect//libs/core.bash: line 119: /usr/bin/sed: No such file or directory
!!! Error: Failed to create //usr/lib/libGL.la

possibile che esista uno script che va a cercare sed in /usr ?

inutile dire che basta accontentarlo, creando a mano il link, e lui se sta contento. ma così non vale.

potrebbe essere colpa di eselect-opengl ma, per complicare la cosa, mi succede solo su una installazione, mentre su un'altra quasi gemella non accade. Così non me la sento di pubblicare un baco.
succede anche a voi?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Tue Feb 27, 2007 6:42 pm    Post subject: Reply with quote

? ma lo cerca in /usr/bin da quanto si legge nel tuo errore, che e' il suo posto no?

Cancella quello che c'e' scritto sopra, mi sono fatto fuorviare da un output sballato di which.
Io ho sed in /bin e un link simbolico in /usr/bin, pero' sinceramente non capisco dove sia il problema.
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Feb 27, 2007 6:48 pm    Post subject: Reply with quote

No il binario vero e proprio è in /bin (giustamente, essendo un binario di sistema), però ho appena controllato, ed ho il symlink /usr/bin/sed -> /bin/sed. Ho verificato e l'ebuild non lo crea automaticamente, che sia un collegamento simbolico inserito "forzatamente" nei vari stage* ?
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Feb 27, 2007 6:54 pm    Post subject: Reply with quote

probabile. Non dimenticare che l'editor di riferimento una volta non era sed ma ed, sugli unix proprietari (il mio sed lo portava proprio in usr non mi chiedete perchè, non la ho mai capita questa cosa).
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 27, 2007 8:10 pm    Post subject: Reply with quote

qualcuno mi fa un `equery b /usr/bin/sed` ?
a me fa cilecca.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

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

Code:

# equery b /usr/bin/sed
[ Searching for file(s) /usr/bin/sed in *... ]
# qfile /usr/bin/sed
#

Niente cilecca, quel symlink non appartiene a nessun file, per c'è ci sono i presupposti per un (piccolo) bug :roll:

Difatti /usr/share/eselect//libs/core.bash dice:
Code:

$ grep sed /usr/share/eselect//libs/core.bash
# GNU sed wrapper (real path to GNU sed determined by configure)
sed() {
    /usr/bin/sed "$@"

per cui penso sia necessario che sed sia "visibile" anche in /usr/bin.

Non ho resistito, e ho postato un bug report (ovviamente utilizzando il mio maccheronico inglese :oops: ). Speriamo che i devs non mi piglino a pesci in faccia! :roll:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Feb 27, 2007 8:54 pm    Post subject: Reply with quote

Scen wrote:

Non ho resistito, e ho postato un bug report (ovviamente utilizzando il mio maccheronico inglese :oops: ). Speriamo che i devs non mi piglino a pesci in faccia! :roll:

grazie. io avevo appena aperto un bugghetto personale di scarso livello e non mi fidavo a duplicare la figuraccia :lol: .
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Feb 27, 2007 10:51 pm    Post subject: Reply with quote

Azzz...

Il mio bug l'hanno chiuso come duplicato del bug 122260, e hanno cazziato il mio ultimo tentativo disperato:
Quote:

jakub@gentoo.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED




------- Comment #16 from jakub@gentoo.org 2007-02-27 22:39 0000 -------
(In reply to comment #15)
> And adding a
> dosym /bin/${PN} /usr/bin/${PN}
> to sed ebuilds would be a right solution?

As said in Comment #7, re-emerge eselect.

Amen :roll:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
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