Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557968 - x11-base/xorg-server-1.16.4 fails to compile with sys-libs/musl. fatal error: termio.h: No such file or directory
Summary: x11-base/xorg-server-1.16.4 fails to compile with sys-libs/musl. fatal error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-16 22:14 UTC by Connor Reeser
Modified: 2017-01-29 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Portion of "#emerge xorg-server" and output of "# emerge --info" (xorg-server termio.txt,106.00 KB, text/plain)
2015-08-16 22:14 UTC, Connor Reeser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Connor Reeser 2015-08-16 22:14:05 UTC
Created attachment 409206 [details]
Portion of "#emerge xorg-server" and output of "# emerge --info"

"termio.h" is a deprecated header and should point to "termios.h"
Making a symlink from  /usr/include/termio.h  to  /usr/include/termios.h  resolves the issue

Line 65 in attachment:    /var/tmp/portage/x11-base/xorg-server-1.16.4/work/xorg-server-1.16.4/hw/xfree86/os-support/xf86_OSlib.h:182:20: fatal error: termio.h: No such file or directory
Comment 1 Felix Janda 2015-08-17 07:46:15 UTC
Since you are using a musl profile, please use the musl overlay. See https://wiki.gentoo.org/wiki/Project:Hardened_musl

It has a patch for the very problem you are experiencing:

https://cgit.gentoo.org/proj/musl.git/tree/x11-base/xorg-server/files/xorg-server-1.14.3-musl.patch

I've sent the patch upstream, but should probably resend it:

http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/44851
Comment 2 Matt Turner gentoo-dev 2017-01-29 18:47:17 UTC
Fixed in xserver-1.18 by upstream commit e8e3368298c98a1292bb1c727e2f3d56539e2eac.