Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88018 - psi-0.9.3-r1 psi-0.93-r2 emerge process crashes after building phase
Summary: psi-0.9.3-r1 psi-0.93-r2 emerge process crashes after building phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 03:31 UTC by Martin Schmalz
Modified: 2005-06-26 07:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A extended version of net-im/psi/files/psi-pathfix.patch (psi-pathfix.patch,462 bytes, text/x-diff)
2005-05-24 03:43 UTC, Mart K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schmalz 2005-04-05 03:31:49 UTC
I tried to emerge psi with current synced portage. There are psi-0.9.3-r1 marked as stable and psi-0.9.3-r2 in ~x86 branch. The emerge process crashes with the same error after trying to emerge the stable and afterwards the unstable package.

Reproducible: Always
Steps to Reproduce:
1. emerge psi
Actual Results:  
emerge output:

>>> Install psi-0.9.3-r1 into /usr/tmp//portage/psi-0.9.3-r1/image/ category net-im
( [ -d libpsi/psiwidgets ] && cd libpsi/psiwidgets ; grep "^qmake_all:" Makefile
&& make -f Makefile qmake_all; ) || true
( [ -d src ] && cd src ; grep "^qmake_all:" Makefile && make -f Makefile
qmake_all; ) || true
( [ -d libpsi/psiwidgets ] && cd libpsi/psiwidgets ; make -f Makefile install; )
|| true
make[1]: Entering directory
`/usr/tmp/portage/psi-0.9.3-r1/work/psi-0.9.3/libpsi/psiwidgets'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory
`/usr/tmp/portage/psi-0.9.3-r1/work/psi-0.9.3/libpsi/psiwidgets'
( [ -d src ] && cd src ; make -f Makefile install; ) || true
make[1]: Entering directory `/usr/tmp/portage/psi-0.9.3-r1/work/psi-0.9.3/src'
cp -f "psi" "/usr/tmp//portage/psi-0.9.3-r1/image/../../../../../../bin/psi"
ACCESS DENIED  open_wr:   /bin/psi
cp: cannot create regular file
`/usr/tmp//portage/psi-0.9.3-r1/image/../../../../../../bin/psi': Permission denied
make[1]: [install_target] Error 1 (ignored)
ACCESS DENIED  mkdir:     /share
mkdir: cannot create directory
`/usr/tmp//portage/psi-0.9.3-r1/image/../../../../../../share': Permission denied
make[1]: *** [install_sharedfiles] Error 1
make[1]: Leaving directory `/usr/tmp/portage/psi-0.9.3-r1/work/psi-0.9.3/src'
cp: cannot stat `/usr/tmp//portage/psi-0.9.3-r1/work/langs/psi_*.qm': No such
file or directory
man:
prepallstrip:
strip: strip --strip-unneeded
>>> Completed installing psi-0.9.3-r1 into /usr/tmp//portage/psi-0.9.3-r1/image/

^G^G^G--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/tmp/sandbox-net-im_-_psi-0.9.3-r1-10455.log"

open_wr:   /bin/psi
mkdir:     /share
--------------------------------------------------------------------------------
 ...done!
-------------------------------------------------------------
sandbox-net-im_-_psi-0.9.3-r1-10455.log:

open_wr:   /bin/psi
mkdir:     /share

Expected Results:  
merging of psi

make.conf:
--- snip ---
PORTDIR_OVERLAY="/usr/local/portage"
ACCEPT_KEYWORDS="x86"
#FEATURES="autoaddcvs ccache sandbox strict maketest"
FEATURES="autoaddcvs ccache sandbox strict"
PORTAGE_TMPDIR="/usr/tmp"
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
MAKEOPTS="-j2"
DISTDIR="/var/tmp/portage/distfiles"
ALSA_CARDS="intel8x0"
VIDEO_CARDS="nvidia"
--- snip ---
Comment 1 Gustavo Felisberto (RETIRED) gentoo-dev 2005-04-05 16:52:37 UTC
This package uses qmake, and it seems that in some cases a patch to a problem in the build process is not working. Your /usr/tmp is a real directory? If not it is a link to where? If it is a link are they both in the same fs?

You can try PORTAGE_TMPDIR="/var/tmp/portage" emerge psi

Please report back
Comment 2 Martin Schmalz 2005-04-13 15:03:57 UTC
Thank you very much. The proposed step fixed the problem. Now all path issues worked out fine.

By the way:
My /usr/tmp is a real directory and all permissions are correctly set. That's why i still don't understand why it worked with PORTAGE_TMPDIR="/var/tmp/portage".
Comment 3 Mart K 2005-05-23 13:05:09 UTC
I got a simular error, and I solved it in a different way.  
  
There is a patch in the psi filesdir which is called "psi-pathfix.patch". It  
adds the option "no_fixpath" to the CONFIG-variable in psi.pro. When I added 
the same option in src/src.pro, it did compile without problems.  
  
I can attach my version of that patch if you want.  
Comment 4 Martin Schmalz 2005-05-24 02:20:01 UTC
I would highly appreciate you to attach your version of the "psi-pathfix.patch".
Perhaps it can make its way into the current stable portage patch-set of psi.

(In reply to comment #3)
Comment 5 Mart K 2005-05-24 03:43:04 UTC
Created attachment 59689 [details]
A extended version of net-im/psi/files/psi-pathfix.patch

Okee, here is that file.
Comment 6 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-06-19 10:31:10 UTC
I add this to test release of -r4(-test3).

If you can - plz download and check is everything is ok now:
http://vivid.dat.pl/psi/psi-0.9.3-gentoo-r4-test3.tar.bz2

Regards,
Przemek
Comment 7 Mart K 2005-06-20 09:53:52 UTC
It compiles fine here, and it also seems to run ok (I haven't test that very 
hard). 
 
Note that if this is applied as it now is, is also updates psi-pathfix.patch 
and thus changes this file for some of the earlier versions, which is possibly 
not the intention. But you proberbly already know this. 
 
Regards, 
Mart 
Comment 8 Gustavo Felisberto (RETIRED) gentoo-dev 2005-06-26 07:36:42 UTC
I hope to comit r4 today that will fix this.