public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Corbin <corbinbird@charter.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?
Date: Thu, 28 Apr 2016 08:33:01 -0500	[thread overview]
Message-ID: <5722110D.8070207@charter.net> (raw)
In-Reply-To: <20160428031648.GA5150@waltdnes.org>



On 04/27/2016 10:16 PM, waltdnes@waltdnes.org wrote:
> On Wed, Apr 27, 2016 at 07:30:12PM -0500, Corbin wrote
>>
>>
>>
>> Your Welcome.
>>
>> Link for "evdev" : https://en.wikipedia.org/wiki/Evdev
>>
>> The default kernel config has "evdev" built into the kernel.
>>
>> On my desktop, Nvidia drivers do look for and use "evdev" without
>> Wayland support in Xorg. ( XFCE )
>>
>> This might be pedantic ...
>> ... add "sse sse2 sse3 ssse3 mmx acpi -mmxext" to your USE flags in
>> "make.conf" ( if not already present. ) Some packages look for those
>> flags in strange ways.
>>
>> Using a one-problem-at-a-time approach ...
>>
>> < Proposed Test / Xorg Fix >
>> ... adding "libinput" to the USE flags in your "make.conf".
>> ... setting INPUT_DEVICES="evdev" in "make.conf".
>>
>> Desktops that should work with "libinput/evdev" ONLY are QT4, QT5, XFCE.
>> XFCE provides its own keyboard library and config applets/plugins. Don't
>> know about QT4 / QT5.
>>
>> If you have not already done this ... might want to set
>> VIDEO_CARDS="fbdev vesa" or just "fbdev" to save compile time.
>>
>> This is getting very interesting.
>> Please let us know how this works out :)
>
>    It's not the cpu flags.  I have an identical glibc-based VM where the
> drivers build just fine.  Also, this is a code problem... both with and
> without "evdev"...
>
>> libtool: compile:  i686-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
>> -I/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src
>> -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
>> -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith
>> -Wmissing-declarations -Wformat=2 -Wstrict-prototypes
>> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast
>> -Wold-style-definition -Wdeclaration-after-statement -Wunused
>> -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
>> -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull
>> -Werror=init-self -Werror=main -Werror=missing-braces
>> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
>> -Werror=array-bounds -Werror=write-strings -Werror=address
>> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
>> -fno-strict-aliasing -O2 -march=native -mfpmath=sse -fomit-frame-pointer
>> -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -c
>> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/at_scancode.c
>> -fPIC -DPIC -o .libs/at_scancode.o
>> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:
>> In function 'OpenKeyboard':
>> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
>> error: implicit declaration of function 'getpgid'
>> [-Werror=implicit-function-declaration]
>>          rc = tcsetpgrp(pInfo->fd, getpgid(0));
>>          ^
>> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
>> warning: nested extern declaration of 'getpgid' [-Wnested-externs]
>

Did some searching on "getpgid" ... looks to be related to GNU glibc.
> https://www.gnu.org/software/libc/manual/html_node/Process-Group-Functions.html

> error: implicit declaration of function 'getpgid'
Maybe they used an implicit glibc getpgid call instead of the specific 
posix_getpgid call? ( guessing )

( Is Xorg dumping POSIX compliance? Or is this a bug? )

Questions ... if you will permit :

Are you saying that in "make.conf" you set INPUT_DEVICES="evdev" and did 
a test compile run?
The emerge you tried ... was it "xorg-base/xorg-x11"?
Or did you try a meta package for a desktop?

If a hard dependency link between Xorg server -> xf86-input-keyboard 
exists, this will never work. I have no idea at this point if this is 
true. What I have been reading suggests that the xf86-input keyboard and 
mouse libs are being phased out.

With that call ?error? ... Xorg may be an impossible goal / waste of 
time on uClibc.

Thank you for sharing this info.




  reply	other threads:[~2016-04-28 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 14:12 [gentoo-user] Anybody got a Gentoo system working under uclibc? waltdnes
2016-04-27 17:25 ` Corbin
2016-04-27 21:31   ` waltdnes
2016-04-28  0:30     ` Corbin
2016-04-28  3:16       ` waltdnes
2016-04-28 13:33         ` Corbin [this message]
2016-04-28 16:14           ` [gentoo-user] " James
2016-04-28 23:07           ` [gentoo-user] " waltdnes
2016-04-29  3:52             ` Corbin
2016-05-01  5:41 ` waltdnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5722110D.8070207@charter.net \
    --to=corbinbird@charter.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox