Re: Building failure on Windows 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/08/2021 12:25, Julien Nabet wrote:
[build GAL] backgrounds
warn:vcl:3524:1564:vcl/source/app/svapp.cxx:224: AppFileName should be set to something after SVMain! warn:configmgr:3524:1564:configmgr/source/components.cxx:658: error reading "/user/registrymodifications.xcu" com.sun.star.uno.RuntimeException message: cannot open /user/registrymodifications.xcu: 21 warn:unotools.i18n:3524:1564:unotools/source/i18n/localedatawrapper.cxx:241: getAllCurrencies com.sun.star.uno.RuntimeException warn:fwk.desktop:3524:1564:framework/source/services/desktop.cxx:175: Desktop not terminated before being destructed warn:fwk.desktop:3524:1564:framework/source/services/desktop.cxx:176: Desktop::~Desktop(): Who forgot to dispose this service? warn:svx:3524:1564:svx/source/gengal/gengal.cxx:306: Fatal com.sun.star.uno.RuntimeException warn:unotools.i18n:3524:1564:unotools/source/i18n/localedatawrapper.cxx:241: getAllCurrencies com.sun.star.uno.RuntimeException warn:fwk.desktop:3524:1564:framework/source/services/desktop.cxx:175: Desktop not terminated before being destructed warn:fwk.desktop:3524:1564:framework/source/services/desktop.cxx:176: Desktop::~Desktop(): Who forgot to dispose this service? make[1]: *** [C:/cygwin/home/serva/lode/dev/core/solenv/gbuild/Gallery.mk:56: C:/cygwin/home/serva/lode/dev/core/workdir/Gallery/backgrounds.done] Error 1
make: *** [Makefile:288: build] Error 2

Not sure why that only started to hit you now, but it turns out that such Gallery targets apparently (a) lack dependencies (they e.g. need the UserInstallation bootstrap variable from the bootstrap ini-file in instdir when instantiating the configmgr in the gengal binary at

#0  0x00007fffda998525 in configmgr::Components::Components(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (this=0x7fffdaa4d100 <configmgr::Components::getSingleton(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)::singleton>, context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110) at configmgr/source/components.cxx:462
#1  0x00007fffda994c58 in configmgr::Components::getSingleton(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110) at configmgr/source/components.cxx:201
#2  0x00007fffda9b7cf2 in configmgr::configuration_provider::(anonymous namespace)::Service::createInstanceWithArguments(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (this=0x464ed0, ServiceSpecifier="com.sun.star.configuration.ConfigurationAccess", Arguments=uno::Sequence of length 1 = {...}) at configmgr/source/configurationprovider.cxx:253
#3  0x00007fffda9b88a7 in non-virtual thunk to configmgr::configuration_provider::(anonymous namespace)::Service::createInstanceWithArguments(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) () at configmgr/source/configurationprovider.cxx:331
#4  0x00007fffdaabe9c4 in UniversalContentBroker::getContentProviderData(rtl::OUString const&, rtl::OUString const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> >&) (this=0x33c7c0, rKey1="Local", rKey2="Office", rListToFill=std::__debug::vector of length 0, capacity 0) at ucb/source/core/ucb.cxx:803
#5  0x00007fffdaabb5d1 in UniversalContentBroker::configureUcb() (this=0x33c7c0) at ucb/source/core/ucb.cxx:740
#6  0x00007fffdaabb3fa in UniversalContentBroker::initialize(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (this=0x33c7c0, aArguments=empty uno::Sequence) at ucb/source/core/ucb.cxx:342
#7  0x00007ffff588d719 in cppuhelper::ServiceManager::Data::Implementation::doCreateInstanceWithArguments(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (this=0x3a3cd0, context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110, arguments=empty uno::Sequence) at cppuhelper/source/servicemanager.cxx:729
#8  0x00007ffff588d512 in cppuhelper::ServiceManager::Data::Implementation::createInstanceWithArguments(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, bool, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (this=0x3a3cd0, context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110, singletonRequest=false, arguments=empty uno::Sequence) at cppuhelper/source/servicemanager.cxx:687
#9  0x00007ffff5893835 in cppuhelper::ServiceManager::createInstanceWithArgumentsAndContext(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (this=0x3271d0, ServiceSpecifier="com.sun.star.ucb.UniversalContentBroker", Arguments=empty uno::Sequence, Context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110) at cppuhelper/source/servicemanager.cxx:1015
#10 0x00007ffff58938cf in non-virtual thunk to cppuhelper::ServiceManager::createInstanceWithArgumentsAndContext(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) () at cppuhelper/source/servicemanager.cxx:1016
#11 0x0000000000213cd3 in com::sun::star::ucb::UniversalContentBroker::create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (the_context=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x33f110) at workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/ucb/UniversalContentBroker.hpp:44
#12 0x000000000021157f in (anonymous namespace)::GalApp::Init() (this=0x224cf0 <vclmain::createApplication()::aGalApp>) at svx/source/gengal/gengal.cxx:177
#13 0x00007ffff37c3977 in InitVCL() () at vcl/source/app/svmain.cxx:330
#14 0x00007ffff37c3497 in ImplSVMain() () at vcl/source/app/svmain.cxx:190
#15 0x00007ffff37c5089 in SVMain() () at vcl/source/app/svmain.cxx:231
#16 0x0000000000220d68 in sal_main() () at vcl/source/salmain/salmain.cxx:34
#17 0x0000000000220d37 in main(int, char**) (argc=10, argv=0x7fffffffd3e8) at vcl/source/salmain/salmain.cxx:29

so should depend on Package_instsetoo_native_setup), and (b) erroneously use the user installation specified in the bootstrap ini-file in instdir (see above) instead of setting up a private throwaway user installation somewhere in workdir. I'll take a look at fixing all of that.




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux