Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37027 - net-dialup/ltmodem-8.26_alpha9-r2 -- no Makefile
Summary: net-dialup/ltmodem-8.26_alpha9-r2 -- no Makefile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 08:13 UTC by Benjamin Judas (RETIRED)
Modified: 2004-02-04 09:45 UTC (History)
1 user (show)

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 Benjamin Judas (RETIRED) gentoo-dev 2004-01-02 08:13:20 UTC
The ebuild doesn't work. No Makefile is found according to screen-output.
When executing ./configure manually, I found out, that it stops mentioning it's not made to cooperate with 2.6-kernel-systems.

Reproducible: Always
Steps to Reproduce:
1. emerge ltmodem
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking ltmodem-8.26a9.tar.gz to /var/tmp/portage/ltmodem-8.26_alpha9-r2/work
>>> Source unpacked.
Within build_module FV=2.6.0
/tmp/ltmodem/tmpfile
Now acquiring distribution data:
The distribution is Not_identified
	Please report the identifying /etc/FileName to discuss@linmodems.org
TARGET_CPU=
	End of distribution check.

Setting BLDrecord.txt link within source/ folder.
lrwxrwxrwx    1 portage  portage        16  2. Jan 17:11 BLDrecord.txt ->
../BLDrecord.txt
Searching for a kernel-headers-2.6.0 resource.
KERNEL_HEAD_ALT= /usr/src/linux /usr/src/kernel-headers-2.6.0
/usr/src/kernel-header+2.6.0 /usr/src/linux-2.6.0 /lib/modules/2.6.0/build
  ... in /usr/src/linux: Kernel headers found in /usr/src/linux
  ... in /usr/src/kernel-headers-2.6.0: nope
  ... in /usr/src/kernel-header+2.6.0: nope
  ... in /usr/src/linux-2.6.0: Kernel headers found in /usr/src/linux-2.6.0
  ... in /lib/modules/2.6.0/build: Kernel headers found in /lib/modules/2.6.0/build
  using /lib/modules/2.6.0/build
Found kernel-headers-2.6.0 for compiling drivers.

Your running kernel is version-2.6.0,
  but the modem drivers will be compiled for a 2.6.0 kernel.

Performing a configure trial and capturing the report to ../conf-report.txt.
Parsing the report:
	No evident problems.

creating cache ./config.cache
Checking OS
Checking machine type
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -Os -mmmx -msse -msse2
-mfpmath=sse -funroll-loops -pipe ) works... yes
checking whether the C compiler (gcc -march=pentium4 -Os -mmmx -msse -msse2
-mfpmath=sse -funroll-loops -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
Checking gcc major version 3
Checking for rpm build... which: no rpmbuild in
(/usr/lib/ccache/bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin)
rpm
checking for a BSD compatible install... /bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
  using /lib/modules/2.6.0/build
Checking kernel header version
  kernel headers are version 2.6.0
configure support only for 2.2, 2.4 and 2.5 kernels

The check for compilation tools and general resources was successful.
Within DOCs/ there is an annotated conf-report.txt
The Makefile and down steam installation scripts have been created.

Next checking for the the needed header file:	modversions.h
Properly configuring your sources may be aided by for RPM using Distros
by:	 utils/srcprep
for RPM using Distros
and for Debian style Distros, the resources of kernel-package.deb
Sorry, assembly of the needed header file:    modversions.h
was not specified during configuration of the kernel sources.
Withing the section LOADABLE MODULE SUPPORT:
 [*]   Set version information on all module symbols
which is necessary to specify the assembly of modeversions.h
Consequently compiling of the drivers will fail at the next step.

Next checking utilty versions,
           Version_min
 Utility    or range for kernels
   name     2.2.16       2.4.18          Actual_version
-------------------------------------------------------------------
Gnu C      2.7.2.3      2.95.3-2.9.99   3.3.2
Gnu make   3.77         3.79.1
binutils   2.8.1.0.23   2.9.1.0.25      2.14.90.0.7

-------------------------------------------------------------------

  The gcc compiler resources available are:
 ----------------------------
 -rwxr-xr-x    1 root     root         7172 26. Dez 15:33 /usr/bin/gcc
-rwxr-xr-x    1 root     root         8843 28. Nov 19:47 /usr/bin/gcc-config
 ----------------------------
 with your System currently using version 3.3.2
 Do NOT mix the major versions of compilers for the kernel and modem drivers
 or your System will crash! The following releases are using gcc version 3.2.x :
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.
 This build_module automatically adjusts its resources to the compiler version used.
 See the utils/ltrename (by Mark Spieth) called by the Makefile.

To continue:
	Enter



Checking for driver products:

Compilation of lt_modem.o failed,
as expected from absence of modversions.h
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org

Calculating dependencies    ...done!
>>> emerge (1 of 1) net-dialup/ltmodem-8.26_alpha9-r2 to /
>>> md5 src_uri ;-) ltmodem-8.26a9.tar.gz



Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0)
=================================================================
System uname: 2.6.0 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs noauto notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://sunsite.dk/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2004-01-02 08:17:19 UTC
Ignore initial comment - this is what actually happens:
 
Next checking utilty versions,
           Version_min
 Utility    or range for kernels
   name     2.2.16       2.4.18          Actual_version
-------------------------------------------------------------------
Gnu C      2.7.2.3      2.95.3-2.9.99   3.3.2
Gnu make   3.77         3.79.1
binutils   2.8.1.0.23   2.9.1.0.25      2.14.90.0.7
 
-------------------------------------------------------------------
 
  The gcc compiler resources available are:
 ----------------------------
 -rwxr-xr-x    1 root     root         7172 26. Dez 15:33 /usr/bin/gcc
-rwxr-xr-x    1 root     root         8843 28. Nov 19:47 /usr/bin/gcc-config
 ----------------------------
 with your System currently using version 3.3.2
 Do NOT mix the major versions of compilers for the kernel and modem drivers
 or your System will crash! The following releases are using gcc version 3.2.x :
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.
 This build_module automatically adjusts its resources to the compiler version used.
 See the utils/ltrename (by Mark Spieth) called by the Makefile.
  
To continue:
        Enter
 
 
/* Line below means "No targets given and no make-file found" */
make: *** Keine Targets angegeben und keine 
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2004-01-02 08:17:19 UTC
Ignore initial comment - this is what actually happens:
 
Next checking utilty versions,
           Version_min
 Utility    or range for kernels
   name     2.2.16       2.4.18          Actual_version
-------------------------------------------------------------------
Gnu C      2.7.2.3      2.95.3-2.9.99   3.3.2
Gnu make   3.77         3.79.1
binutils   2.8.1.0.23   2.9.1.0.25      2.14.90.0.7
 
-------------------------------------------------------------------
 
  The gcc compiler resources available are:
 ----------------------------
 -rwxr-xr-x    1 root     root         7172 26. Dez 15:33 /usr/bin/gcc
-rwxr-xr-x    1 root     root         8843 28. Nov 19:47 /usr/bin/gcc-config
 ----------------------------
 with your System currently using version 3.3.2
 Do NOT mix the major versions of compilers for the kernel and modem drivers
 or your System will crash! The following releases are using gcc version 3.2.x :
    Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.
 This build_module automatically adjusts its resources to the compiler version used.
 See the utils/ltrename (by Mark Spieth) called by the Makefile.
  
To continue:
        Enter
 
 
/* Line below means "No targets given and no make-file found" */
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
 
Checking for driver products:
 
Compilation of lt_modem.o failed,
as expected from absence of modversions.h
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org
 
 
!!! ERROR: net-dialup/ltmodem-8.26_alpha9-r2 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
 
Comment 3 Tom P. 2004-01-02 22:52:04 UTC
The 8.26_a9 version of ltmodem does not support the 2.6 kernel.  There is a new version in the works and I believe a patch exists if you wish to try building it on your own.

Official support will be provided by the ltmodem maintainers when 2.6 has a chance to stablilize a bit more.


Start looking here if you wish to build your own 2.6 version, note that this is still experimental:

http://linmodems.technion.ac.il/archive-third/msg00992.html

lanius, I recommend changing the current ebuild to require = kernel 2.4 to minimize the bug reports till the new version is released by the ltmodem maintainers.  (2.2 kernels need ltmodem 6.0 for which there is no current ebuild, and 2.6 doesn't work out of the box with 8.26_a9)    MarvS (an ltmodem maintainer) is working on his build scripts now.  I started working with him to ensure it works with gentoo but decided to maintain our own patch to his scripts to ease his burden.  He is having a hard time making other distros work properly.

I guess we could start working on a ~86 version for 2.6 but I would rather wait a bit more to see if marv gets an official version out.

 
Comment 4 Sören Lorenz 2004-01-19 06:56:09 UTC
Things are proceeding... There is a ltmodem-package available for 2.6.x-kernels:

http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-v00.tar.gz

I tested it with gentoo-dev-sources-2.6.1 and it works flawlessly. For use with 2.6.0-kernels there is a small modification necessary, I haven't tested that yet - seems obsolete anyway.

I'm sure a lot of people would be happy about an experimental ltmodem-2.6-ebuild. If one of the maintainers is interested, I could tell details or do further testing as needed.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-04 06:16:02 UTC
-r3 is now in portage with kernel 2.6 support, compiles fine here on 2.6.2-rc2
Comment 6 Benjamin Judas (RETIRED) gentoo-dev 2004-02-04 09:44:32 UTC
Now it creates a Makefile, but doesn't build cleanly:

betelgeuze ~ # ACCEPT_KEYWORDS="~x86" emerge =net-dialup/ltmodem-8.26_alpha9-r3
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/ltmodem-8.26_alpha9-r3 to /
>>> md5 src_uri ;-) ltmodem-8.26a9.tar.gz
>>> md5 src_uri ;-) ltmodem-2.6-alk-v00.tar.gz
kernel-mod
>>> Unpacking source...
>>> Unpacking ltmodem-8.26a9.tar.gz to /var/tmp/portage/ltmodem-8.26_alpha9-r3/work
>>> Unpacking ltmodem-2.6-alk-v00.tar.gz to /var/tmp/portage/ltmodem-8.26_alpha9-r3/work
>>> Source unpacked.
kernel-mod
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.1-rc1-mm2 found in /usr/src/linux
make -C /usr/src/linux/ SUBDIRS=/var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk modules
make[1]: Entering directory `/usr/src/linux-2.6.1-rc1-mm2'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: 
Comment 7 Benjamin Judas (RETIRED) gentoo-dev 2004-02-04 09:44:32 UTC
Now it creates a Makefile, but doesn't build cleanly:

betelgeuze ~ # ACCEPT_KEYWORDS="~x86" emerge =net-dialup/ltmodem-8.26_alpha9-r3
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/ltmodem-8.26_alpha9-r3 to /
>>> md5 src_uri ;-) ltmodem-8.26a9.tar.gz
>>> md5 src_uri ;-) ltmodem-2.6-alk-v00.tar.gz
kernel-mod
>>> Unpacking source...
>>> Unpacking ltmodem-8.26a9.tar.gz to /var/tmp/portage/ltmodem-8.26_alpha9-r3/work
>>> Unpacking ltmodem-2.6-alk-v00.tar.gz to /var/tmp/portage/ltmodem-8.26_alpha9-r3/work
>>> Source unpacked.
kernel-mod
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.1-rc1-mm2 found in /usr/src/linux
make -C /usr/src/linux/ SUBDIRS=/var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk modules
make[1]: Entering directory `/usr/src/linux-2.6.1-rc1-mm2'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert.
  CC [M]  /var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk/lt_modem.o
  CC [M]  /var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk/serial.o
  LD [M]  /var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk/ltmodem.o
/bin/sh: line 1: .tmp_versions/ltmodem.mod: Keine Berechtigung
make[2]: *** [/var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk/ltmodem.o] Fehler 1
make[1]: *** [/var/tmp/portage/ltmodem-8.26_alpha9-r3/work/ltmodem-2.6-alk] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.1-rc1-mm2'
make: *** [module] Fehler 2
 
!!! ERROR: net-dialup/ltmodem-8.26_alpha9-r3 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
 
betelgeuze ~ #
Comment 8 Benjamin Judas (RETIRED) gentoo-dev 2004-02-04 09:45:38 UTC
Additional info : the file ltmodem.mod doesn't exist on test-system.