[GH-ISSUE #1079] legacy build fails #675

Closed
opened 2026-10-14 03:18:52 +07:00 by bsakaguchi · 11 comments
Owner

Originally created by @frank-dittrich on GitHub (Mar 7, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1079

(bleeding-jumbo)src $ make -s distclean ; make -s clean ; make -s -f Makefile.legacy linux-x86-64-native
In file included from sph_haval.h:65:0,
                 from dynamic_big_crypt.c:34:
sph_types.h:50:24: fatal error: autoconfig.h: No such file or directory
 #include "autoconfig.h"
                        ^
compilation terminated.
In file included from sph_tiger.h:48:0,
                 from tiger_plug.c:36:
sph_types.h:50:24: fatal error: autoconfig.h: No such file or directory
 #include "autoconfig.h"
                        ^
compilation terminated.
make[1]: *** [dynamic_big_crypt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [tiger_plug.o] Error 1
make: *** [linux-x86-64-native] Error 2
Originally created by @frank-dittrich on GitHub (Mar 7, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1079 ``` (bleeding-jumbo)src $ make -s distclean ; make -s clean ; make -s -f Makefile.legacy linux-x86-64-native In file included from sph_haval.h:65:0, from dynamic_big_crypt.c:34: sph_types.h:50:24: fatal error: autoconfig.h: No such file or directory #include "autoconfig.h" ^ compilation terminated. In file included from sph_tiger.h:48:0, from tiger_plug.c:36: sph_types.h:50:24: fatal error: autoconfig.h: No such file or directory #include "autoconfig.h" ^ compilation terminated. make[1]: *** [dynamic_big_crypt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [tiger_plug.o] Error 1 make: *** [linux-x86-64-native] Error 2 ```
Author
Owner

@kholia commented on GitHub (Mar 8, 2015):

I am heavily in favor of dropping the legacy build system. It's a waste of time.

<!-- gh-comment-id:77736773 --> @kholia commented on GitHub (Mar 8, 2015): I am heavily in favor of dropping the legacy build system. It's a waste of time.
Author
Owner

@frank-dittrich commented on GitHub (Mar 8, 2015):

I don't disagree.
While this bug looks like it is easy to fix, new bugs will creep in because nobody tests legacy builds anymore.
I just noticed the problem because I wanted to verify whether a problem in an autoconf debug build would occur on a legacy debug build as well.

<!-- gh-comment-id:77740457 --> @frank-dittrich commented on GitHub (Mar 8, 2015): I don't disagree. While this bug looks like it is easy to fix, new bugs will creep in because nobody tests legacy builds anymore. I just noticed the problem because I wanted to verify whether a problem in an autoconf debug build would occur on a legacy debug build as well.
Author
Owner

@kholia commented on GitHub (Mar 8, 2015):

Done in commit d9e2daacd6.

@magnumripper hopefully, this is a sane decision.

<!-- gh-comment-id:77741968 --> @kholia commented on GitHub (Mar 8, 2015): Done in commit d9e2daacd64663145dd850944ecb96ad260397c5. @magnumripper hopefully, this is a sane decision.
Author
Owner

@magnumripper commented on GitHub (Mar 8, 2015):

I was a minute away from stopping you. Revert, and let's think this over. I'd like it to be kept at least in unused/ for now. Or kept as-is but documented as not supported.

<!-- gh-comment-id:77742095 --> @magnumripper commented on GitHub (Mar 8, 2015): I was a minute away from stopping you. Revert, and let's think this over. I'd like it to be kept at least in unused/ for now. Or kept as-is but documented as not supported.
Author
Owner

@kholia commented on GitHub (Mar 8, 2015):

It is reverted now. I am all ears :-)

<!-- gh-comment-id:77742127 --> @kholia commented on GitHub (Mar 8, 2015): It is reverted now. I am all ears :-)
Author
Owner

@magnumripper commented on GitHub (Mar 8, 2015):

For a starter, we have to change doc/INSTALL and perhaps some more files first.

<!-- gh-comment-id:77742191 --> @magnumripper commented on GitHub (Mar 8, 2015): For a starter, we have to change doc/INSTALL and perhaps some more files first.
Author
Owner

@kholia commented on GitHub (Mar 8, 2015):

@magnumripper @frank-dittrich OK, I am working towards this now.

I will move the file to unused and will fix / remove all references to it. Sounds good?

<!-- gh-comment-id:77742255 --> @kholia commented on GitHub (Mar 8, 2015): @magnumripper @frank-dittrich OK, I am working towards this now. I will move the file to `unused` and will fix / remove all references to it. Sounds good?
Author
Owner

@frank-dittrich commented on GitHub (Mar 8, 2015):

Good idea. Move it to unused, or just make legacy builds fail with a comment that legacy builds are currently not supported.
When we are about to release the next jumbo, just check how much trouble it would be to fix the issues that come up

<!-- gh-comment-id:77742266 --> @frank-dittrich commented on GitHub (Mar 8, 2015): Good idea. Move it to unused, or just make legacy builds fail with a comment that legacy builds are currently not supported. When we are about to release the next jumbo, just check how much trouble it would be to fix the issues that come up
Author
Owner

@magnumripper commented on GitHub (Mar 8, 2015):

I'm on the road today, will try to come up with some sane idea. One problem is merging core changes. That is already a problem, since core's file is called Makefile and our version of it is generated.

Yes, keeping it and ensuring it works for releases is definitely an option.

<!-- gh-comment-id:77742312 --> @magnumripper commented on GitHub (Mar 8, 2015): I'm on the road today, will try to come up with some sane idea. One problem is merging core changes. That is already a problem, since core's file is called Makefile and our version of it is generated. Yes, keeping it and ensuring it works for releases is definitely an option.
Author
Owner

@frank-dittrich commented on GitHub (Mar 8, 2015):

Make sure to check

git grep Makefile.legacy

and

git grep "legacy build"

output.

<!-- gh-comment-id:77742321 --> @frank-dittrich commented on GitHub (Mar 8, 2015): Make sure to check ``` git grep Makefile.legacy ``` and ``` git grep "legacy build" ``` output.
Author
Owner

@magnumripper commented on GitHub (Mar 9, 2015):

From now on, legacy builds are not supported. They may work from time to time (and I endorse anyone to "fix" them as problems are seen), but they are not supported for end users. See #1084.

<!-- gh-comment-id:77935915 --> @magnumripper commented on GitHub (Mar 9, 2015): From now on, legacy builds are not supported. They may work from time to time (and I endorse anyone to "fix" them as problems are seen), but they are not supported for end users. See #1084.
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#675
No description provided.