View Single Post
Old 09-10-2015, 11:56 AM   #75
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Found system had a "printallvariables" target -
Thought "hey, I'll do that and just fix anything wrong on the list".
Yeah, right, the list is 168,000+ lines long.

the death of "plan a".

- - - -

Plan B:
Make zlib build (it has no dependences, calls only the pkg-generic macro (which calls the pkg-inner-generic macro)).
fixing the pkg-generic macro(s) should fix 369 of the packages.

AND THEN
get the things that call the pkg-autotools macro(s) to work (which calls pkg-generic).
that should fix another 1019 of the packages.

and then if lucky, leave the pkg-cmake macro(s) for somebody else.

- - - -

pkg-generic works just as intended with my changes -
it was a problem with the makefile that ships with zlib (now BR patches it).

After lunch - fix or destroy the pkg-autotools macro.

- - - -

Mid-night++
Finally found where/why that autotools+libtool package was choking on my correction of the use of LDFLAGS - - -
Guess what - libtool has the same 'mistake' in it, as does automake-m4 files, and ...

So I found an 'easy' way to 'fix' the problem for packages that die on an "unknown option" failure in their configuration step now.

- - - -

Next (or later) morning -
It is amazing how many different ways people can screw-up an accepted usage.
Even the GNU tools folks screwing up the GNU recommended naming standards.

I think I need to step away from this project for a few days, give the brain a rest.

Last edited by knc1; 09-11-2015 at 10:37 AM.
knc1 is offline   Reply With Quote