Summary: | portage doesnt like trailing / on PORTAGE_TMPDIR | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Mathias Menzel-Nielsen <spam> |
Component: | Unclassified | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kevin, mike |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mathias Menzel-Nielsen
2002-09-17 15:18:45 UTC
does this file exist on your system ? /usr/lib/tcl8.3/include/generic/tclInt.h yes but the make of tk does -I /var/tmp/portage/tcl-8.3.3-r3 then thats an error that needs to be corrected ;) well, I think the error is in tclConfig.sh: bash-2.05a# grep ^.*/portage/tcl-8.3.3-r3/work/tcl8.3.3.*$ /usr/lib/tclConfig.sh TCL_BUILD_LIB_SPEC='-L/var/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3/unix -ltcl8.3${TCL_DBGX}' TCL_SRC_DIR='/var/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3' TCL_BUILD_STUB_LIB_SPEC='-L/var/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3/unix -ltclstub8.3${TCL_DBGX}' TCL_BUILD_STUB_LIB_PATH='/var/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3/unix/libtclstub8.3${TCL_DBGX}.a' the vars point to the portage build dir which is deleted after tcl merge. perhaps i could put some sed's in the tk-8.3.3-r*.ebuild to change them to the right places (/usr/lib and /usr/lib/tcl8.3/include/unix) ? Or is my box the only with this weird tclConfig.sh? But its a fresh "out-of-the-box" gentoo 1.2 installation. ok after looking into tcl-8.3.3-r3.ebuild, i saw that there were already sed
lines modifying tclConfig.sh.
And I found the error:
I set my PORTAGE_TMPDIR to a different location due to lack of diskspace.
But It had a final '/' like PORTAGE_TMPDIR="/mypath/"
Because of that, the ebuild script does this:
>>> Install tcl-8.3.3-r3 into /usr/build-temp//portage/tcl-8.3.3-r3/image/
category dev-lang
(note the double '/')
and therefore the sed failed and produced no tclConfig.sh.new with changed paths
after changing my PORTAGE_TMPDIR to "/mypath" it worked, hence i changed this
bug to invalid on my own : )
well, if portage doesnt handle 'PORTAGE_TMPDIR' due to trailing / then maybe we should have someone fix that :) nice catch *** Bug 8090 has been marked as a duplicate of this bug. *** Note added to make.conf |