[GH-ISSUE #2397] CircleCI-MinGW.sh appends .exe extension to directories #1599

Closed
opened 2026-10-15 04:21:02 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @kholia on GitHub (Jan 23, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2397

Inside our MinGW builds, I see that the directories in the run directory have .exe extension appended to their names. This breaks stuff.

# the mingw build does not name many exe files correctly.  Fix that.  Also strip all exe files for distro.
cd ../run
for f in `ls -l | grep wxr | grep -v [\.][epr] | cut -c 46-` ; do mv $f $f.exe ; done
for f in benchmark-unify mailer makechr relbench ; do mv $f.exe $f ; done

Download a build from http://daily-builds.appspot.com/latest URL to confirm this.

Originally created by @kholia on GitHub (Jan 23, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2397 Inside our MinGW builds, I see that the directories in the `run` directory have `.exe` extension appended to their names. This breaks stuff. ``` # the mingw build does not name many exe files correctly. Fix that. Also strip all exe files for distro. cd ../run for f in `ls -l | grep wxr | grep -v [\.][epr] | cut -c 46-` ; do mv $f $f.exe ; done for f in benchmark-unify mailer makechr relbench ; do mv $f.exe $f ; done ``` Download a build from http://daily-builds.appspot.com/latest URL to confirm this.
bsakaguchi 2026-10-15 04:21:02 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ghost commented on GitHub (Jan 23, 2017):

I've noticed this. In fact, if your hands are dirty:

  • you can also see some errors 'Makefile.legacy' related (search for "error:").

And (it is my opinion only):

  • better than circle.yml points to username/fedora, it should point to fedora:25 or fedora:latest;
  • then all dnf install is going to be inside CircleCI-MinGW.sh
  • so, the "JtR maintainer" won't have to create an account on https://hub.docker.com/ site.
<!-- gh-comment-id:274517103 --> @ghost commented on GitHub (Jan 23, 2017): I've noticed this. In fact, if your hands are dirty: * you can also see some errors 'Makefile.legacy' related (search for "error:"). And (it is my opinion only): * better than `circle.yml` points to `username/fedora`, it should point to `fedora:25` or `fedora:latest`; * then all `dnf install` is going to be inside **CircleCI-MinGW.sh** * so, the "JtR maintainer" won't have to create an account on https://hub.docker.com/ site.
Author
Owner

@kholia commented on GitHub (Jan 23, 2017):

If circle.yml uses fedora:latest or fedora:25, then the package installation (dnf install) will take a huge amount of time and bandwidth.

<!-- gh-comment-id:274521485 --> @kholia commented on GitHub (Jan 23, 2017): If `circle.yml` uses `fedora:latest` or `fedora:25`, then the package installation (`dnf install`) will take a huge amount of time and bandwidth.
Author
Owner

@kholia commented on GitHub (Jan 26, 2017):

@claudioandre I see the "error:" messages in the CircleCI build logs. I will try to fix them.

<!-- gh-comment-id:275386608 --> @kholia commented on GitHub (Jan 26, 2017): @claudioandre I see the "error:" messages in the CircleCI build logs. I will try to fix them.
Author
Owner

@kholia commented on GitHub (Jan 27, 2017):

OK, all the "error:" messages are gone from the CircleCI builds. See PR #2401 for the fix involved.

<!-- gh-comment-id:275607875 --> @kholia commented on GitHub (Jan 27, 2017): OK, all the "error:" messages are gone from the CircleCI builds. See PR #2401 for the fix involved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1599
No description provided.