Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312929 - net-dialup/fcusb-0.1-r1: Compilation errors with kernel 2.6.31-gentoo-r6: e.g. unable to find find_task_by_pid
Summary: net-dialup/fcusb-0.1-r1: Compilation errors with kernel 2.6.31-gentoo-r6: e.g...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 08:59 UTC by Stefan Gaertner
Modified: 2010-07-21 01:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge.info.txt,4.32 KB, text/plain)
2010-04-03 09:03 UTC, Stefan Gaertner
Details
Build log of net-dialup/fcusb-0.1-r1 (net-dialup:fcusb-0.1-r1:20100403-084624.log,4.88 KB, text/plain)
2010-04-03 09:05 UTC, Stefan Gaertner
Details
Log of 'LC_MESSAGES=C emerge -v fcusb' (net-dialup:fcusb-0.1-r1:20100404-170648.log,4.85 KB, text/plain)
2010-04-04 17:10 UTC, Stefan Gaertner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gaertner 2010-04-03 08:59:39 UTC
When trying to compile net-dialup/fcusb-0.1-r1 on an athlon xp machine, fcusb aborts with errors.

Reproducible: Always

Steps to Reproduce:
1. boot kernel 2.6.31-gentoo-r6
2. emerge fcusb


Actual Results:  
arcticblue ~ # emerge fcusb
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-dialup/fcusb-0.1-r1
 * fcusb-0.1-0.src.rpm RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  net-dialup/fcusb-0.1-r1
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.31-gentoo-r6/build
 * Found sources for kernel version:
 *     2.6.31-gentoo-r6
>>> Unpacking source...
>>> Unpacking /var/tmp/portage/net-dialup/fcusb-0.1-r1/distdir/fcusb-0.1-0.src.rpm to /var/tmp/portage/net-dialup/fcusb-0.1-r1/work
 * QA: do not use ${DISTDIR} with rpm_unpack -- it is added for you
>>> Unpacking fcusb-suse93-3.11-04.tar.gz to /var/tmp/portage/net-dialup/fcusb-0.1-r1/work
 * Applying fritz-tools.diff ...                                          [ ok ]
 * Applying fritz-usb.diff ...                                            [ ok ]
 * Applying fritz_config.diff ...                                         [ ok ]
 * Applying fritz_init_work.diff ...                                      [ ok ]
 * Applying fritz_urb.diff ...                                            [ ok ]
 * Applying fcusb_kernel-2.6.24.diff ...                                  [ ok ]
 * Converting src/Makefile to use M= instead of SUBDIRS= ...              [ ok ]
 * Localize symbols in fcusb-lib.o ...
>>> Source unpacked in /var/tmp/portage/net-dialup/fcusb-0.1-r1/work
>>> Compiling source in /var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz ...
 * Preparing fcusb module
make -j2 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR=/usr/src/linux LIBDIR=/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src all 
make -C /usr/src/linux M=/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src modules
make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo-r6'
  CC [M]  /var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/main.o
  CC [M]  /var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.o
In file included from /var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/main.c:33:
/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/tools.h:75: Fehler: In Konflikt stehende Typen für »atomic_xchg«
/usr/src/linux-2.6.31-gentoo-r6/arch/x86/include/asm/atomic_32.h:215: Fehler: Vorherige Definition von »atomic_xchg« war hier
make[2]: *** [/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/main.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
In file included from /var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.c:41:
/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/tools.h:75: Fehler: In Konflikt stehende Typen für »atomic_xchg«
/usr/src/linux-2.6.31-gentoo-r6/arch/x86/include/asm/atomic_32.h:215: Fehler: Vorherige Definition von »atomic_xchg« war hier
/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.c: In Funktion »kill_thread«:
/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.c:1247: Fehler: Implizite Deklaration der Funktion »find_task_by_pid«
/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.c:1247: Warnung: Vergleich zwischen Zeiger und Ganzzahl
make[2]: *** [/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src/driver.o] Fehler 1
make[1]: *** [_module_/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r6'
make: *** [fcusb.o] Fehler 2
 * ERROR: net-dialup/fcusb-0.1-r1 failed:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KDIR=/usr/src/linux LIBDIR=/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz/src all
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3537:  Called linux-mod_src_compile
 *   environment, line 2689:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 			CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 		${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =net-dialup/fcusb-0.1-r1',
 * the complete build log and the output of 'emerge -pqv =net-dialup/fcusb-0.1-r1'.
 * The complete build log is located at '/var/log/portage/net-dialup:fcusb-0.1-r1:20100403-084624.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/fcusb-0.1-r1/temp/environment'.
 * S: '/var/tmp/portage/net-dialup/fcusb-0.1-r1/work/fritz'

>>> Failed to emerge net-dialup/fcusb-0.1-r1, Log file:

>>>  '/var/log/portage/net-dialup:fcusb-0.1-r1:20100403-084624.log'


Expected Results:  
fcusb compiles without errors

arcticblue ~ # emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-TM-_XP_2500+-with-gentoo-1.12.13
Timestamp of tree: Fri, 02 Apr 2010 11:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://140.127.177.17/pub/Linux/Gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bidi bluetooth bmp branding bzip2 cairo caps cdparanoia cdr cgi clamav cli consolekit cracklib crypt cups curl curlwrappers cxx dbus dga directfb divx4linux dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal evo examples exif fam fbcon ffmpeg fftw firebird firefox flac fortran ftp gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv icq imagemagick imap imlib ipv6 jabber java javascript joystick jpeg lcms ldap libnotify lm_sensors mad maildir memlimit mikmod milter mime mjpeg mmx mng modules motif mozilla mp3 mp4 mpeg msn mudflap mysql mysqli ncurses nls nocd nptl nptlonly ogg opengl openmp pam pango pcre pdf pdflib perl php plotutils png ppds pppd python qt qt3support qt4 quicktime readline recode reflection samba scanner sdl session smartcard spell spl sse ssl startup-notification svg svga sysfs tcltk tcpd tetex threads tiff truetype unicode upnp usb userlocales vcd verbose vorbis win32codecs wmf x264 x86 xcb xine xml xmms xorg xosd xpm xulrunner xv xvid yahoo 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access authz_host auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in filter deflate mime-magic cern-meta expires headers unique_id usertrack proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" FRITZCAPI_CARDS="fcusb" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon uvesafb vga" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stefan Gaertner 2010-04-03 09:01:21 UTC
This bug is probably correlated to the following one, but 274911 handles errors of fcusb2. 

http://bugs.gentoo.org/show_bug.cgi?id=274911
Comment 2 Stefan Gaertner 2010-04-03 09:03:13 UTC
Created attachment 226355 [details]
Output of emerge --info
Comment 3 Stefan Gaertner 2010-04-03 09:05:59 UTC
Created attachment 226357 [details]
Build log of net-dialup/fcusb-0.1-r1
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-03 20:07:11 UTC
Next time please set LC_MESSAGES=C for the obtaining logs.
Comment 5 Stefan Gaertner 2010-04-04 17:10:40 UTC
Created attachment 226567 [details]
Log of 'LC_MESSAGES=C emerge -v fcusb'
Comment 6 Stefan Gaertner 2010-04-04 17:11:53 UTC
(In reply to comment #4)
> Next time please set LC_MESSAGES=C for the obtaining logs.
> 

Sorry, I wasn't aware of that. Log has been attached.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2010-07-21 01:03:39 UTC
Abandoned upstream. Won't work with current kernels. Closed Source.