Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15690 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2019-12-02 13:41 -0500 |
| Last post | 2019-12-02 13:41 -0500 |
| 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.
Re: make install failed; dump core in mkdir Chet Ramey <chet.ramey@case.edu> - 2019-12-02 13:41 -0500
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2019-12-02 13:41 -0500 |
| Subject | Re: make install failed; dump core in mkdir |
| Message-ID | <mailman.150.1575312082.1979.bug-bash@gnu.org> |
On 12/1/19 10:20 AM, George R Goffe via Bug reports for the GNU Bourne
Again SHell wrote:
> 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
You're dumping core in a shell script, so unless your mkdir function is
exported, or if you've arranged for non-interactive shells to read your
startup files, it's uklikely that your function has anything to do with it.
I'd check your $PATH: if `.' is in your path before /bin and /usr/bin,
which is a terrible idea for all sets of reasons, you could be resolving
`mkdir' to `./mkdir' and attempting to execute a loadable shared object.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web