Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169638 - app-emulation/dosemu fails with error: 'PCI_CLASS_DISPLAY_VGA' undeclared
Summary: app-emulation/dosemu fails with error: 'PCI_CLASS_DISPLAY_VGA' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 199342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-06 17:52 UTC by Vladimir Pouzanov
Modified: 2008-02-29 11:58 UTC (History)
3 users (show)

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 Vladimir Pouzanov 2007-03-06 17:52:56 UTC
emerge dosemu fails:
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include -I../../../src/plugin/include -fno-strict-aliasing -Wno-pointer-sign  -o vga.o vga.c
vga.c: In function 'pcivga_init':
vga.c:493: error: 'PCI_CLASS_DISPLAY_VGA' undeclared (first use in this function)
vga.c:493: error: (Each undeclared identifier is reported only once
vga.c:493: error: for each function it appears in.)


Reproducible: Always

Steps to Reproduce:
1. emerge dosemu




# emerge --info
Portage 2.1.2.1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Turion(tm) 64 X2 Mobile Technology TL-52
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 06 Mar 2007 11:30:05 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -fomit-frame-pointer"
CG_COMPILER_EXE="/usr/bin/cgc"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -fomit-frame-pointer"
USE="3dnow 3dnowext X acpi alsa apache2 bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cscope cups dbus dri dvd dvdr eds emboss encode esd fam firefox flac gdbm gif gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ lm_sensors logrotate mad midi mikmod mmx mmxext mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl sqlite3 sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs x86 xcomposite xml xorg xv xvid zlib"
Comment 1 Hinrik Örn Sigurðsson 2007-03-19 09:58:13 UTC
Same here. Latest svn does compile, though.
Comment 2 karafeka 2007-03-22 11:59:33 UTC
I also have same problem with emerging dosemu versions 1.3.2 and 1.3.3.
I have no problem manually compiling version 1.3.4, so I just copy 1.3.3 ebuild to local overlay and renamed it to dosemu-1.3.4.ebuild. 
Comment 3 Hanno Böck gentoo-dev 2007-04-02 21:35:18 UTC
should be fixed in 1.3.4
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 10:46:31 UTC
*** Bug 199342 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 12:57:02 UTC
Please, stabilize something that compiles... thanks. :)
Comment 6 David Backeberg 2008-02-11 17:19:33 UTC
I confirm this is still broken in February 2008, and that version 1.3.4 has the bug fixed. 

Version 1.3.4 is still marked unstable x86. Do we need to make a new bug to unmask 
app-emulation/dosemu-1.3.4?
Comment 7 Martin von Gagern 2008-02-22 22:37:28 UTC
Encountered this on stable x86 while remerging all packages due to gcc update.
So I have dosemu-1.3.3 installed, but recompiling it with gcc-4.1.2 failes. Therefore it's probably a compiler issue.
Comment 8 David Backeberg 2008-02-25 15:52:37 UTC
(In reply to comment #7)
> Encountered this on stable x86 while remerging all packages due to gcc update.
> So I have dosemu-1.3.3 installed, but recompiling it with gcc-4.1.2 failes.
> Therefore it's probably a compiler issue.
> 
 You're saying this is "probably a compiler issue". Do you wish to point out a compiler that WILL build this package cleanly? I don't think such a thing exists.

The next version of this builds clean on gcc-4.1.2. If we can get the next version unmasked, we can call this bug WONTFIX and we can all rest happy.
Comment 9 Martin von Gagern 2008-02-25 17:13:37 UTC
(In reply to comment #8)
> You're saying this is "probably a compiler issue". Do you wish to point out a
> compiler that WILL build this package cleanly? I don't think such a thing
> exists.

I investigated this a bit more closely, and now suspect it's linux-headers. sys-kernel/linux-headers-2.6.17-r2 does provide the symbol PCI_CLASS_DISPLAY_VGA, but later stable versions do not.

> The next version of this builds clean on gcc-4.1.2. If we can get the next
> version unmasked, we can call this bug WONTFIX and we can all rest happy.

Of course, as dosemu-1.4.0 was stabilized in bug 211135, upgrading dosemu is preferable to downgrading linux-headers. WONTFIX seems acceptable to me.
Comment 10 Hanno Böck gentoo-dev 2008-02-29 11:58:52 UTC
1.4.0 stable, thus this is fixed