Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216700 - autoconf generated configure scripts need mktemp
Summary: autoconf generated configure scripts need mktemp
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 13:24 UTC by virdiq
Modified: 2008-04-08 14:27 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 virdiq 2008-04-07 13:24:23 UTC
I had mktemp removed because it was blocking coreutils while I was rebuilding some parts of my system.

Relevant lines from the configure output:

configure: creating ./config.status
./config.status: line 469: mktemp: command not found

It looks like sys-apps/kbd-1.14.1-r1 needs to be updated with a new RDEPEND on sys-apps/mktemp. I haven't tried earlier versions of kbd to see if they require mktemp as well.

Reproducible: Always

Steps to Reproduce:
Comment 1 virdiq 2008-04-07 13:34:29 UTC
Portage 2.1.5_rc2 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24.4 x86_64)
=================================================================
System uname: 2.6.24.4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Mon, 07 Apr 2008 05:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo"
LANG="C"
LDFLAGS=""
LINGUAS="en_GB en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi agg alsa amd64 animgif apm artworkextra bash-completion berkdb bzip2 cairo cddb cdparanoia cdr chm cli cpudetection cracklib crypt cups dbus disk-partition divx djvu dri dv dvd dvdr dvdread ecc encode evo exif ffmpeg firefox flac gd gdbm gif glitz gmedia gnome gpm gs gstreamer gtk hal iconv ipod ipv6 isdnlog ithreads jpeg jpeg2k keyring libnotify logrotate mad md5sum midi mmx mmxext mp3 mpeg msn mudflap musicbrainz ncurses nls nntp nptl nptlonly nsplugin nvtv ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline realmedia reflection sdl session skey smp spell spl sse sse2 ssl startup-notification svg tagwriting tcpd theora threads thunderbird tiff truetype unicode usb vorbis wmf wmp x264 xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ice1724 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="en_GB en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 virdiq 2008-04-07 13:44:20 UTC
From line 7103 in /kbd-1.14.1/configure:

 # Create a (secure) tmp directory for tmp files.
tmp="`mktemp -dt cs.XXXXXXXXXX`" || exit 1
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-04-07 20:56:18 UTC
Actually all configure scripts generated by autoconf need mktemp to exist.
Comment 4 SpanKY gentoo-dev 2008-04-07 21:05:43 UTC
the block is unfortunate.  when you removed the package in question though, you should have upgraded the explicit packages instead which provide mktemp.

this sort of implicit mktemp requirement is not kbd-specific.  we're not about to go adding mktemp to every package out there as it is considered one of the system requirements.  if you dont have mktemp installed, your system is screwed.
Comment 5 virdiq 2008-04-08 14:27:40 UTC
My mistake, thanks for the clarification.

I only just realized that sys-apps/mktemp is now included inside sys-apps/coreutils-6.10. The reason I thought mktemp was kbd-specific was that I rebuilt 200 packages on my system without sys-apps/mktemp when in fact this functionality was being provided by sys-apps/coreutils-6.10 instead.