host-fakeroot archive not sourced any more?
Hi,
FYI it seems buildroot will not source host-fakeroot archive correctly any more when told to 'make source', with some configurations.
This behavior can be seen for example on recent commit 1ea6d850891bb4d936bcf1bddbf5432b819d5785, with the following commands:
$ rm -fr ..config.tmp .config .config.old output dl/*fakeroot* $ make qemu_arm_vexpress_defconfig $ make source
In this case, fakeroot_1.18.2.orig.tar.bz2 is not fetched.
After bisect, it seems this behavior started with commit 'a248775Makefile: add support for top-level parallel make'.
A quick fix for 1ea6d850891bb4d936bcf1bddbf5432b819d5785 is to revert, in that order:
cf53e15 Makefile: remove BASE_TARGETS variable fbb3b86 Makefile: ensure system is built ... d4c0c64 Makefile: fix target-finalize rule a248775 Makefile: add support for top-level parallel make
...and fakeroot archive is downloaded again.
Best regards,
V.
Quoted 20 lines · Vincent Stehl?
Hi,
FYI it seems buildroot will not source host-fakeroot archive correctly any more when told to 'make source', with some configurations.
This behavior can be seen for example on recent commit
1ea6d850891bb4d936bcf1bddbf5432b819d5785, with the following commands:$ rm -fr ..config.tmp .config .config.old output dl/*fakeroot* $ make qemu_arm_vexpress_defconfig $ make sourceIn this case, fakeroot_1.18.2.orig.tar.bz2 is not fetched.
After bisect, it seems this behavior started with commit 'a248775
Makefile:
add support for top-level parallel make'.A quick fix for
1ea6d850891bb4d936bcf1bddbf5432b819d5785is to revert, in that order:
Quoted 7 lines
cf53e15
Makefile: removeBASE_TARGETSvariable fbb3b86Makefile: ensure system is built ... d4c0c64Makefile: fix target-finalize rule a248775Makefile: add support for top-level parallel make...and fakeroot archive is downloaded again.
Vincent: thanks a lot for the report and the analysis!
Fabio: what is your suggestion here?
Thanks,
Thomas
Quoted 27 lines · Thomas De Schampheleire
Quoted 25 lines · Vincent Stehl?
Hi,
FYI it seems buildroot will not source host-fakeroot archive correctly any more when told to 'make source', with some configurations.
This behavior can be seen for example on recent commit
1ea6d850891bb4d936bcf1bddbf5432b819d5785, with the following commands:$ rm -fr ..config.tmp .config .config.old output dl/*fakeroot* $ make qemu_arm_vexpress_defconfig $ make sourceIn this case, fakeroot_1.18.2.orig.tar.bz2 is not fetched.
After bisect, it seems this behavior started with commit 'a248775
Makefile:
add support for top-level parallel make'.A quick fix for
1ea6d850891bb4d936bcf1bddbf5432b819d5785is to revert, in that order:cf53e15
Makefile: removeBASE_TARGETSvariable fbb3b86Makefile: ensure system is built ... d4c0c64Makefile: fix target-finalize rule a248775Makefile: add support for top-level parallel make
Quoted 6 lines
Quoted 2 lines
...and fakeroot archive is downloaded again.
Vincent: thanks a lot for the report and the analysis!
Fabio: what is your suggestion here?
I will look at it, thanks for reporting it.
Regards
Signature · 1 line
Fabio Porcedda
Quoted 29 lines · Fabio Porcedda
Quoted 27 lines · Thomas De Schampheleire
Quoted 25 lines · Vincent Stehl?
Hi,
FYI it seems buildroot will not source host-fakeroot archive correctly any more when told to 'make source', with some configurations.
This behavior can be seen for example on recent commit
1ea6d850891bb4d936bcf1bddbf5432b819d5785, with the following commands:$ rm -fr ..config.tmp .config .config.old output dl/*fakeroot* $ make qemu_arm_vexpress_defconfig $ make sourceIn this case, fakeroot_1.18.2.orig.tar.bz2 is not fetched.
After bisect, it seems this behavior started with commit 'a248775
Makefile:
add support for top-level parallel make'.A quick fix for
1ea6d850891bb4d936bcf1bddbf5432b819d5785is to revert, in that order:cf53e15
Makefile: removeBASE_TARGETSvariable fbb3b86Makefile: ensure system is built ... d4c0c64Makefile: fix target-finalize rule a248775Makefile: add support for top-level parallel make
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
...and fakeroot archive is downloaded again.
Vincent: thanks a lot for the report and the analysis!
Fabio: what is your suggestion here?
I will look at it, thanks for reporting it.
Can you try this patch?
Makefile +1 -1
@@ -418,7 +418,7 @@ TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS)) # variable for each enabled target. # Notice: this only works for newstyle gentargets/autotargets packages TARGETS_HOST_DEPS = $(sort $(filter host-%,$(foreach dep,\ - $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\ + $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS)
$(TARGETS_ROOTFS))),\
$($(dep)))))
# Host packages can in turn have their own dependencies. Likewise find
# all the package names listed in the HOST_<PKG>_DEPENDENCIES for eachRegards
Signature · 1 line
Fabio Porcedda
Quoted 3 lines · Fabio Porcedda
Makefile +1
-1- $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\ + $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS)$(TARGETS_ROOTFS))),\
Hi Fabio,
Thanks for the patch; I confirm it repairs fakeroot fetching. I'll start to use it instead of the reverts and see how it goes.
Best regards,
V.
Quoted 11 lines · Vincent Stehl?
Quoted 4 lines · Fabio Porcedda
Makefile +1
-1- $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\ + $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS)$(TARGETS_ROOTFS))),\
Hi Fabio,
Thanks for the patch; I confirm it repairs fakeroot fetching. I'll start to use it instead of the reverts and see how it goes.
Great!
Thanks for testing it and sorry for the trouble.
I will send tomorrow the patch to the mailing list, maybe an improved version because i fear that i need to add TARGETS_ROOTFS in more places.
Best regards
Signature · 1 line
Fabio Porcedda
Quoted 11 lines · Fabio Porcedda
Quoted 9 lines · Vincent Stehl?
Quoted 4 lines · Fabio Porcedda
Makefile +1
-1- $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\ + $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS)$(TARGETS_ROOTFS))),\
Hi Fabio,
Quoted 8 lines
Quoted 2 lines
Thanks for the patch; I confirm it repairs fakeroot fetching. I'll start to use it instead of the reverts and see how it goes.
Great!
Thanks for testing it and sorry for the trouble.
I will send tomorrow the patch to the mailing list, maybe an improved version because i fear that i need to addTARGETS_ROOTFSin more places.
Patch sent:
http://patchwork.ozlabs.org/patch/330004/
Regards
Signature · 1 line
Fabio Porcedda