LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2018, 02:33 PM   #1
sebastian29
LQ Newbie
 
Registered: Mar 2008
Location: Munich
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
libinput compilation error on Gentoo


Hi Folks,

I got a problem on my wife's laptop IBM T61 running Gentoo for years.

Code:
T61 /home/sebastian # uname -a
Linux T61 4.9.16-gentoo #12 SMP Wed Jan 31 22:19:37 -00 2018 x86_64 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux
Libinput doesn't compile:

Code:
Installing /var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7-build/libinput.1 to /var/tmp/portage/dev-libs/libinput-1.10.7/image//usr/share/man/man1
Running custom install script '/bin/sh /var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7/src/libinput-restore-selinux-context.sh /usr/lib64 /var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7-build/libinput.so.10.13.0'
Restoring SELinux context on /var/tmp/portage/dev-libs/libinput-1.10.7/image//usr/lib64/libinput.so.10.13.0
No such file or directory
FAILED: meson-install 
/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal install /var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7-build/meson-private/install.dat
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/libinput-1.10.7::gentoo failed (install phase):
 *   ninja -v -j2 -l0 -C /var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7-build install failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_install
 *   environment, line 2006:  Called meson_src_install
 *   environment, line 1138:  Called eninja '-C' '/var/tmp/portage/dev-libs/libinput-1.10.7/work/libinput-1.10.7-build' 'install'
 *   environment, line  706:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
emerge info:
Code:
T61 /home/sebastian # emerge --info '=dev-libs/libinput-1.10.7::gentoo'
Portage 2.3.38 (python 3.5.5-final-0, default/linux/amd64/17.0, gcc-5.4.0, glibc-2.25-r11, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     3971304 total,    134792 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 31 May 2018 18:00:01 +0000
Head commit of repository gentoo: fbadf5fc3cdc26df32995e2e1cad1ed47f40efad
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cli crypt cxx dbus dri ffmpeg fortran gdbm iconv ipv6 jpeg mmx modules mp3 multilib ncurses nls nptl openmp pam pcre readline seccomp sse sse2 ssl tcpd udev unicode xattr zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Do you have any ideas how can it be fixed?

Regards,
Sebastian
 
Old 06-01-2018, 10:50 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I don't use gentoo, but it looks like a problem with the custom install script listed in line 2.
 
Old 06-02-2018, 09:41 AM   #3
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
There is a gentoo subsection where it belongs to.


--

Fix your march settings to something sane like march native. (which is recommnded for a while by now)

--

Quote:
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.2"
Shows you did not understood what * means
* means everything. I do not want to be bothered by those licenses.

Quote:
ASUS-G75VW /home/roman # grep ACCEPT_LICENSE /etc/portage/make.conf
ACCEPT_LICENSE="*"
--

use gcc-config to set gcc to 6

than
emerge --prune gcc
emerge -e --keep-going --deep -N system (repeat until system is sane)

--

than try again.

--

than build a new kernel

--

fix your system set first => sys-apps/openrc: 0.32.1::gentoo (thats very old, i assume around 3-6 months?)

3 weeks or longer without updates on gentoo needs a different strategy. i did that for a while with 3 notebooks.

Last edited by _roman_; 06-02-2018 at 09:50 AM.
 
Old 06-02-2018, 02:48 PM   #4
sebastian29
LQ Newbie
 
Registered: Mar 2008
Location: Munich
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks guys,

it was really the custom script which AwesomeMachine mentioned.
it helped to reinstall "restorecond". After that it is compiling already next packages.

Thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libinput can't compile on Crux 3.3. Error on linking libinput.so.10.13.0. mariojuniorjp Linux - Software 1 03-31-2018 06:43 AM
Kernel compilation question from a Gentoo newbie. bezeek Linux - Kernel 7 07-26-2007 12:02 AM
Gentoo compilation error:-) rakris Linux - Newbie 9 04-08-2007 10:42 PM
Distro like Gentoo but without the compilation time? josephfley Linux - Distributions 13 04-15-2006 12:47 PM
gentoo compilation time andrewlkho Linux - Distributions 3 07-04-2003 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration