Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178474

Summary: sys-apps/fxload-20020411 failed to compile with linux-headers-2.6.21
Product: Gentoo Linux Reporter: Xavier Miller (RETIRED) <xaviermiller>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 159304    

Description Xavier Miller (RETIRED) gentoo-dev 2007-05-14 07:11:20 UTC
In both ~amd64 and ~x86 architectures, with kernel 2.6.21 installed (gentoo-sources-2.6.21), I cannot compile sys-apps/fxload-20020411



Reproducible: Always

Steps to Reproduce:
1. Select kernel 2.6.21
2. emerge fxload
3.

Actual Results:  
>>> Emerging (1 of 1) sys-apps/fxload-20020411 to /
 * fxload-2002_04_11.tar.gz RMD160 ;-) ...                                                                           [ ok ]
 * fxload-2002_04_11.tar.gz SHA1 ;-) ...                                                                             [ ok ]
 * fxload-2002_04_11.tar.gz SHA256 ;-) ...                                                                           [ ok ]
 * fxload-2002_04_11.tar.gz size ;-) ...                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
 * checking fxload-2002_04_11.tar.gz ;-) ...                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking fxload-2002_04_11.tar.gz to /var/tmp/portage/sys-apps/fxload-20020411/work
 * Applying fxload-20020411-linux-headers-2.6.19.patch ...                                                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/fxload-20020411/work/fxload-2002_04_11 ...
cc -c -O -Wall -O3 -pipe -fomit-frame-pointer -march=k8  ezusb.c -o ezusb.o
ezusb.c:32:29: error: linux/usb_ch9.h: No such file or directory
ezusb.c: In function 'ezusb_read':
ezusb.c:174: warning: format '%4d' expects type 'int', but argument 5 has type 'size_t'
ezusb.c:174: warning: format '%04x' expects type 'unsigned int', but argument 6 has type 'size_t'
ezusb.c:176: error: 'USB_DIR_IN' undeclared (first use in this function)
ezusb.c:176: error: (Each undeclared identifier is reported only once
ezusb.c:176: error: for each function it appears in.)
ezusb.c:176: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
ezusb.c:176: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
ezusb.c: In function 'ezusb_write':
ezusb.c:203: warning: format '%4d' expects type 'int', but argument 5 has type 'size_t'
ezusb.c:203: warning: format '%04x' expects type 'unsigned int', but argument 6 has type 'size_t'
ezusb.c:205: error: 'USB_DIR_OUT' undeclared (first use in this function)
ezusb.c:205: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
ezusb.c:205: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
ezusb.c: In function 'ezusb_cpucs':
ezusb.c:232: error: 'USB_DIR_OUT' undeclared (first use in this function)
ezusb.c:232: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
ezusb.c:232: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
ezusb.c: In function 'ram_poke':
ezusb.c:448: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
ezusb.c:456: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
ezusb.c:465: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
ezusb.c: In function 'eeprom_poke':
ezusb.c:612: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
ezusb.c:617: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
make: *** [ezusb.o] Error 1

!!! ERROR: sys-apps/fxload-20020411 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  fxload-20020411.ebuild, line 33:   Called die

!!! (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/fxload-20020411/temp/build.log'.



# emerge --info

Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 AMD Athlon(tm)64 X2 Dual Core Processor 4400+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 14 May 2007 06:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
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.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8"
MAKEOPTS="-j5"
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/portage/local/overlays /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amr berkdb bitmap-fonts branding bzip2 cairo cdda cddb cdr cli contrib cracklib crypt ctype cups cvs dbus dri dts dvd dvdr dvdread dvi emacs emboss encode evo fam fat ffmpeg firefox flac freetds gdbm gif glitz gpm gtk hal hfs iconv ieee1394 imlib isdnlog jack jackmidi java jfs jpeg jpeg2k kerberos ladspa libg++ libnotify mad matroska midi mikmod mmx mod modplug mozbranding mp3 mpeg msn musepack ncurses netjack nfs nls nosendmail nptl nptlonly ntfs ogg opengl oss pam pcre pdf perl png pppd qt3 qt3support quicktime readline reflection reiser4 reiserfs rtsp samba sdl session sid slang sndfile sound speex spell spl sse sse2 ssl startup-notification subversion svg tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wavpack wma wxwindows x264 xch xcomposite xfs xml xorg xosd xrc xscreensaver xv xvid zlib" ALSA_CARDS="ice1712 usb-audio virmidi" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthias Schwarzott gentoo-dev 2007-05-14 07:41:40 UTC
Added a patch to access the correct header-file for linux-headers-2.6.21.
Thanks for reporting that bug.