Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lock not being released (FIXED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
imrambi
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2004
Posts: 116

PostPosted: Thu Feb 10, 2005 4:32 am    Post subject: lock not being released (FIXED) Reply with quote

I'm trying to install xfce4 on a box. I'm getting this error while installing a2ps. I have tried fix_lib_tool, but it doesn't help.

Code:
sed -e "s#@LIBDIR@#/usr/share/ogonkify#g" ogonkify.in > ogonkify-t
chmod +x ogonkify-t
mv ogonkify-t ogonkify
make[3]: Leaving directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/ogonkify'
make[2]: Leaving directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/ogonkify'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/lib'
cd .. && \
  /bin/sh /var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/auxdir/missing --run automake-1.6 --gnu  lib/Makefile
cd .. && /bin/sh ./config.status lib/Makefile depfiles
config.status: creating lib/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/lib'
make[2]: Entering directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/lib'
make  all-am
make[3]: Entering directory `/var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13/lib'
source='encoding.c' object='encoding.lo' libtool=yes \
depfile='.deps/encoding.Plo' tmpdepfile='.deps/encoding.TPlo' \
depmode=gcc3 /bin/sh ../auxdir/depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I. -I..-I.. -I../intl -I.    -O3 -march=i686 -fomit-frame-pointer -falign-functions=4 -funroll-loops -fforce-addr -pipe -finline-limit=600 -mfpmath=387 -fprefetch-loop-arrays -ftracer  -c -o encoding.lo `test -f 'encoding.c' || echo './'`encoding.c
Waiting for encoding.o.lock to be removed
Waiting for encoding.o.lock to be removed
Waiting for encoding.o.lock to be removed
Waiting for encoding.o.lock to be removed
Waiting for encoding.o.lock to be removed
Waiting for encoding.o.lock to be removed


It then just keeps waiting for the lock to be removed. Is there a fix?

gave up and built the package on another machine then transfered it over and then installed the package.


Last edited by imrambi on Thu Feb 10, 2005 9:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Thu Feb 10, 2005 7:49 am    Post subject: Reply with quote

Try deleting it yourself if it's still there after you kill the emerge.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
imrambi
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2004
Posts: 116

PostPosted: Thu Feb 10, 2005 2:34 pm    Post subject: Reply with quote

I can't find the lock file. Even if I clean out /var/tmp/portage and then retry the emerge, I get the same error.
Back to top
View user's profile Send private message
Jimmy Jazz
Guru
Guru


Joined: 04 Oct 2004
Posts: 330
Location: Strasbourg

PostPosted: Sat Feb 19, 2005 9:37 pm    Post subject: Re: lock not being released (FIXED) Reply with quote

imrambi wrote:

Code:

Waiting for encoding.o.lock to be removed


It then just keeps waiting for the lock to be removed. Is there a fix?

gave up and built the package on another machine then transfered it over and then installed the package.


@imrambi

i don't know why libtool complains about gcc feature but a workaround could be,

Code:

ebuild /usr/portage/app-text/a2ps/a2ps-4.13c-r2.ebuild unpack
cd /var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13
./configure --prefix /usr --disable-libtool-lock
make install

mkdir /etc/portage/profile
vi /etc/portage/profile/package.provided

add the following line,
app-text/a2ps-4.13c-r2


package.provided does the same as emerge -i a2ps

and you will be able to continue to install xfce4 that depend of the a2ps package

Code:

emerge --ask --verbose xfce4


Hope that help :)

Jj
_________________
« La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code:

+----+----+----+
|    |::::|    |
|    |::::|    |
+----+----+----+

motto: WeLCRO
WritE Less Code, Repeat Often
Back to top
View user's profile Send private message
Root Moose
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 112

PostPosted: Tue Jul 12, 2005 1:59 pm    Post subject: Re: lock not being released (FIXED) Reply with quote

Jimmy Jazz wrote:
i don't know why libtool complains about gcc feature but a workaround could be,

Code:

ebuild /usr/portage/app-text/a2ps/a2ps-4.13c-r2.ebuild unpack
cd /var/tmp/portage/a2ps-4.13c-r2/work/a2ps-4.13
./configure --prefix /usr --disable-libtool-lock
make install

mkdir /etc/portage/profile
vi /etc/portage/profile/package.provided

add the following line,
app-text/a2ps-4.13c-r2


package.provided does the same as emerge -i a2ps


For the record, this does indeed work to get a2ps installed.

However, glsa-check still complains that the system is affected by advisory 200501-02 so I guess portage needs to be updated somewhere else also. Ideas?

r@m
Back to top
View user's profile Send private message
Jimmy Jazz
Guru
Guru


Joined: 04 Oct 2004
Posts: 330
Location: Strasbourg

PostPosted: Thu Jul 14, 2005 4:29 pm    Post subject: Re: lock not being released (FIXED) Reply with quote

@Root Moose

glsa-check is for security purpose, isn't it ?

There is a better way to get rid of this, read my other posts at https://forums.gentoo.org/viewtopic-t-329552-highlight-libtool.html

Jj
_________________
« La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code:

+----+----+----+
|    |::::|    |
|    |::::|    |
+----+----+----+

motto: WeLCRO
WritE Less Code, Repeat Often
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Thu Jul 14, 2005 4:39 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of the above mentioned thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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