Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159931 - sys-apps/fxload-20020411 fails to compile with linux-headers-2.6.19, depends uncoditionally on sys-apps/hotplug
Summary: sys-apps/fxload-20020411 fails to compile with linux-headers-2.6.19, depends ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 145809 sane-linux-headers 163414
  Show dependency tree
 
Reported: 2007-01-04 02:03 UTC by Matt Savigear
Modified: 2007-01-24 10:24 UTC (History)
4 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 Matt Savigear 2007-01-04 02:03:50 UTC
This might be a bug with fxload, or one with linux-headers. When attempting to compile with linux-headers-2.6.19 the following error occurs (compilation works fine on 2.6.17-r2).

The Error:
cc -c -O -Wall -march=athlon64 -O2 -pipe -fomit-frame-pointer  ezusb.c -o ezusb.o
ezusb.c:32:25: error: linux/usb.h: No such file or directory

My emerge --info:
Portage 2.1.2_rc4-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.8
Last Sync: Thu, 04 Jan 2007 07:00:03 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 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.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB"
LC_ALL="en_GB"
LINGUAS="en en_GB"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://zhar/gentoo-portage"
USE="X aac acpi alsa amd64 apache2 apm avi berkdb bitmap-fonts caps cdr cli cracklib crypt cups dga dlloader doc dri dv dvd dvdr dvdread eds emboss encode ffmpeg foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal iconv icq imagemagick imap imlib isdnlog jack java joystick jpeg kde ladspa latex ldap lzw lzw-tiff maildir matroska mono mp3 mpeg msn mysql ncurses nls nntp nptl nptlonly nvidia odbc offensive ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python qt3 qt4 quicktime readline reflection rtc ruby samba scanner sdl session soap spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l wmf xface xinerama xorg xpm xscreensaver xv yahoo zlib" ALSA_CARDS="emu10k1" 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 joystick" KERNEL="linux" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2007-01-04 14:01:14 UTC
no interest in this package ... it needs to be rewritten to use libusb
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 13:27:36 UTC
$ pquery --raw --revdep=sys-apps/fxload
media-sound/usbmidi-1.0 - sound
media-tv/wis-go7007-0.9.8 - beandog/media-tv

Anyone interested? If not, well the above ebuilds will have to go sooner or later. 

Plus sys-apps/fxload depends directly on hotplug, which makes both of the above ebuilds depend on it as well. udev handles firmware loading on it's own since 096 (see Bug 138126) and hotplug makes firmware loading pretty much broken (Bug 147006) 
Comment 3 Matt Savigear 2007-01-15 22:55:00 UTC
In terms of dependencies, it might be worth noting here that you need this to load the first stage of the firmware of Tascam USB soundcards (those using the snd_usb_usx2y driver) before using the alsa-tools usx2yloader for the second stage.

There don't seem to be package dependencies around this usage, but removal of fxload from the tree will prevent the use of these sound cards - udev doesn't seem to cope on its own.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 09:38:26 UTC
(In reply to comment #3)
> There don't seem to be package dependencies around this usage, but removal of
> fxload from the tree will prevent the use of these sound cards - udev doesn't
> seem to cope on its own.

Well, as said on this bug, the thing doesn't compile against linux-headers-2.6.19, which will eventually go stable. Plus it's totally dead upstream, has no Gentoo maintainer and the design sucks. :) Patches are welcome, otherwise it will become useless and die sooner or later.
Comment 5 Matt Savigear 2007-01-16 13:09:52 UTC
Fair comment. I shall look at a patch when I can though I don't anticipate great success. In the meantime I will let the ALSA list know there might b an impending problem.
Comment 6 Matthias Schwarzott gentoo-dev 2007-01-24 10:24:38 UTC
Removed dependency to sys-apps/hotplug.
Fixed compilation (just need to change linux/usb.h to linux/usb_ch9.h)