Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15682

make install failed; dump core in mkdir

From George R Goffe <grgoffe@yahoo.com>
Newsgroups gnu.bash.bug
Subject make install failed; dump core in mkdir
Date 2019-12-01 15:20 +0000
Message-ID <mailman.55.1575213668.1979.bug-bash@gnu.org> (permalink)
References <742858147.7229097.1575213654608.ref@mail.yahoo.com> <742858147.7229097.1575213654608@mail.yahoo.com>

Show all headers | View raw


Hi,

This is really strange. I just did a buld of bash-5.0 from ftp.gnu.org. build went well... but make install coredumped in mkdir. mkdir is in my bashrc...This is not a new change to the bash rc file. 


mkdir ()
{ 
dirs="$@";
for dir in $dirs;
do
/bin/mkdir -p "$dir";
done
}



make[1]: Leaving directory '/export/home/tools/bash/bash-5.0/po'
( cd /tools/bash/bash-5.0/examples/loadables && make  DESTDIR= install )
make[1]: Entering directory '/export/home/tools/bash/bash-5.0/examples/loadables'
../../support/mkinstalldirs: line 53: 1822305 Segmentation fault      (core dumped) mkdir -p -- . 2> /dev/null
mkdir /usr/lsd/Linux/lib/bash
../../support/mkinstalldirs: line 74: 1822313 Segmentation fault      (core dumped) mkdir "$pathcomp"
make[1]: *** [Makefile:246: installdirs] Error 139
make[1]: Leaving directory '/export/home/tools/bash/bash-5.0/examples/loadables'
make: [Makefile:824: install] Error 2 (ignored)

trying without the bashrc function. Sigh...

same result. bash/examples/loadables has a mkdir! Why would make install try to mkdir for the "current" directory? 

I removed mkdir from the Makefile and named it xx... make -f xx install worked!

Any thoughts?

George...

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

make install failed; dump core in mkdir George R Goffe <grgoffe@yahoo.com> - 2019-12-01 15:20 +0000

csiph-web