After updating kernel to 2.6.27-gentoo-r8 slmodem fails to (re)compile: straylight madmax # LC_ALL=C MAKEOPTS="-j1" emerge slmodem Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-dialup/slmodem-2.9.11_pre20080417 * slmodem-2.9.11-20080417.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * ungrab-winmodem-2.9.11-20080126.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.27-gentoo-r8/build * Found sources for kernel version: * 2.6.27-gentoo-r8 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking slmodem-2.9.11-20080417.tar.gz to /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work >>> Unpacking ungrab-winmodem-2.9.11-20080126.tar.gz to /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work * Converting ungrab-winmodem-2.9.11-20080126/Makefile to use M= instead of SUBDIRS= ... [ ok ] * Applying slmodem-ungrab-winmodem-hp500.patch ... [ ok ] * Applying slmodem-2.9.11-makefile-r1.patch ... [ ok ] * Applying slmodem-2.9.11-alsa-period-size.patch ... [ ok ] * Converting Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work >>> Compiling source in /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work/slmodem-2.9.11-20080417 ... make -j1 SUPPORT_ALSA=1 modem make -C modem all make[1]: Entering directory `/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work/slmodem-2.9.11-20080417/modem' rebuild profile... cc -O2 -march=pentium3 -pipe -Wall -finline -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_main.o -c modem_main.c modem_main.c: In function 'setup_stream': modem_main.c:429: warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at /usr/include/alsa/pcm.h:1115) cc -O2 -march=pentium3 -pipe -Wall -finline -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_cmdline.o -c modem_cmdline.c cc -O2 -march=pentium3 -pipe -Wall -finline -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem.o -c modem.c cc -O2 -march=pentium3 -pipe -Wall -finline -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_datafile.o -c modem_datafile.c In function 'open', inlined from 'datafile_save_info' at modem_datafile.c:114: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments distcc[5250] ERROR: compile modem_datafile.c on localhost failed make[1]: *** [modem_datafile.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20080417/work/slmodem-2.9.11-20080417/modem' make: *** [modem] Error 2
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Mobile_Intel-R-_Celeron-TM-_CPU_1200MHz-with-glibc2.0 Timestamp of tree: Tue, 24 Feb 2009 09:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ " LANG="fi_FI.utf8" LC_ALL="fi_FI.utf8" LDFLAGS="-Wl,-O1" LINGUAS="fi" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa arts berkdb bzip2 cli cracklib crypt cups dbus dri dvd encode exif ffmpeg flac fortran gdbm gif gpm hal iconv ipv6 isdnlog jack jpeg kde ladspa laptop lash lcms libsamplerate midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre perl png pppd pulseaudio python qt3 qt4 readline reflection session sndfile spl sqlite sqlite3 sse ssl svg sysfs tcpd tiff truetype unicode vorbis x86 xcb xorg zlib" ALSA_CARDS="virmidi via82xx via82xx-modem usb-audio" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="savage vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Fixed in slmodem-2.9.11_pre20080817.