freetype: freetype-patch: depends on host-automake
PATCH 1/1 freetype: freetype-patch: depends on host-automake
The "make freetype-patch" fails because does not found autogen.sh, because autogen.sh available only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.
This also fix the support to top-level parallel make.
--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)
package/freetype/freetype.mk +3 -0
@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE $(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automake
Signature · 1 line
1.9.1
PATCH 1/1 freetype: freetype-patch: depends on host-automake
Hi Fabio, all,
Quoted 16 lines · Fabio Porcedda
The "make freetype-patch" fails because does not found
autogen.sh, becauseautogen.shavailable only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.This also fix the support to top-level parallel make.
Signed-off-by Fabio Porcedda <[email protected]>--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)package/freetype/freetype.mk +0
-0
package/freetype/freetype.mk HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE · line 88
Quoted 6 lines
package/freetype/freetype.mk +3
-0@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE $(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automake
It's an unusual way of doing this!
How about moving the *FREETYPE_RUN_AUTOGEN hook in *FREETYPE_PRE_CONFIGURE_HOOKS?
Regards
Signature · 1 line
Samuel
PATCH 1/1 freetype: freetype-patch: depends on host-automake
Quoted 21 lines · Samuel Martin
Hi Fabio, all,
Quoted 17 lines · Fabio Porcedda
The "make freetype-patch" fails because does not found
autogen.sh, becauseautogen.shavailable only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.This also fix the support to top-level parallel make.
Signed-off-by Fabio Porcedda <[email protected]>--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)package/freetype/freetype.mk +0
-0@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
Quoted 9 lines
package/freetype/freetype.mk HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE · line 88
Quoted 5 lines
package/freetype/freetype.mk +3
-0$(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automakeIt's an unusual way of doing this!
How about moving the*FREETYPE_RUN_AUTOGENhook in*FREETYPE_PRE_CONFIGURE_HOOKS?
Unfortunately that's alone does not work because LIBTOOL_PATCH_HOOK it's going to fail, the only solution i've found is to move LIBTOOL_PATCH_HOOK to PRE_CONFIGURE too, but i'm not sure is it fine to do that, what do you think about that?
patch:
package/freetype/freetype.mk +2 -3
@@ -25,8 +25,8 @@ HOST_FREETYPE_CONF_OPT = --without-zlib --without-bzip2 --without-png define FREETYPE_RUN_AUTOGEN cd $(@D) && PATH=$(BR_PATH) ./autogen.sh endef -FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN -HOST_FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN +FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN +HOST_FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool
package/pkg-autotools.mk +1 -1
@@ -193,7 +193,7 @@ endef # default values are not evaluated yet, so don't rely on this defaulting to YES ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK endif #
Regards
Signature · 1 line
Fabio Porcedda
PATCH 1/1 freetype: freetype-patch: depends on host-automake
Quoted 59 lines · Fabio Porcedda
Quoted 21 lines · Samuel Martin
Hi Fabio, all,
Quoted 17 lines · Fabio Porcedda
The "make freetype-patch" fails because does not found
autogen.sh, becauseautogen.shavailable only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.This also fix the support to top-level parallel make.
Signed-off-by Fabio Porcedda <[email protected]>--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)package/freetype/freetype.mk +0
-0@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDEQuoted 9 lines
package/freetype/freetype.mk HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE · line 88
Quoted 5 lines
package/freetype/freetype.mk +3
-0$(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automakeIt's an unusual way of doing this!
How about moving the*FREETYPE_RUN_AUTOGENhook in*FREETYPE_PRE_CONFIGURE_HOOKS?Unfortunately that's alone does not work because
LIBTOOL_PATCH_HOOKit's going to fail, the only solution i've found is to moveLIBTOOL_PATCH_HOOKtoPRE_CONFIGUREtoo, but i'm not sure is it fine to do that, what do you think about that?patch:
package/freetype/freetype.mk +2
-3@@ -25,8 +25,8 @@ HOST_FREETYPE_CONF_OPT = --without-zlib --without-bzip2 --without-png define FREETYPE_RUN_AUTOGEN cd $(@D) && PATH=$(BR_PATH) ./autogen.sh endef -FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN -HOST_FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN +FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN +HOST_FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtoolpackage/pkg-autotools.mk +0
-0
package/pkg-autotools.mk endef · line 199
Quoted 8 lines
package/pkg-autotools.mk +1
-1@@ -193,7 +193,7 @@ endef # default values are not evaluated yet, so don't rely on this defaulting to YES ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK endif #
I've tried to build a allyespackageconfig with the above patch but it fails:
Quoted 1 line
Quoted 1 line
Quoted 1 line
php-gnupg 1.3.3 Patching libtool
Applying buildroot-libtool-v1.5.patch using patch:
patching file ltmain.sh
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file ltmain.sh.rej Patch failed! Please fix buildroot-libtool-v1.5.patch!
make: *** [/home/fabiopo/buildroot/output/build/php-gnupg-1.3.3/.stamp_configured] Error 1
Regards
Signature · 1 line
Fabio Porcedda
PATCH 1/1 freetype: freetype-patch: depends on host-automake
Quoted 74 lines · Fabio Porcedda
Quoted 59 lines · Fabio Porcedda
Quoted 21 lines · Samuel Martin
Hi Fabio, all,
Quoted 17 lines · Fabio Porcedda
The "make freetype-patch" fails because does not found
autogen.sh, becauseautogen.shavailable only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.This also fix the support to top-level parallel make.
Signed-off-by Fabio Porcedda <[email protected]>--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)package/freetype/freetype.mk +0
-0@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDEQuoted 9 lines
package/freetype/freetype.mk HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE · line 88
Quoted 5 lines
package/freetype/freetype.mk +3
-0$(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automakeIt's an unusual way of doing this!
How about moving the*FREETYPE_RUN_AUTOGENhook in*FREETYPE_PRE_CONFIGURE_HOOKS?Unfortunately that's alone does not work because
LIBTOOL_PATCH_HOOKit's going to fail, the only solution i've found is to moveLIBTOOL_PATCH_HOOKtoPRE_CONFIGUREtoo, but i'm not sure is it fine to do that, what do you think about that?patch:
package/freetype/freetype.mk +2
-3@@ -25,8 +25,8 @@ HOST_FREETYPE_CONF_OPT = --without-zlib --without-bzip2 --without-png define FREETYPE_RUN_AUTOGEN cd $(@D) && PATH=$(BR_PATH) ./autogen.sh endef -FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN -HOST_FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN +FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN +HOST_FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtoolpackage/pkg-autotools.mk +0
-0package/pkg-autotools.mk endef · line 199
Quoted 8 lines
package/pkg-autotools.mk +1
-1@@ -193,7 +193,7 @@ endef # default values are not evaluated yet, so don't rely on this defaulting to YES ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK endif #I've tried to build a allyespackageconfig with the above patch but it fails:
Quoted 1 line
Quoted 1 line
Quoted 1 line
php-gnupg 1.3.3 Patching libtool
Quoted 7 lines
Applying buildroot-libtool-v1.5.patch using patch:
patching fileltmain.sh
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file ltmain.sh.rej Patch failed! Please fix buildroot-libtool-v1.5.patch!
make: *** [/home/fabiopo/buildroot/output/build/php-gnupg-1.3.3/.stamp_configured] Error 1
I've sent an updated patch:
http://patchwork.ozlabs.org/patch/345730/
Regards
Signature · 1 line
Fabio Porcedda
PATCH 1/1 freetype: freetype-patch: depends on host-automake
Quoted 83 lines · Fabio Porcedda
Quoted 74 lines · Fabio Porcedda
Quoted 59 lines · Fabio Porcedda
Quoted 21 lines · Samuel Martin
Hi Fabio, all,
Quoted 17 lines · Fabio Porcedda
The "make freetype-patch" fails because does not found
autogen.sh, becauseautogen.shavailable only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch too.This also fix the support to top-level parallel make.
Signed-off-by Fabio Porcedda <[email protected]>--- package/freetype/freetype.mk | 3 +++ 1 file changed, 3 insertions(+)package/freetype/freetype.mk +0
-0@@ -83,3 +83,6 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDEQuoted 9 lines
package/freetype/freetype.mk HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE · line 88
Quoted 5 lines
package/freetype/freetype.mk +3
-0$(eval $(autotools-package)) $(eval $(host-autotools-package)) + +# freetype-patch uses autogen.sh so add it as a prerequisite +$(FREETYPE_TARGET_PATCH): host-automakeIt's an unusual way of doing this!
How about moving the*FREETYPE_RUN_AUTOGENhook in*FREETYPE_PRE_CONFIGURE_HOOKS?Unfortunately that's alone does not work because
LIBTOOL_PATCH_HOOKit's going to fail, the only solution i've found is to moveLIBTOOL_PATCH_HOOKtoPRE_CONFIGUREtoo, but i'm not sure is it fine to do that, what do you think about that?patch:
package/freetype/freetype.mk +2
-3@@ -25,8 +25,8 @@ HOST_FREETYPE_CONF_OPT = --without-zlib --without-bzip2 --without-png define FREETYPE_RUN_AUTOGEN cd $(@D) && PATH=$(BR_PATH) ./autogen.sh endef -FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN -HOST_FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN +FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN +HOST_FREETYPE_PRE_CONFIGURE_HOOKS += FREETYPE_RUN_AUTOGEN FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtoolpackage/pkg-autotools.mk +0
-0package/pkg-autotools.mk endef · line 199
Quoted 8 lines
package/pkg-autotools.mk +1
-1@@ -193,7 +193,7 @@ endef # default values are not evaluated yet, so don't rely on this defaulting to YES ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK endif #I've tried to build a allyespackageconfig with the above patch but it fails:
Quoted 1 line
Quoted 1 line
Quoted 1 line
php-gnupg 1.3.3 Patching libtool
Quoted 7 lines
Applying buildroot-libtool-v1.5.patch using patch:
patching fileltmain.sh
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file ltmain.sh.rej Patch failed! Please fix buildroot-libtool-v1.5.patch!
make: *** [/home/fabiopo/buildroot/output/build/php-gnupg-1.3.3/.stamp_configured] Error 1
Quoted 3 lines
I've sent an updated patch:
Well.. i've replayed to the wrong mail, so forget the previous mail, this is the latest revision of the patch.
Regards
Signature · 1 line
Fabio Porcedda