Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168728 - suspend2-sources 2.6.19-r2 fails to compile
Summary: suspend2-sources 2.6.19-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 13:28 UTC by Ákos Maróy
Modified: 2007-02-28 19:08 UTC (History)
0 users

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 Ákos Maróy 2007-02-28 13:28:28 UTC
suspend2-sources fail to compile

Reproducible: Always

Steps to Reproduce:
1. try to compile suspend2-sources with genkernel
2.
3.

Actual Results:  
the kernel fails to compile

Expected Results:  
should compile fine

# emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 17 Feb 2007 19:30:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/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"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en hu ja"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi aiglx alsa amd amd64 avahi avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cdr cjk cli cpudetection cracklib crypt cups dbus dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fbsplash firefox flac gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal http ical iconv ieee1394 ipv6 irda isdnlog java jpeg lcms ldap libcaca libg++ libnotify logrotate mad midi mikmod mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin obex ogg opengl oracle oss pam pcre pdflib perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session smp sms spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb vim vorbis wma xml xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu ja" USERLAND="GNU" VIDEO_CARDS="dummy fglrx radeon v4l vesa vmware fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ákos Maróy 2007-02-28 13:29:59 UTC
here's the output of the compilation:

# genkernel --no-mrproper --no-clean --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: --no-mrproper --no-clean --menuconfig all

* Linux Kernel 2.6.19-suspend2-r2 for x86_64...
* config: --no-clean is enabled; leaving the .config alone.
* config: >> Invoking menuconfig...
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

*         >> Compiling 2.6.19-suspend2-r2 bzImage...
*         >> Compiling 2.6.19-suspend2-r2 modules...
* ERROR: Failed to compile the "modules" target...

* -- Grepping log... --

drivers/char/speakup/makemapdata >drivers/char/speakup/mapdata.h
  HOSTCC  drivers/char/speakup/genmap
drivers/char/speakup/genmap drivers/char/speakup/speakupmap.map >drivers/char/speakup/speakupmap.h
  CC      drivers/char/speakup/speakup.o
drivers/char/speakup/speakup.c: In function 'say_line':
drivers/char/speakup/speakup.c:893: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
drivers/char/speakup/speakup.c:893: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
--
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"  
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  Building modules, stage 2.
  MODPOST 746 modules
WARNING: "try_to_freeze" [drivers/usb/atm/ueagle-atm.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: --no-mrproper --no-clean --menuconfig all

* ERROR: Failed to compile the "modules" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* 
* Please do *not* report compilation failures as genkernel bugs!
* 
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-28 18:25:47 UTC
Please attach your kernel configuration, or just the CONFIG_ entry of this module you are using.
Thanks.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-28 19:08:12 UTC
Found it!
Fixed in suspend2-sources-2.6.19-r3.
Thanks.