RE: [openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-17 Thread Salz, Rich
Yes, it predates the latest release. I thin in general it's like a makefile hygiene thing -- if files are read-only, but can be created, then the target needs to be removed first. -- Principal Security Engineer Akamai Technology Cambridge, MA :��IϮ��r�m (Z+�7�zZ)���1���x

RE: [openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-17 Thread Salz, Rich via RT
Yes, it predates the latest release. I thin in general it's like a makefile hygiene thing -- if files are read-only, but can be created, then the target needs to be removed first. -- Principal Security Engineer Akamai Technology Cambridge, MA

[openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-16 Thread Stephen Henson via RT
On Thu Feb 14 14:24:18 2013, rs...@akamai.com wrote: We extract a tarball and make everything read-only. Sometimes an item in the distribution gets re-made. This can fail because of permissions. So, on platforms where this would happen, we'd like to remove the file first. I wasn't advocating

[openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-14 Thread Stephen Henson via RT
On Thu Feb 14 04:35:05 2013, rs...@akamai.com wrote: Unfortunately some platforms can't automatically build the files e.g. WIN32, VMS. Okay, so those targets shouldn't get invoked? Or are you saying that you WANT the build to fail on those platforms? Ah so you're saying the files would

RE: [openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-14 Thread Salz, Rich via RT
We extract a tarball and make everything read-only. Sometimes an item in the distribution gets re-made. This can fail because of permissions. So, on platforms where this would happen, we'd like to remove the file first. I wasn't advocating to remove them from the distro, I understand we need

[openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-13 Thread Salz, Rich via RT
Some targets need to be removed before rebuilding them: In apps/Makefile, add $(RM) $@ after progs.h line In crypt/bn/Makefile, something like this: bn_prime.h: bn_prime.pl $(RM) $@ $(PERL) bn_prime.pl $@

[openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-13 Thread Stephen Henson via RT
On Wed Feb 13 20:28:12 2013, rs...@akamai.com wrote: Some targets need to be removed before rebuilding them: Unfortunately some platforms can't automatically build the files e.g. WIN32, VMS. Also: # objects.pl both reads and writes obj_mac.num obj_mac.h: objects.pl objects.txt obj_mac.num

RE: [openssl.org #2988] Makefiles should (usually) remove target before re-generating

2013-02-13 Thread Salz, Rich via RT
Unfortunately some platforms can't automatically build the files e.g. WIN32, VMS. Okay, so those targets shouldn't get invoked? Or are you saying that you WANT the build to fail on those platforms? # objects.pl both reads and writes obj_mac.num obj_mac.h: objects.pl objects.txt