This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Because I had a lot of trouble with my brand-new Canon Pixma MP 780 myself (after migrating from XP 4 month' ago), I was motivated to contribute something to the solution of this problem. I didn't believe to be successful actually - nor that fast.
Well that's why I'm proud to present my first ebuild (for ~x86 and ~amd64)
Or get the ebuilds directly:
> scanning: [bug=138238]media-gfx/sane-pixma[/bug]
> printing: [bug=128560]net-print/bjfilter[/bug] & [bug=130645]net-print/cnijfilter[/bug]
> + printing on amd64: [bug=129352]app-emulation/emul-linux-x86-bjdeps[/bug]
Last edited by ColinK on Thu Oct 26, 2006 5:34 pm, edited 15 times in total.
Thanks for giving back. Now if I could only figure out if my i900D is compatible with any of the drivers provided... so far, the only thing I've found are commercial drivers from Germany. I would pony up the dough, but I have win2k running inside vmware when I need that printer. Oh well, at least my Brother HL-1440 works perfectly in linux.
Again, thanks and keep up the good work.
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
I searched for "canon printhead i900D". I discovered that the i900D, i905D, Pixma ip6000D printers use the same printhead. But it seems to be a different printhead as in any of the printers these drivers are designed for.
Hi Colink,
Many thanks for your effort, I'm desperatly trying to run my canon 560 on my AMD64 and still no result, so I gave a try to your ebuild, just copied and run...this is the result I get. I hope this will help you
ebuild /usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild digest
/usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild: line 99: syntax error near unexpected token `||'
/usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild: line 99: ` || die "Error: libs/autoconf.sh failed" '
!!! ERROR: net-print/bjfilter-2.50 failed.
!!! Function , Line 1765, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-print/bjfilter-2.50 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
/usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild: line 99: syntax error near unexpected token `||'
/usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild: line 99: ` || die "Error: libs/autoconf.sh failed" '
!!! ERROR: net-print/bjfilter-2.50 failed.
!!! Function , Line 1765, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-print/bjfilter-2.50 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
Traceback (most recent call last):
File "/usr/sbin/ebuild", line 71, in ?
a = portage.doebuild(ebuild, arg, portage.root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
File "/usr/lib/portage/pym/portage.py", line 2435, in doebuild
eapi = db[root][tree].dbapi.aux_get(mycpv, ["EAPI"])[0]
File "/usr/lib/portage/pym/portage.py", line 5407, in aux_get
raise KeyError
KeyError
Thanks for the ebuild, i also tryed it with my amd64 and pixma4000 and get the following error:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib64/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm221
collect2: ld returned 1 exit status
make[2]: *** [bjfilter] Error 1
make[2]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip4100/bjfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip4100/bjfilter'
make: *** [all] Error 2
!!! ERROR: net-print/bjfilter-2.50 failed.
!!! Function src_compile_pr, Line 251, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
1. Please post /var/tmp/portage/bjfilter-2.50/temp/bjfilter-2.50-pixusip4100-ppd.patch-17513.out
2. Edit the ebuild and remove line 93: "epatch ..." -> So the patch won't be applied anymore if you retry. But that doesn't matter in your case anyway.
Sorry I could not find the /var/tmp/portage/bjfilter-2.50/temp/bjfilter-2.50-pixusip4100-ppd.patch-27802.out
I tried many time to generate it but still nothing.
so I removed the patch line from the ebuild
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib64/libcnbpcmcm218.so when searching for -lcnbpcmcm218
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libcnbpcmcm218.so when searching for -lcnbpcmcm218
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcnbpcmcm218.so when searching for -lcnbpcmcm218
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm218
collect2: ld returned 1 exit status
make[2]: *** [bjfilter] Error 1
make[2]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip3100/bjfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip3100/bjfilter'
make: *** [all] Error 2
There is some kind of progress as with the other ebuilds I crashed on another library (libcnbpcnclui189.so)
hmm .. I was already interested why that patch didn't work for you - while it worked for me and bladus, as I suppose.
Does anyone know if it is possible to mix 32/64-bit? (especially if it is possible to compile a 64-bit application against 32-bit libraries?). Because that's what this is about.
I have a 32-bit enabled, in the kernel and the emul-32.xxxxx packages
I was installed some ~x86 like ACX and the canon-560 ebuild http://bugs.gentoo.org/show_bug.cgi?id=61955 but always crashed with the bjfilter
Hi ColinK
Can't wait to try it
I started the x11 modular but I will give it a try just after.
Yes I put the patch in the bjfilter/files folder
Thanks again for all your efforts
Ok I'm back
There is a little error with the dependency for emul-x86-gtklibs which should be emul-linux-x86-gtklibs. Then it stopped again, telling me I should use the multilib with GCC. I checked and Multilib was in the USE.
Anyway I think this last problem come from my station as I have 289 upgrades to do. So when I will have finished with that (and checked again that gcc is multilib....weird) I 'll come back to you. hopefully with a Great Hourra and a bottle of beer.
Ok here is my feedback after re-emerging gcc with USE=multilib FEATURES=-sandbox as indicated
# emerge bjfilter
Calculating dependencies... done!
>>> Emerging (1 of 1) net-print/bjfilter-2.50 to /
>>> checksums files bjfilter-2.4.ebuild
>>> checksums files bjfilter-2.4.0.ebuild
>>> checksums files bjfilter-2.50.ebuild
>>> checksums files files/bjfilter-2.4.patch
>>> checksums files files/digest-bjfilter-2.4
>>> checksums files files/digest-bjfilter-2.4.0
>>> checksums files files/bjfilter-2.4.0.patch
>>> checksums files files/bjfilter-2.50-pixusip4100-ppd.patch
>>> checksums files files/digest-bjfilter-2.50
>>> checksums src_uri bjfilter-common-2.50-2.src.rpm
/usr/local/portage/net-print/bjfilter/bjfilter-2.50.ebuild: line 75: has_m32: command not found
* Your compiler seems to be unable to compile 32bit code.
* Make sure you compile gcc with:
* USE=multilib FEATURES=-sandbox
!!! ERROR: net-print/bjfilter-2.50 failed.
Call stack:
ebuild.sh, line 1542: Called dyn_setup
ebuild.sh, line 654: Called pkg_setup
bjfilter-2.50.ebuild, line 80: Called die
!!! Cannot produce 32bit code
!!! If you need support, post the topmost build error, and the call stack if relevant.
I fixed some bugs. The ebuild in fact didn't copy all neccessary files. Now it does.
@Eugene33:
I removed the "has_m32"-check. So your last problem is gone now, too.
And I don't know if you really need a "USE=multilib FEATURES=-sandbox"-compiled gcc. I just studied what other ebuilds did to support AMD64. It might be possible that I misunderstood something. So you might try to switch back to your normal gcc-configuration. But you might try the new ebuild first.
!!! ERROR: net-print/bjfilter-2.50 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
bjfilter-2.50.ebuild, line 130: Called src_compile_pr
bjfilter-2.50.ebuild, line 226: Called die
The last ebuild you posted on bugs.gentoo.org compiles for me too now. Now I have to wait for the print server to arrive to actually test printing as I am too lazy to drag the printer around twice. But I will report if it works or not. Ah, did you fix the dependency for gtk+-1.2 in the ebuild?
Bye, Val.
EDIT: I remembered that I could also print to the printer when it is attached to the windows box through samba, and voila, after some setup work it worked well at first glance. I tried only simple documents now, but setting the paper size and paper source worked through the kprint dialogue.
Glad to hear it Tlaloc
Well, sadly i tried the last version and, for me, there is no change. Still crashing for the same library with the same error message.