Error on rebuild in Windows cp: missing destination file operand after
I guys, I've done a successful build on windows just to test... It went fine (after a hard fight ;-)) Now I've changed some things on the autogen (for instance change languages from en-US pt to just en-US) and re-run it and also changed the product name on *instsetoo_native/util/openoffice.lst* and now everytime it gets to the tail_buil if fails doing the extensions in the OXT... it fails in every extension with this: [ build OXT ] report-builder S=C:/libre362 O=$S/solver/wntmsci12.pro W=$S/workdir/wntmsci12.pro mkdir -p $W/Extension/report-builder/root/META-INF $W/Extension/report-builder/root/registration cp -f $W/Extension/report-builder/description.xml $W/Extension/report-builder/root/description.xml cp -f $S/reportbuilder/util/manifest.xml $W/Extension/report-builder/root/META-INF/manifest.xml cp -f $O/bin/osl/license.txt $W/Extension/report-builder/root/registration cp $W/Extension/report-builder/root cd $W/Extension/report-builder/root zip -rX --filesync $W/Extension/report-builder.oxt META-INF THIRDPARTYREADMELICENSE.html commons-logging-1.1.1.jar components.rdb description-en-US.txt description.xml flow-engine-0.9.4.jar flute-1.1.6.jar images/extension_32.png libbase-1.1.6.jar libfonts-1.1.6.jar libformula-1.1.7.jar liblayout-0.2.10.jar libloader-1.1.6.jar librepository-1.1.6.jar libserializer-1.1.6.jar libxml-1.1.7.jar readme_en-US.html readme_en-US.txt registration registry/data/org/openoffice/Office/Accelerators.xcu registry/data/org/openoffice/Office/DataAccess.xcu registry/data/org/openoffice/Office/Embedding.xcu registry/data/org/openoffice/Office/ExtendedColorScheme.xcu registry/data/org/openoffice/Office/Paths.xcu registry/data/org/openoffice/Office/ReportDesign.xcu registry/data/org/openoffice/Office/UI/Controller.xcu registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu registry/data/org/openoffice/Office/UI/ReportCommands.xcu registry/data/org/openoffice/Setup.xcu registry/data/org/openoffice/TypeDetection/Filter.xcu registry/data/org/openoffice/TypeDetection/Types.xcu registry/schema/org/openoffice/Office/ReportDesign.xcs registry/schema/org/openoffice/Office/UI/DbReportWindowState.xcs registry/schema/org/openoffice/Office/UI/ReportCommands.xcs reportbuilderwizard.jar sac.jar sun-report-builder.jar template/en-US/wizard/report/default.otr cp: missing destination file operand after `C:/libre362/workdir/ wntmsci12.pro/Extension/report-builder/root' Try `cp --help' for more information. make[2]: *** [C:/libre362/workdir/wntmsci12.pro/Extension/report-builder.oxt] Error 1 make[2]: Leaving directory `/cygdrive/c/libre362/tail_build' Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand Can someone help me finding what's worng.. is there some environment variable that went missing? Where dows this cp command line commes from so that I can try to see what should be there (I didn't found it)? Thanks a lot -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
On 2012-10-16 10:32, Flavio Moringa wrote: I guys, I've done a successful build on windows just to test... It went fine (after a hard fight ;-)) Now I've changed some things on the autogen (for instance change languages from en-US pt to just en-US) and re-run it and also changed the product name on /instsetoo_native/util/openoffice.lst/ and now everytime it gets to the tail_buil if fails doing the extensions in the OXT... it fails in every extension with this: You might have to do a 'make clean' after doing autogen changes. The build dependencies are not perfect and sometimes they mess up. Can someone help me finding what's worng.. is there some environment variable that went missing? Where dows this cp command line commes from so that I can try to see what should be there (I didn't found it)? cp is part of the cygwin environment. It's normally a built-in i.e. part of the bash program. Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Hi, On Tue, Oct 16, 2012 at 09:32:20AM +0100, Flavio Moringa wrote: I guys, I've done a successful build on windows just to test... It went fine (after a hard fight ;-)) Now I've changed some things on the autogen (for instance change languages from en-US pt to just en-US) and re-run it and also changed the product name on *instsetoo_native/util/openoffice.lst* and now everytime it gets to the tail_buil if fails doing the extensions in the OXT... it fails in every extension with this: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand Can someone help me finding what's worng.. is there some environment variable that went missing? Where dows this cp command line commes from so that I can try to see what should be there (I didn't found it)? It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... D. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
I David... so if I remove the --with-lang=en-US from my autogen and rerun it, it might work... hummm I'm going to try that... Will tell if it works... Thanks a lot... Your's trully -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa 2012/10/16 David Tardon dtar...@redhat.com Hi, On Tue, Oct 16, 2012 at 09:32:20AM +0100, Flavio Moringa wrote: I guys, I've done a successful build on windows just to test... It went fine (after a hard fight ;-)) Now I've changed some things on the autogen (for instance change languages from en-US pt to just en-US) and re-run it and also changed the product name on *instsetoo_native/util/openoffice.lst* and now everytime it gets to the tail_buil if fails doing the extensions in the OXT... it fails in every extension with this: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand Can someone help me finding what's worng.. is there some environment variable that went missing? Where dows this cp command line commes from so that I can try to see what should be there (I didn't found it)? It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... D. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Hi, Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? Ciao David ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.mk. I understand that the other David is doing that. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Well, the main contact with developers should be the mailling list: libreoffice@lists.freedesktop.org 2012/10/16 Stephan Bergmann sberg...@redhat.com On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/**root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.**mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.**mk. I understand that the other David is doing that. Stephan __**_ LibreOffice mailing list LibreOffice@lists.freedesktop.**org LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/**mailman/listinfo/libreofficehttp://lists.freedesktop.org/mailman/listinfo/libreoffice -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Sorry.. wrong thread 2012/10/16 Flavio Moringa flavio.mori...@caixamagica.pt Well, the main contact with developers should be the mailling list: libreoffice@lists.freedesktop.org 2012/10/16 Stephan Bergmann sberg...@redhat.com On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/**root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.** mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.**mk. I understand that the other David is doing that. Stephan __**_ LibreOffice mailing list LibreOffice@lists.freedesktop.**org LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/**mailman/listinfo/libreofficehttp://lists.freedesktop.org/mailman/listinfo/libreoffice -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
On 10/16/2012 11:59 AM, David Tardon wrote: On Tue, Oct 16, 2012 at 11:38:28AM +0200, Stephan Bergmann wrote: On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.mk. I understand that the other David is doing that. Maybe not the easiest, but the most correct :-) Oh, I had assumed that diff --git a/solenv/gbuild/ExtensionTarget.mk b/solenv/gbuild/ExtensionTarget.mk index 91f1be3..eb45785 100644 --- a/solenv/gbuild/ExtensionTarget.mk +++ b/solenv/gbuild/ExtensionTarget.mk @@ -112,7 +112,7 @@ $(call gb_ExtensionTarget_get_target,%) : \ $(call gb_ExtensionTarget__subst_platform,$(call gb_ExtensionTarget_get_workdir,$*)/description.xml,$(call gb_ExtensionTar $(call gb_ExtensionTarget__subst_platform,$(LOCATION)/manifest.xml,$(call gb_ExtensionTarget_get_rootdir,$*)/META-INF/mani $(if $(LICENSE),cp -f $(LICENSE) $(call gb_ExtensionTarget_get_rootdir,$*)/registration ) \ - $(if $(and $(gb_WITH_LANG),$(DESCRIPTION)),cp $(foreach lang,$(gb_ExtensionTarget_TRANS_LANGS),$(call gb_ExtensionTarget_g + $(if $(and $(gb_ExtensionTarget_TRANS_LANGS),$(DESCRIPTION)),cp $(foreach lang,$(gb_ExtensionTarget_TRANS_LANGS),$(call gb cd $(call gb_ExtensionTarget_get_rootdir,$*) \ $(gb_ExtensionTarget_ZIPCOMMAND) -rX --filesync \ $(call gb_ExtensionTarget_get_target,$*) \ would be all that's needed? But I'm likely missing something. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Hi, Quoting David Tardon dtar...@redhat.com: Hi, On Tue, Oct 16, 2012 at 11:38:28AM +0200, Stephan Bergmann wrote: On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.mk. I understand that the other David is doing that. Maybe not the easiest, but the most correct :-) ;-) ah, well, if we are talking about the correct way ... then we shouldn't play these games with such a construct MODULE_FOO_LANGS := en-US $(filter-out en-US,$(gb_WITH_LANG)) any more but introduce a new variable gb_WITH_LANG_OR_DEFAULT and use it in all places instead. I mentioned it already in comment in readlicense_oo module during gbuildification ... but didn't do it myself ;-) http://cgit.freedesktop.org/libreoffice/core/tree/readlicense_oo/CustomTarget_readme.mk#n15 Regards David ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Hi, On Tue, Oct 16, 2012 at 12:35:06PM +0200, Stephan Bergmann wrote: On 10/16/2012 11:59 AM, David Tardon wrote: On Tue, Oct 16, 2012 at 11:38:28AM +0200, Stephan Bergmann wrote: On 10/16/2012 11:14 AM, d.ostrov...@idaia.de wrote: Quoting David Tardon dtar...@redhat.com: Basically it seems that in the command: cp $W/Extension/report-builder/root it's missing the first operand It is a use case that nobody has ever tried before, because en-US is the default language. The line comes from solenv/gbuild/ExtensionTarget.mk and the missing argument(s) is a list of files based on $(gb_WITH_LANG), but _without_ en-US. Since $(gb_WITH_LANG) contains _nothing but_ en-US in your case, there are no files to copy... the easiest way to sort this out would be to add a check in configure.in for that: if --with-lang=en-US then fail or unset WITH_LANG, right? No, the easiest thing should be to fix solenv/gbuild/ExtensionTarget.mk. I understand that the other David is doing that. Maybe not the easiest, but the most correct :-) Oh, I had assumed that diff --git a/solenv/gbuild/ExtensionTarget.mk b/solenv/gbuild/ExtensionTarget.mk index 91f1be3..eb45785 100644 --- a/solenv/gbuild/ExtensionTarget.mk +++ b/solenv/gbuild/ExtensionTarget.mk @@ -112,7 +112,7 @@ $(call gb_ExtensionTarget_get_target,%) : \ $(call gb_ExtensionTarget__subst_platform,$(call gb_ExtensionTarget_get_workdir,$*)/description.xml,$(call gb_ExtensionTar $(call gb_ExtensionTarget__subst_platform,$(LOCATION)/manifest.xml,$(call gb_ExtensionTarget_get_rootdir,$*)/META-INF/mani $(if $(LICENSE),cp -f $(LICENSE) $(call gb_ExtensionTarget_get_rootdir,$*)/registration ) \ - $(if $(and $(gb_WITH_LANG),$(DESCRIPTION)),cp $(foreach lang,$(gb_ExtensionTarget_TRANS_LANGS),$(call gb_ExtensionTarget_g + $(if $(and $(gb_ExtensionTarget_TRANS_LANGS),$(DESCRIPTION)),cp $(foreach lang,$(gb_ExtensionTarget_TRANS_LANGS),$(call gb cd $(call gb_ExtensionTarget_get_rootdir,$*) \ $(gb_ExtensionTarget_ZIPCOMMAND) -rX --filesync \ $(call gb_ExtensionTarget_get_target,$*) \ would be all that's needed? But I'm likely missing something. Yes, that is all what is needed for this particular problem. I just assumed that there might be further problems :-) And I was right, because we handle such situation differently in different places. gbuild classes generally expect that WITH_LANG is empty in en-US-only build and add deps on localize.sdf's if it is not. But translations are not built if WITH_LANG=en-US, so the build fails anyway. So there are two possibilities: 1. let --with-lang=en-US behave in the same way as if --with-lang was not used at all 2. let it behave as if any other single language was used--build translations, even if they are not needed, etc. I could probably invent arguments for both ways, if I cared enough. Because I do not, I am going to push option 1 (i.e., unset WITH_LANG, as David suggested). If anyone disagrees, feel free to revert and change configure.in and translations/Module_translations.mk the other way. D. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
On 10/16/2012 01:16 PM, David Tardon wrote: Yes, that is all what is needed for this particular problem. I just assumed that there might be further problems :-) And I was right, because we handle such situation differently in different places. gbuild classes generally expect that WITH_LANG is empty in en-US-only build and add deps on localize.sdf's if it is not. But translations are not built if WITH_LANG=en-US, so the build fails anyway. So there are two possibilities: 1. let --with-lang=en-US behave in the same way as if --with-lang was not used at all 2. let it behave as if any other single language was used--build translations, even if they are not needed, etc. I could probably invent arguments for both ways, if I cared enough. Because I do not, I am going to push option 1 (i.e., unset WITH_LANG, as David suggested). If anyone disagrees, feel free to revert and change configure.in and translations/Module_translations.mk the other way. Ah, yes, I missed the bigger picture. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error on rebuild in Windows cp: missing destination file operand after
Option 1 seems fine I understand that my problem was a stupid one... but it happened nevertheless because I had already did a autogen with en-US pt and now I only needed en-US so I just removed the pt... didn't even remember of removing the full option... If it get's fixed all the better so that stupid options like mine are taken care of :-) Cheers -- *Flávio Moringa* Project Leader Caixa Mágica Software Energia Open Source Rua Soeiro Pereira Gomes, Lote 1 - 4.º B, Edifício Espanha, 1600-196 Lisboa - Portugal Tel.: +351 217 921 260 Fax: +351 217 921 261 http://www.caixamagica.pt https://twitter.com/flaviomoringa https://www.facebook.com/flaviomoringahttps://www.facebook.com/flavio.moringa http://pt.linkedin.com/in/flaviomoringa http://people.caixamagica.pt/flaviomoringa 2012/10/16 Stephan Bergmann sberg...@redhat.com On 10/16/2012 01:16 PM, David Tardon wrote: Yes, that is all what is needed for this particular problem. I just assumed that there might be further problems :-) And I was right, because we handle such situation differently in different places. gbuild classes generally expect that WITH_LANG is empty in en-US-only build and add deps on localize.sdf's if it is not. But translations are not built if WITH_LANG=en-US, so the build fails anyway. So there are two possibilities: 1. let --with-lang=en-US behave in the same way as if --with-lang was not used at all 2. let it behave as if any other single language was used--build translations, even if they are not needed, etc. I could probably invent arguments for both ways, if I cared enough. Because I do not, I am going to push option 1 (i.e., unset WITH_LANG, as David suggested). If anyone disagrees, feel free to revert and change configure.in and translations/Module_**translations.mk the other way. Ah, yes, I missed the bigger picture. Stephan __**_ LibreOffice mailing list LibreOffice@lists.freedesktop.**org LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/**mailman/listinfo/libreofficehttp://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice