Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compliing sys-apps/v86d fails all the time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hanssia
n00b
n00b


Joined: 02 May 2017
Posts: 2

PostPosted: Tue May 02, 2017 4:21 pm    Post subject: Compliing sys-apps/v86d fails all the time Reply with quote

Hi Guys,


I've been trying to install v86d for over a dozen times but failed at each time.

I'm using the property Nvidia GPU and it's working fine. I'm trying to install "uvesafb" and enable framebuffer. I followed the instructions in this linkhttps://wiki.gentoo.org/wiki/Uvesafb

Below is the error I got:

Code:

>>> Emerging (1 of 1) sys-apps/v86d-0.1.10::gentoo
 * v86d-0.1.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                  [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.9.16-gentoo/build
 * Found sources for kernel version:
 *     4.9.16-gentoo
>>> Unpacking source...
>>> Unpacking v86d-0.1.10.tar.bz2 to /var/tmp/portage/sys-apps/v86d-0.1.10/work
>>> Source unpacked in /var/tmp/portage/sys-apps/v86d-0.1.10/work
>>> Preparing source in /var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10 ...
config.h successfully created.
You can run `make` now.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10 ...
make -j6 KDIR=/usr/src/linux
make -w -C libs/x86emu
klcc -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_x86emu.o v86_x86emu.c
klcc -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_mem.o v86_mem.c
make[1]: Entering directory '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10/libs/x86emu'
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o decode.o decode.c
klcc -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_common.o v86_common.c
klcc -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -c -o v86.o v86.c
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o fpu.o fpu.c
In file included from v86.h:22:0,
                 from v86_x86emu.c:4:
/usr/src/linux/include/video/uvesafb.h:133:2: error: unknown type name ‘atomic_t’
  atomic_t ref_count;
  ^
make: *** [Makefile:40: v86_x86emu.o] Error 1
make: *** Waiting for unfinished jobs....
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o ops.o ops.c
In file included from v86.h:22:0,
                 from v86_mem.c:6:
/usr/src/linux/include/video/uvesafb.h:133:2: error: unknown type name ‘atomic_t’
  atomic_t ref_count;
  ^
In file included from v86.h:22:0,
                 from v86_common.c:2:
/usr/src/linux/include/video/uvesafb.h:133:2: error: unknown type name ‘atomic_t’
  atomic_t ref_count;
  ^
make: *** [Makefile:40: v86_common.o] Error 1
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o ops2.o ops2.c
make: *** [Makefile:40: v86_mem.o] Error 1
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o prim_ops.o prim_ops.c
klcc -c -O2 -pipe -fno-stack-protector -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o sys.o sys.c
In file included from v86.h:22:0,
                 from v86.c:17:
/usr/src/linux/include/video/uvesafb.h:133:2: error: unknown type name ‘atomic_t’
  atomic_t ref_count;
  ^
make: *** [Makefile:40: v86.o] Error 1
ops2.c: In function ‘x86emuOp2_cpuid’:
ops2.c:393:5: warning: implicit declaration of function ‘cpuid’ [-Wimplicit-function-declaration]
     cpuid();
     ^
ar rv libx86emu.a decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
ar: creating libx86emu.a
a - decode.o
a - fpu.o
a - ops.o
a - ops2.o
a - prim_ops.o
a - sys.o
make[1]: Leaving directory '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10/libs/x86emu'
emake failed
 * ERROR: sys-apps/v86d-0.1.10::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 2924:  Called die
 * The specific snippet of code:
 *       emake KDIR="${KV_DIR}" || die
 *
 * If you need support, post the output of `emerge --info '=sys-apps/v86d-0.1.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/v86d-0.1.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/v86d-0.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/v86d-0.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10'
 * S: '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10'

>>> Failed to emerge sys-apps/v86d-0.1.10, Log file:

>>>  '/var/tmp/portage/sys-apps/v86d-0.1.10/temp/build.log'

 * Messages for package sys-apps/v86d-0.1.10:

 * ERROR: sys-apps/v86d-0.1.10::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 2924:  Called die
 * The specific snippet of code:
 *       emake KDIR="${KV_DIR}" || die
 *
 * If you need support, post the output of `emerge --info '=sys-apps/v86d-0.1.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/v86d-0.1.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/v86d-0.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/v86d-0.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10'
 * S: '/var/tmp/portage/sys-apps/v86d-0.1.10/work/v86d-0.1.10'


Info I got after running emerge --info
Code:

emerge --info '=sys-apps/v86d-0.1.10::gentoo'
Portage 2.3.5 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.3
KiB Mem:    12281328 total,  10687588 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 02 May 2017 12:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::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.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -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/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcondecor firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext sse3" 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="libinput keyboard mouse" 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" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



I even tried to disable and enable "Initial RAM filesystem and RAM disk (initramfs/initrd) support" before emerging v86d, but no luck.

Code:

General setup  --->
    [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
    (/usr/share/v86d/initramfs) Initramfs source file(s)



Really appreciate it if any one can help.

[Moderator edit: repaired broken [url] tag. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30942
Location: here

PostPosted: Tue May 02, 2017 4:29 pm    Post subject: Reply with quote

Try this patch.
Howto apply user patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Thu May 04, 2017 6:32 am    Post subject: Reply with quote

I hit this issue to. People with Nvidia cards are still reliant on V86. Without it, all kinds of side effects happen. Can this be fixed so I don't have to mess with a patch? Very upset someone would claim this V86 is legacy and no one cares.
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Wed Jul 19, 2017 9:04 am    Post subject: Reply with quote

just got a notice after 'emerge --sync_ that v86d was masked and being removed in a month. Not only does nVidia seem to depend on it, but it looks to me like my kernel's initramfs setup also depends on it (as per the uvesafb wiki, v86d installation is still required; is that out of date?).

Is there a viable alternative to v86d?
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 387
Location: Germany

PostPosted: Thu Mar 29, 2018 5:43 pm    Post subject: Reply with quote

ExecutorElassus wrote:
just got a notice after 'emerge --sync_ that v86d was masked and being removed in a month. Not only does nVidia seem to depend on it, but it looks to me like my kernel's initramfs setup also depends on it (as per the uvesafb wiki, v86d installation is still required; is that out of date?).

Is there a viable alternative to v86d?


Im interested in this as well :(
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54281
Location: 56N 3W

PostPosted: Thu Mar 29, 2018 6:22 pm    Post subject: Reply with quote

MaDDeePee,

uvesa is deprecated too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 387
Location: Germany

PostPosted: Fri Mar 30, 2018 6:05 am    Post subject: Reply with quote

NeddySeagoon wrote:
MaDDeePee,

uvesa is deprecated too.


i know :(

i am used to have a high resolution console with initramfs and uvesa.
now i got a broken system either without console or with a 640x480 console on a 4k screen that infrequently doesn't boot into X.
dual GTX1070, ivy bridge intel system.

there aren't any guide in the web how to set up a proper console with nvidia (w/o uvesa), are there?
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 548
Location: Hawaii

PostPosted: Fri Mar 30, 2018 6:48 am    Post subject: Reply with quote

Help here: https://forums.gentoo.org/viewtopic-t-1079196.html
_________________
MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 2070S 8GB
Samsung m.2 NVME pcie-3.0
Etc....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum