Issue 117693 - xmlsecurity/qa/certext fails on wntmsci12 non-pro ("no OPENSSL_Applink")
Summary: xmlsecurity/qa/certext fails on wntmsci12 non-pro ("no OPENSSL_Applink")
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: external prerequisites (show other issues)
Version: 4.0.0-dev
Hardware: All Windows, all
: P1 (highest) Normal (vote)
Target Milestone: ---
Assignee: vg
QA Contact: issues@external
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 10:20 UTC by Stephan Bergmann
Modified: 2013-02-21 23:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for openssl module (3.60 KB, patch)
2011-04-08 07:05 UTC, tkr
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2011-04-05 10:20:47 UTC
At least a setsolar based wntmsci12 non-pro build of DEV300_m105 based CWS sb140 failed in the subsequenttests step at xmlsecurity/qa/certext with

> OPENSSL_Uplink(01420000,08): no OPENSSL_Applink
> dmake: Error code 1, while making 'cpptest'

This appears to be a problem of mixing debug and non-debug MSVC runtimes (see <http://www.openssl.org/support/faq.html#PROG2>); the following dirty patch would make the problem go away:

> diff --git a/openssl/openssl.patch b/openssl/openssl.patch
> old mode 100644
> new mode 100755
> --- a/openssl/openssl.patch
> +++ b/openssl/openssl.patch
> @@ -107,7 +107,7 @@
>  -    $lib_cflag='/Zl' if (!$shlib);	# remove /DEFAULTLIBs from static lib
>  -    $opt_cflags=$f.' /Ox /O2 /Ob2';
>  -    $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
> -+    my $f = $shlib || $fips ?' -MD':' -MT';
> ++    my $f = $shlib || $fips ?' -MDd':' -MTd';
>  +    $lib_cflag='-Zl' if (!$shlib);	# remove /DEFAULTLIBs from static lib
>  +    $opt_cflags=$f.' -Ox -O2 -Ob2';
>  +    $dbg_cflags=$f.'d -Od -DDEBUG -D_DEBUG';
Comment 1 tkr 2011-04-08 07:05:05 UTC
Created attachment 76317 [details]
patch for openssl module
Comment 2 tkr 2011-04-08 07:06:09 UTC
Fixed. See attached patch file.
Comment 3 tkr 2011-04-08 07:08:05 UTC
tkr->sb: Please verify patch
Comment 4 Stephan Bergmann 2011-04-12 06:54:55 UTC
verified that the patch is good by including it in setsolar wntmsci12 non-pro/pro builds of DEV300_m106 based CWS sb140, which successfully built and ran subsequenttests

@vg: please include the attached patch as DEV300 masterfix, so that subsequenttests stop to fail there again
Comment 5 Oliver-Rainer Wittmann 2012-06-13 12:29:56 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.