<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>159931</bug_id>
          
          <creation_ts>2007-01-04 02:03 0000</creation_ts>
          <short_desc>sys-apps/fxload-20020411 fails to compile with linux-headers-2.6.19, depends uncoditionally on sys-apps/hotplug</short_desc>
          <delta_ts>2007-01-24 10:24:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>2006.1</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>145809</blocked>
    
    <blocked>159304</blocked>
    
    <blocked>163414</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mcs_gentoo@savigear.com</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>beandog@gentoo.org</cc>
    
    <cc>jakub@gentoo.org</cc>
    
    <cc>media-tv@gentoo.org</cc>
    
    <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mcs_gentoo@savigear.com</who>
            <bug_when>2007-01-04 02:03:50 0000</bug_when>
            <thetext>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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=athlon64 -O2 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;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&quot;
LANG=&quot;en_GB&quot;
LC_ALL=&quot;en_GB&quot;
LINGUAS=&quot;en en_GB&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://zhar/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;emu10k1&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse joystick&quot; KERNEL=&quot;linux&quot; LINGUAS=&quot;en en_GB&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nv nvidia vesa vmware&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-04 14:01:14 0000</bug_when>
            <thetext>no interest in this package ... it needs to be rewritten to use libusb</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-15 13:27:36 0000</bug_when>
            <thetext>$ 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&apos;s own since 096 (see Bug 138126) and hotplug makes firmware loading pretty much broken (Bug 147006) 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcs_gentoo@savigear.com</who>
            <bug_when>2007-01-15 22:55:00 0000</bug_when>
            <thetext>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&apos;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&apos;t seem to cope on its own.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-16 09:38:26 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; There don&apos;t seem to be package dependencies around this usage, but removal of
&gt; fxload from the tree will prevent the use of these sound cards - udev doesn&apos;t
&gt; seem to cope on its own.

Well, as said on this bug, the thing doesn&apos;t compile against linux-headers-2.6.19, which will eventually go stable. Plus it&apos;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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcs_gentoo@savigear.com</who>
            <bug_when>2007-01-16 13:09:52 0000</bug_when>
            <thetext>Fair comment. I shall look at a patch when I can though I don&apos;t anticipate great success. In the meantime I will let the ALSA list know there might b an impending problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2007-01-24 10:24:38 0000</bug_when>
            <thetext>Removed dependency to sys-apps/hotplug.
Fixed compilation (just need to change linux/usb.h to linux/usb_ch9.h)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>