Bug 185360 - app-i18n/jfbterm-0.4.7-r3 doesn't compile w/ sanitized linux-headers
Bug#: 185360 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: gtlinuxman@gmail.com
Component: Applications
URL: 
Summary: app-i18n/jfbterm-0.4.7-r3 doesn't compile w/ sanitized linux-headers
Keywords:  
Status Whiteboard: 
Opened: 2007-07-15 00:19 0000
Description:   Opened: 2007-07-15 00:19 0000
compile error with linux-headers-2.6.21

Reproducible: Always

Steps to Reproduce:
emerge app-i18n/jfbterm
Actual Results:  
gcc -DHAVE_CONFIG_H -I.     -march=athlon-xp -O3 -pipe -fomit-frame-pointer
-funroll-loops -fforce-addr -m3dnow -Wimplicit -Wreturn-type -Wunused -Wswitch
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -MT fbcommon.o -MD -MP -MF
.deps/fbcommon.Tpo -c -o fbcommon.o fbcommon.c
fbcommon.c:49:22: error: asm/page.h: Нет такого файла или
каталога
fbcommon.c: В функции ‘tfbm_open’
fbcommon.c:556: ошибка: ‘PAGE_MASK’ undeclared (first use in this
function)
fbcommon.c:556: ошибка: (Each undeclared identifier is reported only once
fbcommon.c:556: ошибка: for each function it appears in.)
fbcommon.c: В функции ‘tfbm_close’
fbcommon.c:611: ошибка: ‘PAGE_MASK’ undeclared (first use in this
function)
make[1]: *** [fbcommon.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
mv -f .deps/main.Tpo .deps/main.Po
make[1]: Leaving directory
`/var/tmp/portage/app-i18n/jfbterm-0.4.7-r3/work/jfbterm-0.4.7'
make: *** [all] Ошибка 2

!!! ERROR: app-i18n/jfbterm-0.4.7-r3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  jfbterm-0.4.7-r3.ebuild, line 43:   Called die

!!! emake failed
!!! 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/app-i18n/jfbterm-0.4.7-r3/temp/build.log'.



Additional Information in attachments

------- Comment #1 From gtlinuxman 2007-07-15 00:19:51 0000 -------
Created an attachment (id=124884) [details]
/var/tmp/portage/app-i18n/jfbterm-0.4.7-r3/temp/build.log

------- Comment #2 From gtlinuxman 2007-07-15 00:20:52 0000 -------
Created an attachment (id=124885) [details]
emerge --info

------- Comment #3 From gtlinuxman 2007-07-15 00:28:25 0000 -------
Created an attachment (id=124887) [details]
LC_ALL=C /var/tmp/portage/app-i18n/jfbterm-0.4.7-r3/temp/build.log

Ok, same things with LC_ALL=C

gcc -DHAVE_CONFIG_H -I.     -march=athlon-xp -O3 -pipe -fomit-frame-pointer
-funroll-loops -fforce-addr -m3dnow -Wimplicit -Wreturn-type -Wunused -Wswitch
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -MT fbdpsp.o -MD -MP -MF
.deps/fbdpsp.Tpo -c -o fbdpsp.o fbdpsp.c
fbcommon.c:49:22: error: asm/page.h: No such file or directory
fbcommon.c: In function 'tfbm_open':
fbcommon.c:556: error: 'PAGE_MASK' undeclared (first use in this function)
fbcommon.c:556: error: (Each undeclared identifier is reported only once
fbcommon.c:556: error: for each function it appears in.)
fbcommon.c: In function 'tfbm_close':
fbcommon.c:611: error: 'PAGE_MASK' undeclared (first use in this function)
make[1]: *** [fbcommon.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/fbdpsp.Tpo .deps/fbdpsp.Po
make[1]: Leaving directory
`/var/tmp/portage/app-i18n/jfbterm-0.4.7-r3/work/jfbterm-0.4.7'
make: *** [all] Error 2

!!! ERROR: app-i18n/jfbterm-0.4.7-r3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  jfbterm-0.4.7-r3.ebuild, line 43:   Called die

!!! emake failed
!!! 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/app-i18n/jfbterm-0.4.7-r3/temp/build.log'.

------- Comment #4 From Jakub Moc (RETIRED) 2007-07-15 04:26:41 0000 -------
Please, set your locales to C when reporting bugs; Russian is not much popular
among developers. :P

------- Comment #5 From abo junghichi 2007-08-16 21:21:55 0000 -------
Same thing is occured in my system.

### a part of install log
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O3 -march=pentium4 -pipe -MT
fbdpsp.o -MD -MP -MF .deps/fbdpsp.Tpo -c -o fbdpsp.o fbdpsp.c
fbcommon.c:49:22: error: asm/page.h: No such file or directory
mv -f .deps/fbdpsp.Tpo .deps/fbdpsp.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O3 -march=pentium4 -pipe -MT
font.o -MD -MP -MF .deps/font.Tpo -c -o font.o font.c
fbcommon.c: In function 'tfbm_open':
fbcommon.c:556: error: 'PAGE_MASK' undeclared (first use in this function)
fbcommon.c:556: error: (Each undeclared identifier is reported only once
fbcommon.c:556: error: for each function it appears in.)
fbcommon.c: In function 'tfbm_close':
fbcommon.c:611: error: 'PAGE_MASK' undeclared (first use in this function)
make[1]: *** [fbcommon.o] Error 1

### emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 16 Aug 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.channelx.biz/ http://gentoo.gg3.net/
ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://gg3.net/pub/linux/gentoo/"
LINGUAS="ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bitmap-fonts cdr cjk cli cracklib crypt
cups dri fortran gdbm gpm iconv ipv6 isdnlog jpeg midi mmx mudflap ncurses nls
nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection
session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts uim unicode
x86 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="ja" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From MATSUU Takuto 2007-08-18 02:18:58 0000 -------
jfbterm-0.4.7-r4 in cvs.

ppc64 arch: please add ~ppc64 to jfbterm-0.4.7-r4 and media-fonts/intlfonts.

------- Comment #7 From Markus Rothe 2007-09-09 16:47:08 0000 -------
added ~ppc64

mark bug as FIXED