Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96882

Summary: autoconf does not protect against spaces in the pathnames
Product: Gentoo Linux Reporter: Justace Clutter <prophecy>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for autoconf-2.59 to fix the problem

Description Justace Clutter 2005-06-23 09:59:15 UTC
I have found that the ac_unique_file stuff in the configure scripts do not
handle spaces since they are not quoted.  So, I quoted them.  I am including a
patch to the 2.59 distro and I have submitted a patch to the autoconf project
made from the current CVS sources.

Reproducible: Always
Steps to Reproduce:
1.  Create a project with the auto-tools under a directory with a space in it
2.  Generate the configure script
3.  Run the configure script

Actual Results:  
I lost the output, so I can not put it here.  Sorry


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -I/usr/include/freetype2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -I/usr/include/freetype2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzlib calendar cdr crypt cups curl dio divx4linux dvd dvdr
eds emboss encode esd evo exif fam fbcon fftw flac foomaticdb fortran ftp gd
gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap
imlib ipv6 jabber java jpeg junit kde kerberos lcms ldap libg++ libwww lirc mad
maildir mbox mcal mikmod mmap mmx mng motif mozilla mp3 mpeg msn ncurses nls
offensive ofx ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pdflib perl
pic pie plotutils png pnp ppds python qt quicktime readline samba sdl shared
soap sockets sox spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb vorbis wmf xine xml xml2 xmms xosd xpm xprint
xscreensaver xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Justace Clutter 2005-06-23 09:59:44 UTC
Created attachment 61792 [details, diff]
Patch for autoconf-2.59 to fix the problem
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 10:11:44 UTC
*** Bug 96884 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2005-06-23 16:59:50 UTC
added to 2.59-r7 ... thanks