Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): Ship blank lua_modules install list in source packges #969

Merged
merged 12 commits into from
Jul 23, 2020

Conversation

alerque
Copy link
Member

@alerque alerque commented Jul 20, 2020

Closes #968.

...Is the actual fix for #961.

...Has been underlying various issues we've had for a long time, but was made a lot more obvious by the refactor done in #965 for #964 because the data that needed to be cleared was previously mixed in with another list of files that was otherwise valid.

...Started turning up in more scenarios because of the work in #953 to fix #951. This was the right thing to do, but our previous hackery before was keeping the problem from showing up by (accidentally) make reruns where the second pass was fixing what the first one broke. Cleaning that up just make the underlying problem surface in more places.

@alerque alerque added bug Software bug issue tooling Build tooling, release management, and packaging processes labels Jul 20, 2020
@alerque alerque added this to the v0.10.9 milestone Jul 20, 2020
@alerque alerque marked this pull request as draft July 20, 2020 21:39
@alerque
Copy link
Member Author

alerque commented Jul 20, 2020

Right problem, not quite fixed yet...

@alerque
Copy link
Member Author

alerque commented Jul 21, 2020

So this PR‌ passing tests is a problem. It shows we aren't testing everything we need to be testing. We're building and testing from source, but we're not testing the source package we build for buildability. Automake has make distcheck just for this purpose, but ironically it won't actually catch the problem(s) in recent releases. The issues don't crop op building from the same platform that built the source, they only crop up cross platform. Ugg.

@alerque alerque force-pushed the make-foo branch 3 times, most recently from abf4775 to 6481ed7 Compare July 21, 2020 17:46
@alerque
Copy link
Member Author

alerque commented Jul 21, 2020

Never mind the remote test runs, my local directories are starting to look like this (this is after blowing them away many times):

image

Automake behaves so differently between versions and platforms its making my head spin. I can hack it to work, but playing by its rulebook is a lot harder and I'm not convinced it can even work the way I want it too. Bah.

If for some reason Makefile.in is older than acloacl.a4 and other
automake generated files, it will want to regenerate it ... which
requires automake tools, and specifically wants matching versions.

This simple action (after we're done mucking around with the other
files to remove automake's handling of "core") keeps it from thinking it
needs to rebuild anything.
Usually this is the same as $(docdir), but it does allow it to be
defined separately.
@alerque alerque force-pushed the make-foo branch 6 times, most recently from 77ae9a6 to 1037493 Compare July 23, 2020 17:26
@alerque alerque force-pushed the make-foo branch 2 times, most recently from dfac500 to 481cd50 Compare July 23, 2020 20:28
we have a bug somewhere either in automake itself or in our dependencies
getting from zero to dist. It works on 1.16.2, but in Docker with 1.16.1
it fails. The two options are either to drop the -j arg and run a single
thread or make before make dist. The latter being faster and also more
granular in the output, that's what we're up to.
@alerque alerque marked this pull request as ready for review July 23, 2020 22:29
@alerque alerque merged commit 94fc57f into sile-typesetter:master Jul 23, 2020
@alerque alerque deleted the make-foo branch July 23, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software bug issue tooling Build tooling, release management, and packaging processes
Projects
None yet
1 participant