Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150392 - stabilize net-dialup/slmodem-2.9.11_pre20051101-r2
Summary: stabilize net-dialup/slmodem-2.9.11_pre20051101-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 148429
  Show dependency tree
 
Reported: 2006-10-07 09:30 UTC by CPUShare
Modified: 2006-10-11 17:31 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 CPUShare 2006-10-07 09:30:54 UTC
net-dialup/slmodem-2.9.11_pre20051101-r2 compiles fine, so my suggestion is to mark it as stable (to obsolete the current stable ebuild that doesn't compile as shown below).


 * Preparing ungrab-winmodem module
make modules -C /usr/src/linux M=/var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem
make[1]: Entering directory `/usr/src/linux-2.6.18'
  CC [M]  /var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem/ungrab-winmodem.o
/var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem/ungrab-winmodem.c: In function 'softmodem_rel
ease_init':  
/var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem/ungrab-winmodem.c:60: warning: passing argume
nt 1 of 'pci_match_device' from incompatible pointer type
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem/ungrab-winmodem.mod.o
  LD [M]  /var/tmp/portage/slmodem-2.9.11_pre20051101/work/ungrab-winmodem/ungrab-winmodem.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18'
 * Preparing slamr module
i686-pc-linux-gnu-gcc -I/usr/src/linux/include -o kernel-ver kernel-ver.c
kernel-ver.c: In function 'main':
kernel-ver.c:11: error: 'UTS_RELEASE' undeclared (first use in this function)
kernel-ver.c:11: error: (Each undeclared identifier is reported only once
kernel-ver.c:11: error: for each function it appears in.)
make: *** [kernel-ver] Error 1

!!! ERROR: net-dialup/slmodem-2.9.11_pre20051101 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  slmodem-2.9.11_pre20051101.ebuild, line 64:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make  KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-10-07 10:25:20 UTC
hmm... correct me if I'm wrong, but isn't gentoo-sources-2.6.18 marked as testing?
right now, slmodem-2.9.11_pre20051101-r2 is in the probation period (one month without any change).
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-07 10:48:20 UTC
x86: please stablize

We want these fixed before 2.6.18 goes stable. So it is a good time to start now. Important fixes like this one justify to stabilze earlier.
Comment 3 Markus Meier gentoo-dev 2006-10-08 04:40:06 UTC
1.) emerges fine on x86
2.) passes collision test
3.) should work (using it on my ~x86 box without problems)


emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 07 Oct 2006 10:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r4
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=prescott -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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en de en_GB de_CH"
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.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2006-10-08 12:50:16 UTC
A bit early, but since it seems to fix previous revision (from ChangeLog), and it actually works, I've stabilized it.
Comment 5 CPUShare 2006-10-11 17:31:31 UTC
I would suggest as a further enhancement for new releases to consider splitting the kernel modules from the userland tools (slmodem-drivers out of slmodem). I shouldn't need any special external kernel module for my hardware, the alsa 8x0m driver should be enough, and the userland part is much less likely to break with future stable kernel releases.

thanks.