Discussion:
[Mingw-users] bash 4 for MSYS
Paul J. Hentschel
2017-07-14 23:34:38 UTC
Permalink
Hello everyone. I am new to the list. I have been playing around
with building bash 4.1 for MSYS. I have what I think is a working
build, but I was hoping to get some feedback on how to go about
testing it, besides just installing and using it and see if anything
goes wrong.

I have a repository on github here if anyone is interested:
https://github.com/hpmachining/msys-bash-build
You need to checkout branch 4.1 after cloning, master is just a
few scripts. I didn't include the bash source or upstream patches
in the repository, but there is a script, download_sources, that
will download them. Or, of course, you can download them manually
from here: https://ftp.gnu.org/gnu/bash/

BTW, the reason I am doing version 4.1 is because after this
version, there is a problem with command substitution not
working. A simple $(echo ls) or `echo ls` doesn't work.

Paul Hentschel
Eli Zaretskii
2017-07-15 06:50:24 UTC
Permalink
Date: Fri, 14 Jul 2017 19:34:38 -0400
Hello everyone. I am new to the list. I have been playing around
with building bash 4.1 for MSYS. I have what I think is a working
build, but I was hoping to get some feedback on how to go about
testing it, besides just installing and using it and see if anything
goes wrong.
Thank you for your work.

Does Bash have a test suite? If it does, I'd start by running it and
making sure all the tests pass. Maybe you did that already.

The next step I'd recommend is to run the configure and make parts of
building complex packages, and see that this works as well as the
existing MSYS Bash does.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
Paul J. Hentschel
2017-07-16 23:15:18 UTC
Permalink
Post by Eli Zaretskii
Does Bash have a test suite? If it does, I'd start by running it and
making sure all
Post by Eli Zaretskii
the tests pass. Maybe you did that already.
I did run the test suite but there are issues with both the official MSYS
bash package
and my attempt at a port, so I don't really know how to interpret the
results. For one
thing, a few of the tests can't find the msys-1.0.dll. I will provide the
log files if anyone
wants to see them.
Post by Eli Zaretskii
The next step I'd recommend is to run the configure and make parts of
building
Post by Eli Zaretskii
complex packages, and see that this works as well as the existing MSYS
Bash does.

I built a few smaller packages then built gtk2 without any issues, so it's
looking good
so far. Thank you for your suggestions.

Paul


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
Eli Zaretskii
2017-07-15 06:51:39 UTC
Permalink
Date: Fri, 14 Jul 2017 19:34:38 -0400
BTW, the reason I am doing version 4.1 is because after this
version, there is a problem with command substitution not
working. A simple $(echo ls) or `echo ls` doesn't work.
I see that MSYS2 has Bash 4.3, so perhaps you could look in their
patches to see how they solved this.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
Paul J. Hentschel
2017-07-16 23:32:16 UTC
Permalink
BTW, the reason I am doing version 4.1 is because after this version,
there is a problem with command substitution not working. A simple
$(echo ls) or `echo ls` doesn't work.
I see that MSYS2 has Bash 4.3, so perhaps you could look in their patches
to see
how they solved this.
Thanks, I'll look into that. I wanted to get a working bash 4 build to use
for
comparison before trying to figure this out. If anyone knows what specific
files in the bash source I should look at, that would be a big help.

Paul


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
Loading...