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

workaround for headers mismatch in linux-libc-dev #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tdaitx
Copy link
Contributor

@tdaitx tdaitx commented Sep 2, 2016

Warning: since the error so far does not seem to be repsnapper's fault, fell free to ignore this pull request.

The headers in linux-libc-dev are different in powerpc/ppc64el compared to other archs, they seems to be missing include clauses to the headers under the asm-generic/ directory.

This patch works around that by explicitly including both headers under asm-generic.

Please note that the include of arm/termbits.h had to be removed because it causes yet another conflict, this time due to the redefinition of types termios and ktermios, which also only affects powerpc/ppc64el.

There is a bug open against Ubuntu's linux-libc-dev about the mismatching headers. Should it be fixed this workaround can be safely ignored.

There are both Debian and Ubuntu bugs open for this workaround.

The headers in linux-libc-dev are different in powerpc/ppc64el compared
to other archs, they seems to be missing include clauses to the
header under the asm-generic/ directory.
This patch works around that by explicitly including both headers under
asm-generic.
Note that the include of arm/termbits.h had to be removed because it
causes yet another conflict, this time due to the redefinition of types
termios and ktermios, which also only affects powepc/ppc64el.
@hurzl
Copy link
Collaborator

hurzl commented Sep 2, 2016

Wait a while for linux fixes?

@tdaitx
Copy link
Contributor Author

tdaitx commented Sep 2, 2016

Wait a while for linux fixes?
Yes, I reported the problem on linux-libc-dev yesterday, so it is best to wait for them to review it.

This kind of problem, as it stands right now, is ok fixed on the Debian/Ubuntu package only in case the linux-libc-dev fix doesn't come out soon, but I believe it is good to let you folks know in case someone comes asking about it (and it also helps when folks google for it I guess). =)

I will update this when there is a response on the linux-libc-dev bug.

Thanks!

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