First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 68179
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Finnie <ryan@finnie.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68179 depends on: Show dependency tree
Bug 68179 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-19 10:26 0000
If the alsa USE flag is not used, slmodem-2.9.10-r1 will not build.  This is
due to a conditional "export SUPPORT_ALSA=0" in src_compile() if alsa is not
used.  Instead, the behavior in slmodem's modem/Makefile expects SUPPORT_ALSA
to be unset rather than 0.  Compilation works if you change "export
SUPPORT_ALSA=0" to "unset ALSA":

src_compile() {
        if use alsa
        then
                export SUPPORT_ALSA=1
        else
                unset SUPPORT_ALSA
        fi


Reproducible: Always
Steps to Reproduce:
USE=-alsa emerge =net-dialup/slmodem-2.9.10-r1

Actual Results:  
flexo ~ # USE=-alsa emerge =net-dialup/slmodem-2.9.10-r1
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/slmodem-2.9.10-r1 to /
>>> md5 src_uri ;-) slmodem-2.9.10.tar.gz
>>> Unpacking source...
>>> Unpacking slmodem-2.9.10.tar.gz to /var/tmp/portage/slmodem-2.9.10-r1/work
>>> Source unpacked.
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 *
 * The kernel Makefile says that this is a 2.6.8-gentoo-r3-5 kernel
 * but the source is in a directory for a 2.6.8-gentoo-r3 kernel.
 *
 * This goes against the recommended Gentoo naming convention.
 * Please rename your source directory to 'linux-2.6.8-gentoo-r3-5'
 *
 * Building for Linux 2.6.8-gentoo-r3-5 found in /usr/src/linux
make -C modem all
make -C drivers KERNEL_DIR=//usr/src/linux
make[1]: Entering directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/modem'
rebuild profile...
make[1]: *** No rule to make target `-lasound', needed by `slmodemd'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/modem'
make[1]: Entering directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers'
gcc -I//usr/src/linux/include -o kernel-ver kernel-ver.c
make: *** [modem] Error 2
make: *** Waiting for unfinished jobs....
make all KERNEL_VER=2.6.8-gentoo-r3-5
make[2]: Entering directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers'
make modules -C //usr/src/linux
M=/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers
make[3]: Entering directory `/usr/src/linux-2.6.8-gentoo-r3'
  CC [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/amrmo_init.o
  CC [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/sysdep_amr.o
  CC [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/st7554.o
  LD [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slamr.o
  LD [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slusb.o
  Building modules, stage 2.
  MODPOST
  CC     
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slamr.mod.o
  CC     
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slusb.mod.o
  LD [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slamr.ko
  LD [M] 
/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers/slusb.ko
make[3]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r3'
make[2]: Leaving directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers'
make[1]: Leaving directory
`/var/tmp/portage/slmodem-2.9.10-r1/work/slmodem-2.9.10/drivers'

!!! ERROR: net-dialup/slmodem-2.9.10-r1 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! Failed to compile driver



Expected Results:  
success

------- Comment #1 From Daniel Black 2004-10-24 13:53:04 0000 -------
fixed - thankyou.

First Last Prev Next    No search results available      Search page      Enter new bug