Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15682 > unrolled thread
| Started by | George R Goffe <grgoffe@yahoo.com> |
|---|---|
| First post | 2019-12-01 15:20 +0000 |
| Last post | 2019-12-01 15:20 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
make install failed; dump core in mkdir George R Goffe <grgoffe@yahoo.com> - 2019-12-01 15:20 +0000
| From | George R Goffe <grgoffe@yahoo.com> |
|---|---|
| Date | 2019-12-01 15:20 +0000 |
| Subject | make install failed; dump core in mkdir |
| Message-ID | <mailman.55.1575213668.1979.bug-bash@gnu.org> |
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 top | Article view | gnu.bash.bug
csiph-web