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

libgenders/Makefile.am: Fix parallel build issue #69

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

AdrianBunk
Copy link
Contributor

Two different Makefile rules are running the same bison command in parallel in parallel builds, creating the same files.

https://buildd.debian.org/status/fetch.php?pkg=genders&arch=mips64el&ver=1.27-3-2%2Bb1&stamp=1728948479&raw=0

...
bison -y -d -b genders_query ./genders_query.y
bison -y -d -b genders_query ./genders_query.y
...
genders_query.tab.c: In function 'yydestruct':
genders_query.tab.c:1468:3: error: 'YY_I' undeclared (first use in this function); did you mean 'YY_'?
 1468 |   YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
      |   ^~~~
      |   YY_
...

Make one of the targets just depend on the other one.

@chu11
Copy link
Member

chu11 commented Oct 15, 2024

doh! good catch. thanks.

@chu11 chu11 merged commit c2baaaa into chaos:master Oct 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants