Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223415 - sys-apps/v86d-0.1.3-r1: video/uvesafb.h: No such file or directory
Summary: sys-apps/v86d-0.1.3-r1: video/uvesafb.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-24 09:49 UTC by Severin Holzer-Graf
Modified: 2008-06-12 15:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Severin Holzer-Graf 2008-05-24 09:49:13 UTC
sys-apps/v86d-0.1.3 compiles and works properly. I updated portage tree and wanted to update sys-apps/v86d-0.1.3 to sys-apps/v86d-0.1.3-r1.
This is the error:
config.h successfully created.
You can run `make` now.
make -e -w -C libs/lrmi-0.10 liblrmi.a
make[1]: Entering directory `/var/tmp/portage/sys-apps/v86d-0.1.3-r1/work/v86d-0.1.3/libs/lrmi-0.10'
klcc -c  -march=pentium4 -O2 -pipe -fomit-frame-pointer -I/usr/src/linux/include -Ilibs/lrmi-0.10 -o lrmi.o lrmi.c
ar -rs liblrmi.a lrmi.o
ar: creating liblrmi.a
make[1]: Leaving directory `/var/tmp/portage/sys-apps/v86d-0.1.3-r1/work/v86d-0.1.3/libs/lrmi-0.10'
klcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -I/usr/src/linux/include -Ilibs/lrmi-0.10 -c -o v86.o v86.c
In Datei, eingefügt von v86.c:17:
v86.h:22:27: Fehler: video/uvesafb.h: Datei oder Verzeichnis nicht gefunden
In file included from v86.c:17:
v86.h:37: Warnung: »struct v86_regs« innerhalb Parameterliste deklariert
v86.h:37: Warnung: sein Gültigkeitsbereich umfasst nur diese Definition bzw. Deklaration, was Sie wahrscheinlich nicht wollten
v86.h:38: Warnung: »struct uvesafb_task« innerhalb Parameterliste deklariert
v86.c: In Funktion »req_exec«:
v86.c:52: Fehler: Ungültige Anwendung von »sizeof« auf unvollständigen Typen »struct uvesafb_task«
v86.c:54: Fehler: Dereferenzierung eines Zeigers auf unvollständigen Typen
v86.c:54: Fehler: »TF_EXIT« nicht deklariert (erste Benutzung in dieser Funktion)
v86.c:54: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
v86.c:54: Fehler: für jede Funktion in der er auftritt.)
v86.c:57: Warnung: Übergabe des Arguments 1 von »v86_task« von inkompatiblem Zeigertyp
make: *** [v86.o] Fehler 1
 * 
 * ERROR: sys-apps/v86d-0.1.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1416:  Called die
 * The specific snippet of code:
 *       make KDIR=${KV_DIR} || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/v86d-0.1.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/v86d-0.1.3-r1/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -uv v86d

Actual Results:  
sys-apps/v86d-0.1.3-r1 fails to compile

Expected Results:  
install properly

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-hardened-r12 i686)
=================================================================
System uname: 2.6.23-hardened-r12 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Sat, 24 May 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl bash-completion berkdb bzip2 cgi cli cracklib crypt cups dri fortran gdbm gpm hardened iconv isdnlog lighttpd midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pic pppd python readline reflection session spl ssl symlink tcpd truetype unicode vim-syntax x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 16:50:04 UTC
Please set LANG=C to generate English build logs (next time).
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2008-05-24 19:51:17 UTC
Are you sure 0.1.3 still compiles correctly?  i.e. if you run `emerge =sys-apps/v86d-0.1.3`, does it work?
Comment 3 Severin Holzer-Graf 2008-05-25 11:08:57 UTC
(In reply to comment #2)
> Are you sure 0.1.3 still compiles correctly?  i.e. if you run `emerge
> =sys-apps/v86d-0.1.3`, does it work?
> 

v86d-0.1.3 also fails, but I also emerged it on the same system, but this was before I used hardened-sources and the use flags "hardened pic". On my private system with gentoo-sources it compiles without any problems. The log in english:
>>> Emerging (1 of 1) sys-apps/v86d-0.1.3 to /
 * v86d-0.1.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                      [ ok ]
 * checking v86d-0.1.3.tar.bz2 ;-) ...                                                                                                                                                                      [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.23-hardened-r12/build
 * Found sources for kernel version:
 *     2.6.23-hardened-r12
>>> Unpacking source...
>>> Unpacking v86d-0.1.3.tar.bz2 to /var/tmp/portage/sys-apps/v86d-0.1.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/v86d-0.1.3/work/v86d-0.1.3 ...
config.h successfully created.
You can run `make` now.
make -e -w -C libs/lrmi-0.10 liblrmi.a
make[1]: Entering directory `/var/tmp/portage/sys-apps/v86d-0.1.3/work/v86d-0.1.3/libs/lrmi-0.10'
klcc -c  -march=pentium4 -O2 -pipe -fomit-frame-pointer -I/usr/src/linux/include -Ilibs/lrmi-0.10 -o lrmi.o lrmi.c
ar -rs liblrmi.a lrmi.o
ar: creating liblrmi.a
make[1]: Leaving directory `/var/tmp/portage/sys-apps/v86d-0.1.3/work/v86d-0.1.3/libs/lrmi-0.10'
klcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -I/usr/src/linux/include -Ilibs/lrmi-0.10 -c -o v86.o v86.c
In file included from v86.c:17:
v86.h:22:27: error: video/uvesafb.h: No such file or directory
In file included from v86.c:17:
v86.h:37: warning: 'struct v86_regs' declared inside parameter list
v86.h:37: warning: its scope is only this definition or declaration, which is probably not what you want
v86.h:38: warning: 'struct uvesafb_task' declared inside parameter list
v86.c: In function 'req_exec':
v86.c:52: error: invalid application of 'sizeof' to incomplete type 'struct uvesafb_task' 
v86.c:54: error: dereferencing pointer to incomplete type
v86.c:54: error: 'TF_EXIT' undeclared (first use in this function)
v86.c:54: error: (Each undeclared identifier is reported only once
v86.c:54: error: for each function it appears in.)
v86.c:57: warning: passing argument 1 of 'v86_task' from incompatible pointer type
make: *** [v86.o] Error 1
 * 
 * ERROR: sys-apps/v86d-0.1.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1412:  Called die
 * The specific snippet of code:
 *       make KDIR=${KV_DIR} || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/v86d-0.1.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/v86d-0.1.3/temp/environment'.
 * 
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2008-05-25 12:14:21 UTC
Well, it probably fails because 2.6.23-hardened-r12 doesn't include the uvesafb patch (uvesafb was merged into mainline in 2.6.24).  If you upgrade your kernel to e.g. 2.6.24-r2, the problem should be gone.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2008-06-12 15:55:33 UTC
Solution was provided in comment #4.  Please reopen the bug if it doesn't work.