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"
Same here. Latest svn does compile, though.
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.
should be fixed in 1.3.4
*** Bug 199342 has been marked as a duplicate of this bug. ***
Please, stabilize something that compiles... thanks. :)
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?
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.
(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.
(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.
1.4.0 stable, thus this is fixed