Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563352 - sys-devel/autogen-5.18.4: tmp file in /tmp instead of /var/tmp/portage/...
Summary: sys-devel/autogen-5.18.4: tmp file in /tmp instead of /var/tmp/portage/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceforge.net/p/autogen/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-17 20:27 UTC by Toralf Förster
Modified: 2015-11-23 21:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-10-17 20:27:25 UTC
I do wonder about these files hat my tinderbox :

tinderbox@tor-relay ~ $ ls  amd64-*/tmp/mklibsrc-log.tx
amd64-desktop-unstable_20150918-212348/tmp/mklibsrc-log.tx
amd64-desktop-unstable_20151004-161203/tmp/mklibsrc-log.tx
amd64-gnome-unstable_20150918-212335/tmp/mklibsrc-log.tx
amd64-gnome-unstable_20151004-164200/tmp/mklibsrc-log.tx
amd64-hardened-unstable_20150918-212345/tmp/mklibsrc-log.tx
amd64-hardened-unstable_20150918-212347/tmp/mklibsrc-log.tx
amd64-kde-unstable_20150924-192409/tmp/mklibsrc-log.tx
tinderbox@tor-relay ~ $ head amd64-desktop-unstable_20150918-212348/tmp/mklibsrc-log.tx
++ cd ..
++ pwd
+ top_builddir=/var/tmp/portage/sys-devel/autogen-5.18.4/work/autogen-5.18.4
++ cd ..
++ pwd
+ top_srcdir=/var/tmp/portage/sys-devel/autogen-5.18.4/work/autogen-5.18.4
+ test -x /var/tmp/portage/sys-devel/autogen-5.18.4/work/autogen-5.18.4/agen5/autogen
+ test -x /var/tmp/portage/sys-devel/autogen-5.18.4/work/autogen-5.18.4/columns/columns
+ ao_rev=41.0.16
+ tag=libopts-41.0.16



which shouldn't be in /tmp at all, or ?
Comment 1 SpanKY gentoo-dev 2015-11-23 11:27:39 UTC
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.
Comment 2 Bruce Korb 2015-11-23 21:21:00 UTC
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