Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173414 - net-dialup/hcfpcimodem-1.12 fails compiling on gentoo-sources-2.6.20-r4
Summary: net-dialup/hcfpcimodem-1.12 fails compiling on gentoo-sources-2.6.20-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.20
  Show dependency tree
 
Reported: 2007-04-04 23:43 UTC by Lech Perczak
Modified: 2007-04-10 00:42 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 Lech Perczak 2007-04-04 23:43:14 UTC
Module isn't build during emerging, as usual, but after running hcfpciconfig it tries to build modules, but the process fails, it seems that it has something to do with the linux-2.6.20-gentoo-r4/scripts/gcc-version.sh script and then something with compiling

Reproducible: Always

Steps to Reproduce:
1.Install gentoo-sources-2.6.20-r4 kernel
2.Emerge hcfpcimodem-1.12 as usual
3.Finish the installation running hcfpciconfig and telling it to build its kernel modules

Actual Results:  
Build fails, and it points you to log as attached.

Expected Results:  
It should have built modules, loaded them and continued setup

Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make: execvp: ../modules/kernelcompiler.sh: Brak dostępu
(cd /lib/modules/2.6.20-gentoo-r4/build && make "CNXT_KERNELSRC=/lib/modules/2.6.20-gentoo-r4/build" "M=/usr/lib/hcfpcimodem/modules" "CC=" clean)
/usr/src/linux-2.6.20-gentoo-r4/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.20-gentoo-r4/scripts/gcc-version.sh: line 12: -E: command not found
/bin/sh: --: invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
make[1]: Wejście do katalogu `/usr/src/linux-2.6.20-gentoo-r4'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hcfpcimodem/modules/kernelcompiler.sh: Brak dostępu
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.20-gentoo-r4'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.20-gentoo-r4/build/.tmp_versions/hcfpciosspec.mod  /lib/modules/2.6.20-gentoo-r4/build/.tmp_versions/hcfpciserial.mod  /lib/modules/2.6.20-gentoo-r4/build/.tmp_versions/hcfpciengine.mod  /lib/modules/2.6.20-gentoo-r4/build/.tmp_versions/hcfpcihw.mod Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.20-gentoo-r4/build && make "CNXT_KERNELSRC=/lib/modules/2.6.20-gentoo-r4/build" "M=/usr/lib/hcfpcimodem/modules" "CC=" modules)
/usr/src/linux-2.6.20-gentoo-r4/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.20-gentoo-r4/scripts/gcc-version.sh: line 12: -E: command not found
/bin/sh: --: invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo-r4'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hcfpcimodem/modules/kernelcompiler.sh: Access denied
  CC [M]  /usr/lib/hcfpcimodem/modules/mod_engine.o
/bin/sh: -Wp,-MD,/usr/lib/hcfpcimodem/modules/.mod_engine.o.d: No such file or directory
make[2]: *** [/usr/lib/hcfpcimodem/modules/mod_engine.o] Błąd 1
make[1]: *** [_module_/usr/lib/hcfpcimodem/modules] Błąd 2
make[1]: Leaving director `/usr/src/linux-2.6.20-gentoo-r4'
make: *** [all] Error 2
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-04-09 09:13:33 UTC
This issue should have been fixed in hcfpcimodem-1.12. 
Are you sure you have *this* version installed?
Comment 2 Lech Perczak 2007-04-09 10:33:13 UTC
(In reply to comment #1)
> This issue should have been fixed in hcfpcimodem-1.12. 
> Are you sure you have *this* version installed?
> 

I'm sure it is 1.12, as I see on 173561 it is similiar but it's quite different
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-04-09 11:28:27 UTC
Do you have executable permission on your /usr/lib/hcfpcimodem/modules/kernelcompiler.sh? 
If not, do a "chmod a+x" on that file and try again. 
Comment 4 Lech Perczak 2007-04-09 17:35:57 UTC
(In reply to comment #3)
> Do you have executable permission on your
> /usr/lib/hcfpcimodem/modules/kernelcompiler.sh? 
> If not, do a "chmod a+x" on that file and try again. 
> 

It wasn't indeed. Now it worked. Thanks. But it seems that it has to be fixed upstream or in ebuild
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2007-04-10 00:27:58 UTC
Don't know why is not installed as executable yet, so I cannot report the issue to upstream.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2007-04-10 00:42:07 UTC
Fixed in hcfpcimodem-1.12-r1.