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
ExtUtils-CBuilder looks for the manifest file in the wrong place #12005
Comments
From Samuel.Ferencik@barclayscapital.comThis is a bug report for perl from sferencik@gmail.com, ExtUtils::CBuilder 0.280205* on Windows tries to embed a manifest into the DLL The reason is that it looks for the manifest file in the wrong place. Callink ExtUtils::CBuilder::Platform::Windows::link() produces the following link @"lib\Simple.lds" -out:"blib\arch\auto\Simple\Simple.dll" However, the 'link' command puts the manifest file next to the dll, i.e. at ExtUtils::CBuilder::Platform::Windows::link() needs to be modified to set * The "if exist" line is produced by a modified version of 0.280205. See perlbug The problem surfaced while installing Module-Build v0.40 on Windows, in running Patch included. Thanks, Left file: C:\Users\ferencis\AppData\Local\Temp\p4v\PRGDWM355382_qaperforce_1666\depot\QA\Toolbox\main.br\CPAN\ExtUtils-CBuilder\0.280205_bc2\src\lib\ExtUtils\CBuilder\Platform\Windows#1.pm
Flags: Site configuration information for perl v5.8.8: Configured by SYSTEM at Tue Aug 29 12:39:43 2006. Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Locally applied patches: @INC for perl v5.8.8: Environment for perl v5.8.8: _______________________________________________ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. |
From @steve-m-haySamuel.Ferencik@barclayscapital.com (via RT) wrote on 2012-03-16:
I will have a closer look into this later: I'm confused from a quick look because it appears that the manifest file path already is alongside the output (DLL) file path: $spec{output} ||= File::Spec->catfile( $spec{builddir}, Of course, that's only setting it if it isn't already set, though, so presumably something further up the call stack has already set it wrongly... |
The RT System itself - Status changed from 'new' to 'open' |
From @steve-m-haySteve Hay wrote on 2012-03-20:
I've not found anything obvious further up that's setting manifest wrongly, and furthermore I can't reproduce your problem with the Module-Build-0.40 tests either: all tests succeed for me. This was using bleadperl (a6c70ab) with the patch from [perl #111782], built on Win7 64 bit with VC++ 2010. I see your perlbug was running under perl-5.8.8. What version of perl did you have the problem with Module-Build's tests in? |
From sferencik@gmail.comHi Steve, My perl is the same as used to produce the perlbug - 5.8.8. I cannot reproduce it now, either. t/xs.t passes. It's been a while, I'm still convinced, though, that the manifest file should be picked up Having said that, I leave the decision with you. Thanks for checking! Regards, |
From @steve-m-hayFinally reproduced this with Win32-IPC, as was reported long ago in |
From [Unknown Contact. See original ticket]Finally reproduced this with Win32-IPC, as was reported long ago in |
@steve-m-hay - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#111798 (status was 'resolved')
Searchable as RT111798$
The text was updated successfully, but these errors were encountered: