Bug 149354 - app-laptop/thinkpad-5.9-r1 build error with 2.6.18
Bug#: 149354 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: steev@gentoo.org Reported By: diannibd@yahoo.com
Component: Applications
URL: 
Summary: app-laptop/thinkpad-5.9-r1 build error with 2.6.18
Keywords:  
Status Whiteboard: 
Opened: 2006-09-27 15:03 0000
Description:   Opened: 2006-09-27 15:03 0000
/usr/src# emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 27 Sep 2006 11:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
LINGUAS=""
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://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm berkdb bitmap-fonts bonobo bzip2 cli crypt cups
curl dlloader dri dts eds elibc_glibc emboss encode esd exif fam ffmpeg firefox
flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml
guile idn imagemagick imlib input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux lcms libg++ libwww
mad mikmod mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss
pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection ruby
samba sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts
type1-fonts udev usb userland_GNU video_cards_radeon vorbis xinerama xml xml2
xmms xorg xosd xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Barnaby DiAnni 2006-09-27 15:04:22 0000 -------
/usr/src# emerge -va app-laptop/thinkpad

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-laptop/thinkpad-5.9-r1  0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 1) app-laptop/thinkpad-5.9-r1 to /
 * thinkpad-5.9.tar.gz MD5 ;-) ...                                        [ ok
]
 * thinkpad-5.9.tar.gz RMD160 ;-) ...                                     [ ok
]
 * thinkpad-5.9.tar.gz SHA1 ;-) ...                                       [ ok
]
 * thinkpad-5.9.tar.gz SHA256 ;-) ...                                     [ ok
]
 * thinkpad-5.9.tar.gz size ;-) ...                                       [ ok
]
 * checking ebuild checksums ;-) ...                                      [ ok
]
 * checking auxfile checksums ;-) ...                                     [ ok
]
 * checking miscfile checksums ;-) ...                                    [ ok
]
 * checking thinkpad-5.9.tar.gz ;-) ...                                   [ ok
]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.18
>>> Unpacking source...
>>> Unpacking thinkpad-5.9.tar.gz to /var/tmp/portage/thinkpad-5.9-r1/work
 * Applying thinkpad-5.9-remove-thinkpadapm-argument.patch ...            [ ok
]
 * Applying thinkpad-5.9-remove-inter_module.patch ...                    [ ok
]
 * Applying thinkpad-5.9-module-param.patch ...                           [ ok
]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9 ...
 * Preparing thinkpad module
make -C /usr/src/linux
SUBDIRS=/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers modules
make[1]: Entering directory `/usr/src/linux-2.6.18'
  CC [M] 
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.o
In file included from
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:49:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171:
warning: 'packed' attribute ignored
  CC [M] 
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.o
In file included from
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.c:39:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171:
warning: 'packed' attribute ignored
make[2]: *** No rule to make target
`/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.o',
needed by
`/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi.o'. 
Stop.
make[1]: ***
[_module_/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers] Error
2
make[1]: Leaving directory `/usr/src/linux-2.6.18'
make: *** [default] Error 2

!!! ERROR: app-laptop/thinkpad-5.9-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make  KSRC=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #2 From Daniel Drake 2006-10-15 14:17:03 0000 -------
Created an attachment (id=99761) [details]
new ebuild

smapi_call.s needs to be renamed to smapi_call.S. Please commit to stable tree.

------- Comment #3 From Daniel Drake 2006-10-19 18:37:26 0000 -------
Steev, please commit ASAP

------- Comment #4 From Christian Heim (RETIRED) 2006-10-20 12:10:09 0000 -------
Fixed in CVS.