Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46473 - cm3 ebuild hangs when $PORTAGE_TMPDIR != /var/tmp (default)
Summary: cm3 ebuild hangs when $PORTAGE_TMPDIR != /var/tmp (default)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 05:02 UTC by Dirk Heinrichs
Modified: 2004-04-02 00:00 UTC (History)
0 users

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


Attachments
Modified m3-ui/ui/src/xvbt/m3makefile to make do-cm3-std.sh work (m3makefile,1.38 KB, text/plain)
2004-04-01 23:57 UTC, Dirk Heinrichs
Details
Modified ebuild to install using do-cm3-std.sh (cm3-5.2.6.ebuild,2.20 KB, text/plain)
2004-04-02 00:00 UTC, Dirk Heinrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2004-04-01 05:02:16 UTC
Tried to emerge cm3 on two machines, both with the same effect. The installation just seems to hang in package m3-comm/tcp.

"=== package /gentootmp/portage/cm3-5.2.6/work/m3-comm/tcp ===
 +++ cm3 -ship -DROOT='/gentootmp/portage/cm3-5.2.6/work'  +++
. => /gentootmp/portage/cm3-5.2.6/image//usr/lib/cm3//pkg/tcp/LINUXLIBC6
  .M3EXPORTS        libm3tcp.so.5     libm3tcp.a        libm3tcp.m3x
  .M3WEB
../src/POSIX => /gentootmp/portage/cm3-5.2.6/image//usr/lib/cm3//pkg/tcp/src/POSIX
  TCP.m3            TCPPosix.i3       Herrno.i3         HerrnoC.c
  IP.m3             IPErrorPosix.m3   TCPExtras.m3      TCPPeer.m3
  TCPHack.i3        TCPHackNull.m3
../src/common => /gentootmp/portage/cm3-5.2.6/image//usr/lib/cm3//pkg/tcp/src/common
  TCP.i3            IP.i3             TCPExtras.i3      TCPPeer.i3
  IPError.m3        IPError.i3        TCPSpecial.i3     ConnFD.i3
  ConnRW.i3         ConnRW.m3         ConnMsgRW.i3      ConnMsgRW.m3
 ==> /gentootmp/portage/cm3-5.2.6/work/m3-comm/tcp done"

After that, nothing happens anymore, but using ps, I see a "sed" process doing nothing, waiting for input from stdin because of lack of input files.

Looking at the ebuild, I find a hardcoded "/var/tmp/portage" in that "sed" call, which should be replaced with ${PORTAGE_TMPDIR}/portage. I don't build in /var/tmp, but in /gentootmp, which is a partition large enough for an OpenOffice build.

Bye...

	Dirk
Comment 1 SpanKY gentoo-dev 2004-04-01 17:09:50 UTC
fixed in cvs, sorry about that
Comment 2 Dirk Heinrichs 2004-04-01 23:57:26 UTC
Created attachment 28547 [details]
Modified m3-ui/ui/src/xvbt/m3makefile to make do-cm3-std.sh work

There is an "if X11_WITH_SHARED_MEM" which leads to an "undefined variable"
error message when compiling the ui package. Since this variable is set to
"TRUE" in two LINUXLIBC6 config files, I commented this if out, leaving only
the "true" case.
Comment 3 Dirk Heinrichs 2004-04-02 00:00:20 UTC
Created attachment 28548 [details]
Modified ebuild to install using do-cm3-std.sh

With this ebuild and the modified m3makefile, it is possible to do a complete
installation, using do-cm3-std.sh.