Summary: | sys-devel/autogen-5.18.4: tmp file in /tmp instead of /var/tmp/portage/... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/p/autogen/bugs/172/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Toralf Förster
![]() that's actually a security issue ;). sent report upstream and updated our ebuild to not do this: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e0d720fd9440e55f2dab5eddecf4dd1f74364b it was incidentally fixed in upstream commit f303a1d5d8d8e002974eb64818f74041325f2433, but that hasn't seen a release yet. Years old dinkleberry debug detritus. I'll bump out something in a couple weeks. Meanwhile, just remove the code that creates the file.
Sorry about that:
> diff --git a/pkg/libopts/mklibsrc.sh b/pkg/libopts/mklibsrc.sh
> index 52faf44..1ecb22e 100644
> --- a/pkg/libopts/mklibsrc.sh
> +++ b/pkg/libopts/mklibsrc.sh
> @@ -18,9 +18,6 @@
> ## You should have received a copy of the GNU General Public License along
> ## with this program. If not, see <http://www.gnu.org/licenses/>.
>
> -set -ex
> -exec 2> /tmp/mklibsrc-log.tx
> -
> top_builddir=`cd $top_builddir ; pwd`
> top_srcdir=`cd $top_srcdir ; pwd`
>
> @@ -105,6 +102,7 @@ EOMakefile
> ${top_srcdir}/pkg/libopts/stdnoreturn.mk
> printf '\nEXTRA_DIST += \\\n'
> find $(ls -A) -type f \
> + | env LC_COLLATE=C sort \
> | egrep -v '^(libopts\.c|Makefile\.am)$' \
> | ${CLexe} -I4 --spread=1 --line-sep=" \\"
> } > Makefile.am
|