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
This issue should have been fixed in hcfpcimodem-1.12. Are you sure you have *this* version installed?
(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
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.
(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
Don't know why is not installed as executable yet, so I cannot report the issue to upstream.
Fixed in hcfpcimodem-1.12-r1.