Optware / Optware-ng

279 stars 52 forks source link

Circular build reference (gettext => libcroco => glib => gettext) #242

Closed rivy closed 6 years ago

rivy commented 6 years ago

While trying to update lftp, I've encountered a build dependency loop:

"gettext" makes "libcroco-stage" which makes "glib-stage" which makes "gettext-stage" which again makes "libcroco-stage", etc.

I broke it by commenting out the $(MAKE) gettext-stage line in "make/glib.mk":

https://github.com/Optware/Optware-ng/blob/31aea0278827a439dcc16e562a6bf687c42e3509/make/glib.mk#L153-L155

That seems like a hack, and I don't know the extent of the consequences. But, not fully understanding the build process, I'm not sure of a better method. Do you have a better solution?

I'm happy to PR it.

alllexx88 commented 6 years ago

@rivy Thank you for the report! Fixed by using shipped glib and libcroco when building gettext