Trying to emerge fritzcapi, I run into 1. missing include file linux/config.h 2. sandbox violations for astest For 1. I will attach a fixed ebuild, while 2. depends on bug 149307.
Created attachment 100883 [details] fritzcapi-2.6.43.ebuild with s/config.h/autoconf.h/ Changes: 1. change linux/config.h to linux/autoconf.h inspired by bug 151317 comment 1 2. drop dodir /etc as baselayout should ensure this 3. keepdir /lib/firmware as dodir doesn't behave well when upgrading Note that SRC_URI is no longer available, but I found no alternative so far. --- /usr/portage/net-dialup/fritzcapi/fritzcapi-2.6.43.ebuild +++ /usr/local/portage/net-dialup/fritzcapi/fritzcapi-2.6.43.ebuild @@ -114,12 +114,13 @@ sed -i "s:\$(PWD)/../lib/driver-lib.o:${S}/e2220pc/lib/driver-lib.o:" ${i} convert_to_m ${i} done + find -name \*.[hc] -print0 | xargs -0 sed -i 's:#include <linux/config\.h>:#include <linux/autoconf.h>:' } src_install() { linux-mod_src_install - dodir /lib/firmware /etc + keepdir /lib/firmware [ "${FRITZCAPI_BUILD_TARGETS/xusb_CZ/}" != "${FRITZCAPI_BUILD_TARGETS}" ] && \ dodoc "${S}/fritz.xusb_CZ/README.fxusb_CZ"
Stefan, can you take care of this?
The source is no longer available from SuSE. Not much we can do about this. By looking in the AVM ftp://ftp.avm.de/cardware/ I see that the drivers all seem to be in End of Maintainance state. So really - time to use the misdn driver ;) Just sad that misdn cannot do fcusb2. I will fix this and my other kernel mod ebuilds as soon as the depend bug is fixed and I get a working 2.6.19 up somewhere. In the meantime I mailed kkeil to ask about the suse tarball.
(In reply to comment #3) > By looking in the AVM ftp://ftp.avm.de/cardware/ I see that the drivers all > seem to be in End of Maintainance state. So really - time to use the misdn > driver ;) According to the isdn4linux list mISDN does not support Fax - at least as of 2006-07-24 that is. That is the main reason I switched back to the closed source drivers. > Just sad that misdn cannot do fcusb2. I will fix this and my other kernel mod > ebuilds as soon as the depend bug is fixed and I get a working 2.6.19 up > somewhere. Thanks. > In the meantime I mailed kkeil to ask about the suse tarball. Hope it gets moved somewhere where people can at least toy with it, even if noone feels particularly inclined to be officially responsible for the thing.
(In reply to comment #3) > time to use the misdn driver ;) misdn 1.0.4 doesn't compile with 2.6.19 - not only because of the sandbox violations. misdn also tried to include linux/config.h, which does not exist anymore in 2.6.19.
*** Bug 156808 has been marked as a duplicate of this bug. ***
thanks, I added this ebuild. I am hoping to find a better source for the download too
Just for the record: a patch referenced by bug 163366 comment 3 addresses the missing config.h by simply removing the corresponding include file. Never touch a running system, so I'd leave it as it is, but let's keep this in mind in case the switch to autoconf.h causes trouble one day.