-
Notifications
You must be signed in to change notification settings - Fork 577
Configure: Cross/to-scp duplicates targetdir when rerun #15802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From [email protected]Created by [email protected]G'day perlbug, I'm building Perl in a cross development environment. The Configure script creates the Cross/to-scp shell script with a This works the first time through, but the next time Cross/to-scp This is easily demonstrated with an example: ~> mkdir t My suggested fix is: perl-5.24.0> diff ../DIST/perl-5.24.0/Configure Configure.bugfix
Kind regards, Perl Info
|
From @jkeenanOn Wed, 11 Jan 2017 21:36:27 GMT, muggeridge@sgi.com wrote:
Would it be possible for you to: 1. Attach the patch to the email rather than posting it inline? 2. Draw the patch against the 'blead' branch of the core distribution, rather than against perl-5.24.0? (The contents of ./Configure have shifted around since 5.24.0.) This will make it easier for the people who are knowledgeable in this area to evaluate your patch. Thank you very much.
-- |
The RT System itself - Status changed from 'new' to 'open' |
From [email protected]Hi, There were a couple of issues with the last patch I provided. Please use this new patch. It addresses two things: 1) In a cross-compile environment, the libraries in glibpth and plibpth ought not to appear. These default to the host-systems /usr/lib (etc), which are not relevant for cross-compiling. 2) The to-scp script has been fixed so it can be re-run and not cause duplicate directories (as per my original description). To echo messages to the screen, I needed to redirect them to fd:4, to avoid it interfering with the Configure defaults. Any questions, please ask. Matt. -----Original Message----- Hi James, As requested. Please find attached the git diff of my changes against the blead branch. Cheers, -----Original Message----- On Wed, 11 Jan 2017 21:36:27 GMT, muggeridge@sgi.com wrote:
Would it be possible for you to: 1. Attach the patch to the email rather than posting it inline? 2. Draw the patch against the 'blead' branch of the core distribution, rather than against perl-5.24.0? (The contents of ./Configure have shifted around since 5.24.0.) This will make it easier for the people who are knowledgeable in this area to evaluate your patch. Thank you very much.
-- |
From [email protected]diff --git a/Configure b/Configure |
From [email protected]Hi James, As requested. Please find attached the git diff of my changes against the blead branch. Cheers, -----Original Message----- On Wed, 11 Jan 2017 21:36:27 GMT, muggeridge@sgi.com wrote:
Would it be possible for you to: 1. Attach the patch to the email rather than posting it inline? 2. Draw the patch against the 'blead' branch of the core distribution, rather than against perl-5.24.0? (The contents of ./Configure have shifted around since 5.24.0.) This will make it easier for the people who are knowledgeable in this area to evaluate your patch. Thank you very much.
-- |
From [email protected]diff --git a/Configure b/Configure |
From [email protected]Hello once again. I have made yet another change. There are a couple of layers of issues that I have been uncovering. When using a different BUILD directory with -Dmksymlinks, the "make clobber" attempts to remove "Clobber/to-scp" and friends from the build directory. Unfortunately, the Configure script writes these to the $src directory. As such, even a "make clobber" leaves old versions of "to-scp" in place. I recommend modifying the Configure script to write the "Cross/*" files to the BUILD directory. I can provide a diff if need be. Anyway, this caused a false-positive with my previous edit. I think I have all that cleared up now, and have made the 'final' edit to Configure to fix the "to-scp" bug. Please see attached filed. As always, let me know if you have any questions. Kind regards, -----Original Message----- Hi James, As requested. Please find attached the git diff of my changes against the blead branch. Cheers, -----Original Message----- On Wed, 11 Jan 2017 21:36:27 GMT, muggeridge@sgi.com wrote:
Would it be possible for you to: 1. Attach the patch to the email rather than posting it inline? 2. Draw the patch against the 'blead' branch of the core distribution, rather than against perl-5.24.0? (The contents of ./Configure have shifted around since 5.24.0.) This will make it easier for the people who are knowledgeable in this area to evaluate your patch. Thank you very much.
-- |
Migrated from rt.perl.org#130543 (status was 'open')
Searchable as RT130543$
The text was updated successfully, but these errors were encountered: