Summary: | net-dialup/fcpcmcia fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Stefan Briesenick (RETIRED) <sbriesen> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | net-dialup, order+gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
diff for the ebuild to include my patches patch to place in $FILESDIR patch to place in $FILESDIR corrected patch for the ebuild |
Description
Diego Elio Pettenò (RETIRED)
2009-07-15 13:08:55 UTC
Created attachment 198038 [details]
Build log
I have the same problem with 2.6.30-r4 it is missing CS_SUCCESS and if one sets that manually: make[1]: Entering directory `/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src' make -C /lib/modules/2.6.30-gentoo-r4/build M=/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src modules make[2]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' CC [M] /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.o /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:29:28: error: pcmcia/version.h: No such file or directory /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c: In function 'get_tuple': /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:182: warning: passing argument 1 of 'pcmcia_parse_tuple' from incompatible pointer type /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:182: warning: passing argument 2 of 'pcmcia_parse_tuple' from incompatible pointer type /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:182: error: too many arguments to function 'pcmcia_parse_tuple' /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c: In function 'cs_config': /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:226: warning: passing argument 1 of 'pcmcia_parse_tuple' from incompatible pointer type /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:226: warning: passing argument 2 of 'pcmcia_parse_tuple' from incompatible pointer type /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.c:226: error: too many arguments to function 'pcmcia_parse_tuple' make[3]: *** [/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/fcpcmcia_cs.o] Error 1 make[2]: *** [_module_/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' make[1]: *** [fcpcmcia.ko] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src' make: *** [src/fcpcmcia.ko] Error 2 Created attachment 204754 [details, diff]
diff for the ebuild to include my patches
I did recently some patches for fcusb2 and stumbled upon this bug. I created some patches, but I have no pccard available, please give me some feedback.
The emerge works, but I can't guarantee for a working module.
Created attachment 204755 [details, diff]
patch to place in $FILESDIR
Created attachment 204757 [details, diff]
patch to place in $FILESDIR
Very Dumb Question: How do I emerge this without manually creating everything in Manifest? Ok ebuild manifest solved my problem, however, the ebuild fails: * Preparing fcpcmcia module make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR=/usr/src/linux LIBDIR=/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src all make -C /usr/src/linux M=/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src modules make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r6' CC [M] /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/main.o CC [M] /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/driver.o /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/driver.c: In function 'reset_ctrl': /var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/driver.c:572: error: implicit declaration of function 'capi_ctr_down' make[2]: *** [/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src/driver.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-dialup/fcpcmcia-0.1-r1/work/fritz/src] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r6' make: *** [fcpcmcia.ko] Error 2 Created attachment 204795 [details, diff]
corrected patch for the ebuild
Checks for kernelversion and applies fcpcmcia-capi_ctr_down.patch only for 2.6.31 or greater.
Ok I tested the last patch it builds and the card is detected. I have to test if it works though. ok i can receive (but not send) faxes with capi4hylafax. But the not send part is surely a hylafax config issue. so the patch seems to work. I had a kernel oops when pulling and plugging the card though. Konstantin Abandoned upstream. Won't work with current kernels. Closed Source. |