Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3898CD388 for ; Tue, 18 Sep 2012 17:06:56 +0000 (UTC) Received: (qmail 65064 invoked by uid 500); 18 Sep 2012 17:06:55 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 64993 invoked by uid 500); 18 Sep 2012 17:06:55 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 64985 invoked by uid 99); 18 Sep 2012 17:06:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 17:06:55 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrew.rist@oracle.com designates 141.146.126.227 as permitted sender) Received: from [141.146.126.227] (HELO acsinet15.oracle.com) (141.146.126.227) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 17:06:44 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8IH6L7w014509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Sep 2012 17:06:22 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8IH6LPj018406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Sep 2012 17:06:21 GMT Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8IH6L2Q023731 for ; Tue, 18 Sep 2012 12:06:21 -0500 Received: from [130.35.70.168] (/130.35.70.168) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 18 Sep 2012 10:06:20 -0700 Message-ID: <5058AA08.1010402@oracle.com> Date: Tue, 18 Sep 2012 10:06:16 -0700 From: Andrew Rist User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [code] building trunk, rev. 1386983 break in setup_native References: <505883F9.4050001@googlemail.com> <1347983663.32283.YahooMailNeo@web113504.mail.gq1.yahoo.com> In-Reply-To: <1347983663.32283.YahooMailNeo@web113504.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] On 9/18/2012 8:54 AM, Pedro Giffuni wrote: > Hi Oliver; > >> Hi, >> >> I am building trunk, rev. 1386983 on Windows in my environment and I g= ot a build breaker in module setup_native. >> The build breaks in /main/setup_native/source/win32/customactions/shel= lextensions - below you find my error output. >> >> It looks like that the combination of boost and static stlport causes = the trouble. >> The build works fine, when I remove the usage of boost::scoped_array a= nd the corresponding include from /main/setup_native/source/win32/customa= ctions/copyeditiondata.cxx. >> It also works fine, when I force the linker to link stlport_vc71_stlde= bug.lib instead of stlport_vc71_stldebug_static.lib >> >> Can somebody help me to solve the problem? >> Does somebody else experienced the same? >> >> Thanks in advance, Oliver. >> > This is very weird: I updated boost and while I only run FreeBSD, the u= pdate was tested > in Windows. > > Can anyone confirm the issue? I had other updates in the pipeline but I= will wait > until we are all on the same page. I take back my earlier comment - boost did build on the win buildbot: http://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.= build.html (apr and the atlthunk.lib issues are outstanding, though) A. > > > Pedro. > > >> >> Making: shlxtmsi.dll >> Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 >> >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> >> Microsoft (R) Incremental Linker Version 9.00.21022.08 >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -DEBUG /SUBSYSTEM:CONSOL= E /DLL -out:../../../../wntmsci12/bin/shlxtmsi.dll -map:../../../../wntms= ci12/misc/shlxtmsi.map -def:../../../../wntmsci12/misc/shlxtmsi.def -impl= ib:../../../../wntmsci12/lib/ishlxtmsi.lib ../../../../wntmsci12/slo/shlx= tmsi_version.obj ../../../../wntmsci12/slo/shellextensions.obj ../../../.= =2E/wntmsci12/slo/startmenuicon.obj ../../../../wntmsci12/slo/upgrade.obj= ../../../../wntmsci12/slo/iconcache.obj ../../../../wntmsci12/slo/postun= install.obj ../../../../wntmsci12/slo/migrateinstallpath.obj ../../../../= wntmsci12/slo/completeinstallpath.obj ../../../../wntmsci12/slo/checkdire= ctory.obj ../../../../wntmsci12/slo/setadmininstall.obj ../../../../wntms= ci12/slo/layerlinks.obj ../../../../wntmsci12/slo/dotnetcheck.obj ../../.= =2E/../wntmsci12/slo/registerextensions.obj ../../../../wntmsci12/slo/cop= yeditiondata.obj ../../../../wntmsci12/slo/vistaspecial.obj > ../../../../wntmsci12/slo/checkrunningoffice.obj ../../../../wntmsci1= 2/slo/checkpatches.obj ../../../../wntmsci12/slo/copyextensiondata.obj ..= /../../../wntmsci12/slo/seterror.obj libcmtd.lib kernel32.lib user32.lib = oldnames.lib advapi32.lib msi.lib shell32.lib stlport_vc71_stldebug_stati= c.lib ../../../../wntmsci12/misc/shlxtmsi.res >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::none" (?none@locale@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::collate" (?collate@locale@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::ctype" (?ctype@locale@_STL@@2HB) alr= eady defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::monetary" (?monetary@locale@_STL@@2H= B) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::numeric" (?numeric@locale@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::time" (?time@locale@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::messages" (?messages@locale@_STL@@2H= B) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "pu= blic: static int const _STL::locale::all" (?all@locale@_STL@@2HB) already= defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ctype.obj) : error LNK2005: "public: = static unsigned int const _STL::ctype::table_size" (?table_size@?$c= type@D@_STL@@2IB) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::left" (?left@ios_base@_STL@@2HB) already d= efined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::right" (?right@ios_base@_STL@@2HB) already= defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::internal" (?internal@ios_base@_STL@@2HB) a= lready defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::dec" (?dec@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::hex" (?hex@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::oct" (?oct@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::fixed" (?fixed@ios_base@_STL@@2HB) already= defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::scientific" (?scientific@ios_base@_STL@@2H= B) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::boolalpha" (?boolalpha@ios_base@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::showbase" (?showbase@ios_base@_STL@@2HB) a= lready defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::showpoint" (?showpoint@ios_base@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::showpos" (?showpos@ios_base@_STL@@2HB) alr= eady defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::skipws" (?skipws@ios_base@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::unitbuf" (?unitbuf@ios_base@_STL@@2HB) alr= eady defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::uppercase" (?uppercase@ios_base@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::adjustfield" (?adjustfield@ios_base@_STL@@= 2HB) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::basefield" (?basefield@ios_base@_STL@@2HB)= already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::floatfield" (?floatfield@ios_base@_STL@@2H= B) already defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::goodbit" (?goodbit@ios_base@_STL@@2HB) alr= eady defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::badbit" (?badbit@ios_base@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::eofbit" (?eofbit@ios_base@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::failbit" (?failbit@ios_base@_STL@@2HB) alr= eady defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::app" (?app@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::ate" (?ate@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::binary" (?binary@ios_base@_STL@@2HB) alrea= dy defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::in" (?in@ios_base@_STL@@2HB) already defin= ed in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::out" (?out@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::trunc" (?trunc@ios_base@_STL@@2HB) already= defined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::beg" (?beg@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::cur" (?cur@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: st= atic int const _STL::ios_base::end" (?end@ios_base@_STL@@2HB) already def= ined in copyeditiondata.obj >> Creating library ../../../../wntmsci12/lib/ishlxtmsi.lib and objec= t ../../../../wntmsci12/lib/ishlxtmsi.exp >> ../../../../wntmsci12/bin/shlxtmsi.dll : fatal error LNK1169: one or m= ore multiply defined symbols found >> >> >> >>