mainAutoconf - Support: sr #110473, Building project fails when space...

 
 

sr #110473: Building project fails when space or parenthesis is in the path

Submitter:  Michal Nowak <mno_hime>
Submitted:  Tue 13 Apr 2021 11:23:25 AM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Not Autoconf Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Dec 2023 05:21:37 PM UTC, comment #1: 

This needs to be addressed in Automake and/or Libtool; I don't believe any of autoconf's code is directly involved.  Please re-file this bug report against Automake, per the instructions here: <https://www.gnu.org/software/automake/manual/html_node/Reporting-Bugs.html> They will advise you whether it also needs to be brought up with the Libtool project.

Be aware that the ultimate resolution is probably going to be 'we cannot support this and we're going to make changes so that you get a prompt error from the "checking whether build environment is sane" test if you try it'.

Zack Weinberg <zackw>
Group administrator
Tue 13 Apr 2021 11:23:25 AM UTC, original submission:  

Building BIND 9.17.11 (https://downloads.isc.org/isc/bind9/9.17.11/bind-9.17.11.tar.xz) in directory with space (' ') or parenthesis fails to build (https://gitlab.isc.org/isc-projects/bind9/-/issues/2572) on Fedora 33:

$ ./configure && make -j12

/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -fno-delete-null-pointer-checks -fdiagnostics-show-option -g -O2 -pthread   -release "9.17.11"  -o libisccc.la -rpath /usr/local/lib  libisccc_la-alist.lo libisccc_la-base64.lo libisccc_la-cc.lo libisccc_la-ccmsg.lo libisccc_la-result.lo libisccc_la-sexpr.lo libisccc_la-symtab.lo ../../lib/isc/libisc.la -lnghttp2 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libisccc_la-alist.o .libs/libisccc_la-base64.o .libs/libisccc_la-cc.o .libs/libisccc_la-ccmsg.o .libs/libisccc_la-result.o .libs/libisccc_la-sexpr.o .libs/libisccc_la-symtab.o   -Wl,-rpath -Wl,/home/newman/break -Wl,-rpath -Wl,neck/bind-9.17.11/lib/isc/.libs -Wl,-rpath -Wl,/usr/local/lib ../../lib/isc/.libs/libisc.so -lnghttp2  -g -O2 -pthread   -pthread -Wl,-soname -Wl,libisccc-9.17.11.so -o .libs/libisccc-9.17.11.so
libtool: link: (cd ".libs" && rm -f "libisccc.so" && ln -s "libisccc-9.17.11.so" "libisccc.so")
/usr/bin/sed: can't read neck/bind-9.17.11/lib/isc/libisc.la: No such file or directory
libtool:   error: 'neck/bind-9.17.11/lib/isc/libisc.la' is not a valid libtool archive
make[4]: * [Makefile:627: libisccc.la] Error 1

If parenthesis is in the path it fails in the configure step:

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 2834: syntax error near unexpected token `('
./configure: eval: line 2834: `${SHELL} /home/newman/break(1)neck/bind-9.17.11/missing --is-lightweight'

The BIND9 tarball is build with "make dist" on a host with Debian 10 "Buster". I build the tarball on Fedora 33 with Autoconf 2.71 but no luck in any of these cases.

Michal Nowak <mno_hime>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Posted a comment)
  • -email is unavailable- added by mno_hime (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-08 zackw StatusNone Not Autoconf
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code