Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing and Scanning with Canon Pixma/Pixus Series
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 18, 19, 20  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Sat Dec 06, 2014 4:39 pm    Post subject: Reply with quote

Massimo B. wrote:
The printer works now. Feels more reliable and especially faster than the gutenprint driver, eventhough I usually prefer open source solutions and drivers hoping the Canon drivers are maintained or at least compilable in the next years.


Unless you're using `cif$PRINTER_MODEL' to print directly or network backend which are linked to propriatery blobs(libraries) (checkout the license from the installed files), printing with the USB backend uses GPL-2-ed sources provided by Canon. So, you should stick to the USB backend if you care about licensing terms. Again, check out the license/copying.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1752
Location: PB, Germany

PostPosted: Thu Jan 08, 2015 5:52 pm    Post subject: Reply with quote

Currently the cnijfilter with bjnp connection claims, the printer has no paper. Using Gutenprint over bjnp is the same, but Gutenprint over old lpd://printer/queue works fine. I tried restarting all, printer, cupsd and the complete host. Printing to the printer using some Canon driver on Android works fine. So I guess this is an issue of bjnp? Using lpd is just very slow for each page. Any idea?
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Apr 07, 2015 1:40 am    Post subject: Reply with quote

tclover,

Having now migrated my installation to abi_x86_32 multilib instead of emul-linux-x86-* multilib, I decided to try the ebuild cnijfilter-3.20.ebuild in your overlay. I had to make some small changes to get it to install and work for my PIXMA MP560:

Code:
$ cat cnijfilter-3.20.ebuild
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: net-print/cnijfilter/cnijfilter-3.20.ebuild,v 2.0 2015/04/07 02:00:00 -tclover Exp $

EAPI=5

MULTILIB_COMPAT=( abi_x86_32 )

PRINTER_USE=( "mp250" "mp270" "mp490" "mp550" "mp560" "ip4700" "mp640" )
PRINTER_ID=( "356" "357" "358" "359" "360" "361" "362" )

inherit ecnij

DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)"
HOMEPAGE="http://support-asia.canon-asia.com/content/EN/0100084101.html"
SRC_URI="http://gdlp01.c-wss.com/gds/7/0100002367/01/${PN}-source-${PV}-1.tar.gz"

IUSE="+net"
SLOT="${PV:0:1}"

DEPEND=">=net-print/cups-1.1.14[${MULTILIB_USEDEP}]"
RDEPEND="${RDEPEND}"

RESTRICT="mirror"

S="${WORKDIR}"/${PN}-source-${PV}-1

PATCHES=(
        "${FILESDIR}"/${PN}-3.70-1-libexec-cups.patch
        "${FILESDIR}"/${PN}-3.70-1-libexec-backend.patch
        "${FILESDIR}"/${PN}-${PV}-include_cups_ppd_h.patch
        "${FILESDIR}"/${PN}-${PV}-ldl.patch
        "${FILESDIR}"/${PN}-${PV}-libpng15.patch
)

Code:
$ cat files/cnijfilter-3.20-include_cups_ppd_h.patch
diff -crb old/cnijfilter-source-3.20-1/backend/src/cnij_backend_common.c new/cnijfilter-source-3.20-1/backend/src/cnij_backend_common.c
*** old/cnijfilter-source-3.20-1/backend/src/cnij_backend_common.c      2009-05-27 06:46:41.000000000 +0100
--- new/cnijfilter-source-3.20-1/backend/src/cnij_backend_common.c      2012-05-07 18:26:02.159019411 +0100
***************
*** 38,43 ****
--- 38,44 ----
  // CUPS Header
  #include <cups/cups.h>
  #include <cups/ipp.h>
+ #include <cups/ppd.h>
 
  // Header file for CANON
  #include "cnij_backend_common.h"
diff -crb old/cnijfilter-source-3.20-1/cngpijmon/src/bjcupsmon_cups.c new/cnijfilter-source-3.20-1/cngpijmon/src/bjcupsmon_cups.c
*** old/cnijfilter-source-3.20-1/cngpijmon/src/bjcupsmon_cups.c 2009-04-24 07:12:49.000000000 +0100
--- new/cnijfilter-source-3.20-1/cngpijmon/src/bjcupsmon_cups.c 2012-05-07 18:27:35.336019312 +0100
***************
*** 20,25 ****
--- 20,26 ----
  /*** Includes ***/
  #include <cups/cups.h>
  #include <cups/language.h>
+ #include <cups/ppd.h>
  #include <sys/types.h>
  #include <unistd.h>
  #include <pwd.h>

Code:
$ cat files/cnijfilter-3.20-ldl.patch
diff -crb old/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am new/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am
*** old/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am  2009-04-24 07:12:49.000000000 +0100
--- new/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am  2012-05-07 19:05:32.308016869 +0100
***************
*** 5,11 ****
  cnijnpr_SOURCES=\
        cnijnpr.c
 
! cnijnpr_LDADD = -lcnnet -lbscc2sts
  cnijnpr_LDFLAGS = -L../../../com/libs_bin -L../../../lgmon/src
 
  #AM_CFLAGS= -O2 -Wall
--- 5,11 ----
  cnijnpr_SOURCES=\
        cnijnpr.c
 
! cnijnpr_LDADD = -lcnnet -lbscc2sts -ldl
  cnijnpr_LDFLAGS = -L../../../com/libs_bin -L../../../lgmon/src
 
  #AM_CFLAGS= -O2 -Wall

Code:
$ cat files/cnijfilter-3.20-libpng15.patch
diff -crb old/cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c new/cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c
*** old/cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c      2009-03-26 05:11:05.000000000 +0000
--- new/cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c      2012-05-07 19:11:24.387016491 +0100
***************
*** 945,952 ****
        short                   tmpformat;
        short                   retbyte = 0;
        short                   bpp = 3;
!       long                    width = 0;
!       long                    length = 0;
        long                    maxvalue = 0;
        long                    rstep = 0;
        long                    RasterLength = 0;
--- 945,952 ----
        short                   tmpformat;
        short                   retbyte = 0;
        short                   bpp = 3;
!       png_uint_32             width = 0;
!       png_uint_32             length = 0;
        long                    maxvalue = 0;
        long                    rstep = 0;
        long                    RasterLength = 0;
***************
*** 1574,1580 ****
                goto onErr;
        }
 
!       if (setjmp (png_p->jmpbuf))
        {
                png_destroy_read_struct(&png_p, &info_p, (png_infopp)NULL);
                goto onErr;
--- 1574,1580 ----
                goto onErr;
        }
 
!       if (setjmp (png_jmpbuf(png_p)))
        {
                png_destroy_read_struct(&png_p, &info_p, (png_infopp)NULL);
                goto onErr;

Code:
$ cat /etc/portage/package.use | grep cnijfilter-3.20
=net-print/cnijfilter-3.20 backends drivers mp560 -servicetools net -gtk abi_x86_32

Code:
$ cat /etc/portage/package.use | grep libglade
gnome-base/libglade abi_x86_32

Code:
$ eix -I cnijfilter
[I] net-print/cnijfilter
     Available versions: 
     (3)    (~)3.20^m[1]
     (0)    [m](~)3.80[2]
       {backends debug +drivers gtk ip4700 mp250 mp270 mp490 mp550 mp560 mp640 +net (+)servicetools +usb ABI_X86="32"}
     Installed versions:  3.20(3)^m[1](02:07:27 07/04/15)(backends drivers mp560 net usb -debug -gtk -ip4700 -mp250 -mp270 -mp490 -mp550 -mp640 -servicetools ABI_X86="32")
     Homepage:            http://support-sg.canon-asia.com/contents/SG/EN/0100469302.html
     Description:         Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series).

[1] "local_overlay" /usr/local/portage
[2] "sabayon" /var/lib/layman/sabayon

As far as my PIXMA MP510 is concerned, I don't think I will be able to get your cnijfilter-2.70 ebuild to install, as it wants gtk+:1[abi_x86_32], which is not available in the Portage tree. So I will use the Gutenprint driver for the MP510.

You might need to update slightly the 3.20 ebuild and some of the patch files for the 3.20 ebuild as shown above. Thanks for your work on the ebuilds.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Tue Apr 07, 2015 6:29 am    Post subject: Reply with quote

cnij-filters-2.70 needs gtk+:1 only for its servicetools. You can use "ink" as a replacement to see the ink level, though I don't know about replacements for the other maintenance functions. You won't need these if you print regularly, but maybe wine or a parallel install of windows can get you these.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Apr 07, 2015 1:57 pm    Post subject: Reply with quote

You're right, Small_Penguin. I managed to merge tclover's slotted ebuild cnijfilter-2.70.ebuild[abi_x86_32] with USE="-gtk -servicetools". However, I could not get the driver to print to the PIXMA MP510, whatever the setting of USE flags drivers and backends, and the PIXMA MP560 would no longer print until I re-merged the modified ebuild cnijfilter-3.20.ebuild I posted earlier today. So I have reverted to the Gutenprint driver for the MP510. As the MP560 is my main printer at home, that's fine.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Sun Apr 12, 2015 4:17 pm    Post subject: Reply with quote

Hi

I too am having problems with multilib. I have Pixma MG5250 and it worked fine until I updated the system. I had to remove cnijfilter to get everything else to update. Now I cannot re-install. I need 3.40 of the driver and there does not seem to be a valid ebuild in any overlay. Can someone please help.

I have tried to use the gutenprint driver and am getting all black pages and cannot afford to print too many more pages !!

Thanks

Chris Prior
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Apr 13, 2015 9:12 pm    Post subject: Reply with quote

@fitzcarraldo: I don't see any difference... you could have highlighted the change and used unified output to simplify reading. Giving up... or else, you can help by opening an issue and providing the change on the ticket or else make it stand out. You've obviously changed the order and name of the patches... but the diffs are same like the previous patches. What are the changes again?

NOTE: 2.70 should work... my printer that used to use this ebuild almost died and refuse to print anything, it's just printing empty pages... it seems to be CHNAGE PRINTER BECAUSE THIS ONE IS OLD(tm). Not changing anything atm especially Cannon(tm) one.

@cmprior: You might try my overlay because it has a cnijfilter-3.40 with multilib support. Good luck.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Tue Apr 14, 2015 7:54 pm    Post subject: Reply with quote

Hi tclover

Thanks for the overlay information. I am now getting a failure for emerge.

Code:
Makefile:392: recipe for target 'bjcupsmon_cups.o' failed
make[2]: *** [bjcupsmon_cups.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.40/work/cnijfilter-source-3.40-1/mg5200/cngpijmon/src'
Makefile:363: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.40/work/cnijfilter-source-3.40-1/mg5200/cngpijmon'
Makefile:303: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-print/cnijfilter-3.40::bar failed (compile phase):
 *   emake failed

I used abi_x86_64 - not sure if that makes any difference.

Code:
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r2, 3.18.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.9-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2
KiB Mem:    16434608 total,    143684 free
KiB Swap:    8388604 total,   8369468 free
Timestamp of tree: Fri, 10 Apr 2015 18:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.7.3-r1, 4.8.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo proaudio gentoo-zh zugaina bar
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/gentoo-zh /var/lib/layman/zugaina /var/lib/layman/bar"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode epub exif fam firefox flac fontconfig fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libav libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upnp upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmext popcnt sse sse2 sse3 sse4a upnp avahi zeroconf fontconfig epub zlib pulseaudio" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-
console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Code:
emerge --pqv
[ebuild  N    ] net-print/cnijfilter-3.40  USE="backends doc drivers gtk mg5200 net usb -debug -ip4800 -mg5100 -mg6100 -mg8100 -mp250 -mp280 -mp495 -servicetools" ABI_X86="(64) -32"


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Apr 14, 2015 9:09 pm    Post subject: Reply with quote

tclover, your patch cnijfilter-3.10-1-libdl.patch to cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am looks like this:

Code:
--- a/cngpijmon/cnijnpr/cnijnpr/Makefile.am   2014-08-05 10:25:42.657977618 +0200
+++ b/cngpijmon/cnijnpr/cnijnpr/Makefile.am   2014-08-05 10:26:10.558977413 +0200
@@ -3,7 +3,7 @@
 cnijnpr_SOURCES=\
    cnijnpr.c
 
-cnijnpr_LDADD = -lcnnet
+cnijnpr_LDADD = -lcnnet -ldl
 cnijnpr_LDFLAGS = -L../../../com/libs_bin
 
 #AM_CFLAGS= -O2 -Wall

The patch cnijfilter-3.20-ldl.patch to cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am I have to use in order to get cnijfilter-3.20 to build is shown again below. They are different.

Code:
diff -crb old/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am new/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am
*** old/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am  2009-04-24 07:12:49.000000000 +0100
--- new/cnijfilter-source-3.20-1/cngpijmon/cnijnpr/cnijnpr/Makefile.am  2012-05-07 19:05:32.308016869 +0100
***************
*** 5,11 ****
  cnijnpr_SOURCES=\
        cnijnpr.c
 
! cnijnpr_LDADD = -lcnnet -lbscc2sts
  cnijnpr_LDFLAGS = -L../../../com/libs_bin -L../../../lgmon/src
 
  #AM_CFLAGS= -O2 -Wall
--- 5,11 ----
  cnijnpr_SOURCES=\
        cnijnpr.c
 
! cnijnpr_LDADD = -lcnnet -lbscc2sts -ldl
  cnijnpr_LDFLAGS = -L../../../com/libs_bin -L../../../lgmon/src
 
  #AM_CFLAGS= -O2 -Wall

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
carlosalvatore
n00b
n00b


Joined: 22 Nov 2011
Posts: 13

PostPosted: Fri Feb 26, 2016 1:08 am    Post subject: Re: What to do if CUPS does not recognise MP560 as a printer Reply with quote

Hi, there!

The usb rule was enough for me to make the printer visible by CUPS.

Yet, in my case the usb vendor and product id was: 04a9:1746
The printer-scanner model is Canon MP-280.

Code:
# nano /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04a9", ATTR{idProduct}=="173e", MODE:="0660", GROUP:="lp"


I'll be trying to setup the scanner later night.

Thank you, Fitzcarraldo!

See ya all. Greetings from Mexico.

Fitzcarraldo wrote:
I installed the printer driver cnijfilter-3.20-r3 for the MP560 on one machine running ~x86 arch, but CUPS did not recognise a Canon MP560 connected via USB cable.

dmesg showed the following:
Code:
[ 4409.989087] usb 1-6: new high speed USB device using ehci_hcd and address 8
[ 4410.109737] scsi13 : usb-storage 1-6:1.2
[ 4411.113810] scsi 13:0:0:0: Direct-Access     Canon    MP560 series     0104 PQ: 0 ANSI: 2
[ 4411.116803] sd 13:0:0:0: Attached scsi generic sg4 type 0
[ 4411.122393] sd 13:0:0:0: [sdd] Attached SCSI removable disk

lsusb showed the following:
Code:
Bus 001 Device 008: ID 04a9:173e Canon, Inc.
Bus 001 Device 006: ID 0bc2:3300 Seagate RSS LLC
Bus 001 Device 005: ID 0bc2:3300 Seagate RSS LLC
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 002 Device 002: ID 045e:00d1 Microsoft Corp. Optical Mouse with Tilt Wheel
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

tail -f /var/log/messages showed the following when I plugged in the USB cable:
Code:
Mar 19 19:08:47 asrockion330ht kernel: [ 6155.789088] usb 1-4: new high speed USB device using ehci_hcd and address 10
Mar 19 19:08:47 asrockion330ht kernel: [ 6155.909407] scsi15 : usb-storage 1-4:1.2
Mar 19 19:08:47 asrockion330ht udev-configure-printer: add /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1
Mar 19 19:08:47 asrockion330ht udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:04.1/usb1/1-4
Mar 19 19:08:47 asrockion330ht udev-configure-printer: Device vendor/product is 04A9:173E
Mar 19 19:08:47 asrockion330ht udev-configure-printer: MFG:Canon MDL:MP560 series SERN:- serial:1653C4
Mar 19 19:08:48 asrockion330ht kernel: [ 6156.912113] scsi 15:0:0:0: Direct-Access     Canon    MP560 series     0104 PQ: 0 ANSI: 2
Mar 19 19:08:48 asrockion330ht kernel: [ 6156.914440] sd 15:0:0:0: Attached scsi generic sg4 type 0
Mar 19 19:08:48 asrockion330ht kernel: [ 6156.921613] sd 15:0:0:0: [sdd] Attached SCSI removable disk
Mar 19 19:08:48 asrockion330ht udev-configure-printer: no corresponding CUPS device found

The contents of /etc/udev/rules.d/ was:
Code:
# ls
41-libsane.rules     66-kpartx.rules          70-xorg-vboxmouse.rules              77-mm-platform-serial-whitelist.rules  77-mm-zte-port-types.rules  90-hal.rules     lirc.rules~
52-usx2yaudio.rules  70-infrared.rules        77-mm-ericsson-mbm.rules             77-mm-simtech-port-types.rules         77-nm-olpc-mesh.rules       99-fuse.rules
65-mtp.rules         70-persistent-cd.rules   77-mm-longcheer-port-types.rules     77-mm-usb-device-blacklist.rules       80-libnjb.rules             99-ntfs3g.rules
65-multipath.rules   70-persistent-net.rules  77-mm-pcmcia-device-blacklist.rules  77-mm-x22x-port-types.rules            80-mm-candidate.rules       lirc.rules

From the output of lsusb I could see what the USB bus and device were (001 and 010, respectively), so I checked the device:
Code:
# ls -la /dev/bus/usb/001/010
crw-rw-r-- 1 root scanner 189, 9 Mar 19 19:08 /dev/bus/usb/001/010

So the MFP was being seen as only a scanner.
Therefore I created a new rule for udev, using the Vendor ID (04a9) and Product ID (173e) displayed by lsusb:
Code:
# nano /etc/udev/rules.d/10-usbprinter.rules
# cat /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04a9", ATTR{idProduct}=="173e", MODE:="0660", GROUP:="lp"
#

Then I rebooted, launched the CUPS browser manager http://localhost:631/ and my printer was detected. From there I could go ahead and install it using Add Printer as usual.

_________________
Cowabunga!
Back to top
View user's profile Send private message
carlosalvatore
n00b
n00b


Joined: 22 Nov 2011
Posts: 13

PostPosted: Sat Feb 27, 2016 2:04 pm    Post subject: Reply with quote

Hi again,

scanner worked right by emerging sane-backends and xsane. I set SANE_BACKENDS="pixma" at /etc/portage/make.conf in order to add support for Canon MP-series

Then I added the vendor:product_id to /etc/sane.d/pixma.conf
Code:
usb 0x04a9:0x1746


There was a problem with permissions. So after adding the printer with cups I changed the udev rule, by replacing lp group with scanner group. In /etc/udev/rules.d/10-usbprinter.rules
Code:
ATTR{idVendor}=="04a9", ATTR{idProduct}=="173e", MODE:="0660", GROUP:="scanner"


After that I added the lp group to the scanner group and viceversa.

Regards and good luck.
_________________
Cowabunga!
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Sat Nov 05, 2016 10:59 am    Post subject: Reply with quote

In the next days I receive a canon pixma mx925. I think, scanning is no problem with SANE_BACKENDS="pixma".

And for printing I tried the cnijfilter-3.90 form the baar-overlay. I emerge it on this was: net-print/cnijfilter-3.90:3::bar USE="backends doc drivers gtk net servicetools usb -debug" ABI_X86="(64) -32" CANON_PRINTERS="mx920 -e660 -mx390 -mx450 -mx520 -mx720"

I get the following error :
Code:
bjcupsmon_cups.c: In function ‘checkPrinterState’:
bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type ‘ipp_t {aka struct _ipp_s}’
   pRequest->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;
           ^~
bjcupsmon_cups.c:234:44: error: dereferencing pointer to incomplete type ‘ipp_attribute_t {aka struct _ipp_attribute_s}’
      printerState = (ipp_state_t)pAttribute->values[0].integer;
                                            ^~
make[2]: *** [Makefile:403: bjcupsmon_cups.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon/src'
make[1]: *** [Makefile:375: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon'
make: *** [Makefile:316: all] Error 2
 * ERROR: net-print/cnijfilter-3.90::bar failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cnijfilter-3.90::bar'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cnijfilter-3.90::bar'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-3.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-3.90/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon'
 * S: '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1'

>>> Failed to emerge net-print/cnijfilter-3.90,


A reported this ug with the full bug report to bugzilla, but no reaction. Is there another way to use this printer, perhaps gutenprint?

Edit: Ok, I read a little bit more in this thread and whitout gtk and servicetools I can compile the driver.
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Nov 14, 2016 8:53 am    Post subject: Reply with quote

Klaus Meier wrote:
In the next days I receive a canon pixma mx925. I think, scanning is no problem with SANE_BACKENDS="pixma".

Yes scanning should be no problem these days, however...

Klaus Meier wrote:
And for printing I tried the cnijfilter-3.90 form the baar-overlay. I emerge it on this was: net-print/cnijfilter-3.90:3::bar USE="backends doc drivers gtk net servicetools usb -debug" ABI_X86="(64) -32" CANON_PRINTERS="mx920 -e660 -mx390 -mx450 -mx520 -mx720"

I get the following error :
Code:
bjcupsmon_cups.c: In function ‘checkPrinterState’:
bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type ‘ipp_t {aka struct _ipp_s}’
   pRequest->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;
           ^~
bjcupsmon_cups.c:234:44: error: dereferencing pointer to incomplete type ‘ipp_attribute_t {aka struct _ipp_attribute_s}’
      printerState = (ipp_state_t)pAttribute->values[0].integer;
                                            ^~
make[2]: *** [Makefile:403: bjcupsmon_cups.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon/src'
make[1]: *** [Makefile:375: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon'
make: *** [Makefile:316: all] Error 2
 * ERROR: net-print/cnijfilter-3.90::bar failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cnijfilter-3.90::bar'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cnijfilter-3.90::bar'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-3.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-3.90/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1/mx920/cngpijmon'
 * S: '/var/tmp/portage/net-print/cnijfilter-3.90/work/cnijfilter-source-3.90-1'

>>> Failed to emerge net-print/cnijfilter-3.90,


A reported this ug with the full bug report to bugzilla, but no reaction. Is there another way to use this printer, perhaps gutenprint?

Edit: Ok, I read a little bit more in this thread and whitout gtk and servicetools I can compile the driver.

Should be fixed.

And know enabling +servicetools USE flag should work as well thanks to spremi.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Mon Nov 14, 2016 8:56 am    Post subject: Reply with quote

Yes, everything works fine now.
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 707
Location: Sota algun pi o alzina...

PostPosted: Fri Dec 02, 2016 6:38 pm    Post subject: Reply with quote

hi i am using gutenprint with my mg5550 , it works buy quality of color is not much good not like windows.

i am trying with net-print/cnijfilter-4.10-r2 but seems not suport for my printer, then i use the canonmg5500.ppd from of cnijfilter-source-4.00-1.tar.gz, it seems ok but then not detection of printer and have to return to gutenprint again.



the printer is working but at low quality

:(
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
Back to top
View user's profile Send private message
mfld-fr
n00b
n00b


Joined: 04 Sep 2017
Posts: 1

PostPosted: Mon Sep 04, 2017 11:10 am    Post subject: Reply with quote

Hello there,

Long discussions about this topic in many locations, many patches, many overlays, many repositories, etc, but at the end, no integration at all in the official Gentoo repository since more than 10 years now, despite valuable proposals, tries and fixes in this forum, Bugzilla or Github.

Candid question: what is still going wrong to get support of our Canon printers in the mainstream ?

I opened a PR on Github to add the 3.80 patched version as an official package (because my printer is an IP7250). I sourced from the Sabayon overlay as a first step, and I am considering merging from other sources, like the Bar overlay (thanks to tclover !).

Anyone interested in that mainstream integration could help by reviewing the PR:
https://github.com/gentoo/gentoo/pull/5595

If this PR is accepted, then we could submit others to upgrade the common part up to 4.10 (net-print/cnijfilter package), and to consolidate the printer model specific parts from 3.80 to 4.10 (net-print/cnijfilter-drivers package).

That work has already been performed in many overlays, or in many repositories targeting other distributions, so we just have to cherry pick. The only non-obvious task is to list the printer models that are needed at that time, to avoid wasting our time.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1752
Location: PB, Germany

PostPosted: Tue Oct 31, 2017 6:14 pm    Post subject: Reply with quote

Hi, again I don't get that Canon Pixma MX920 working.
I installed USE="-abi_x86_32" emerge -autv net-print/cnijfilter from bar Overlay, wasn't building without that use flag. The broadcast for new network printers did find the device as cnijnet:/F4-81-39-95-AE-2C, but I got in the cups error log: "cannot load library(336)"
The PPD file I extracted from http://support-asia.canon-asia.com/contents/ASIA/EN/0100517002.html
So what did I do wrong here?

The only combination I got working is lpd://printer/queue and the Gutenprint driver. But afaik the lpd:// is the old protocol and not recommended? And it is very slow here when printing.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Mon Nov 27, 2017 8:18 pm    Post subject: Reply with quote

Hello,

I'm trying to install our new Canon Pixma MG4250 ...
So I installed net-print/cnijfilter as bellow
Code:
[ebuild   R   ~] net-print/cnijfilter-4.10-r2:3/4.10::bar  USE="cups doc net usb -debug -servicetools" ABI_X86="(64) -32" CANON_PRINTERS="-e400 -e560 -ip2800 -ip8700 -ix6700 -ix6800 -mx470 -mx530" 0 KiB


I restarted cups ... and even rebooted by PC after a first failing attempt.
And then, as emerge said, I went to cups "Printers/Add Printer" but didn't seen any change.
How cnijfilter is supposed to be displayed in Cups ?

Thanks

Laurent
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Nov 27, 2017 10:08 pm    Post subject: Reply with quote

destroyedlolo,

I'm curious why you decided to install net-print/cnijfilter-4.10-r2. That version of the package does not have printer-model USE flags -- none of which you appear to have enabled, by the way -- relevant to your model (MG4250). I'm not sure about the ebuilds in the bar overlay, but my guess is that cnijfilter-3.80-r2.ebuild would be more appropriate for the MG4250 model, as it has a USE flag "mg4200", so you could try:

Code:
# USE="mg4200" emerge =cnijfilter-3.80-r2


If that doesn't work, apparently the package net-print/gutenprint supports the Canon MG4250, so you could try that:

Code:
# emerge gutenprint

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Tue Nov 28, 2017 7:07 pm    Post subject: Reply with quote

Oups, you're right.

Unfortunately, it won't compile :

Code:
x86_64-pc-linux-gnu-gcc  -O2 -L../../405/libs_bin64 -Wl,-O1 -Wl,--as-needed -o cif bjferror.o bjfilter.o bjfimage.o bjfoption.o bjfpos.o bjfrcaccess.o getipc.o bjflist.o -lcnbpcmcm405 -lcnbpess405 -lm -ldl -ltiff -lpng -lcnbpcnclapi405 -lcnbpcnclbjcmd405 -lcnbpcnclui405 -lpopt
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm405
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpess405
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:361: cif] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-print/cnijfilter-3.80-r2/work/cnijfilter-3.80/mg4200/cnijfilter/src'


I duno if these libraries are supposed to come from cnijfilter or externally.
Back to top
View user's profile Send private message
mederel
n00b
n00b


Joined: 26 Aug 2015
Posts: 3

PostPosted: Sun Jan 28, 2018 8:04 am    Post subject: Scangear MP ebuild for MG2550, v2.20 Reply with quote

I don't know if it will help anyone but I have used the ebuild from gentoo-zh overlay and adapted it to build v2.20 of the scanner driver (ScanGear MP) from Canon. I works quite well, using Gimp and the Gimp plugin.

https://github.com/mederel/mederel-overlay/tree/master/media-gfx/scangearmp

Versions I have of dependencies:
- gimp 2.9.8
- gtk+ 2.24.31-r1 and 3.22.19
- virtual/libusb 0-r2 and 1-r2

Only problem it is that the output does not respect Gentoo guidelines obviously. I can see a lot of error messages or warnings. Also by ldconfig that the lib produced are not symlinks.

I am a bit lost to be honest and I do not know how to clean the ebuild. Has anyone any idea how to make things better?[/list]
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Thu Nov 29, 2018 10:55 pm    Post subject: Reply with quote

Well ... finally I got cnijfilter installed.

When the ebuild is falling, I copy libraries manually :

Code:
mv /var/tmp/portage/net-print/cnijfilter-3.80-r2/work/cnijfilter-3.80/405/libs_bin64/ /usr/lib64/

I did it twice.

After, I copied
Code:
cp ./work/cnijfilter-3.80/pstocanonij/filter/pstocanonij /usr/libexec/cups/filter/pstocanonij


I'm still not printing but at least, I don't have error anymore in cups.

The fight is continuing ...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Fri Nov 30, 2018 2:05 am    Post subject: Reply with quote

As I understand your message, you also set yourself up for file collisions going forward. You should fix the ebuild and let it install the files through Portage, so that they are tracked properly.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Fri Nov 30, 2018 9:35 am    Post subject: Reply with quote

Hi Hu,

First of all, I need to be able to print : for the moment, I solved to compilation issues as well as CUPS error, but nothing is printed as per the test I did yesterday.

Anyway, I'm not enough confident with ebuild processes to solved this : probably a patch has to be done in makefiles as it's mostly a linking path issue.

Bye

Laurent
Back to top
View user's profile Send private message
MrBrutico
n00b
n00b


Joined: 01 Jan 2015
Posts: 53

PostPosted: Mon Jul 08, 2019 4:01 pm    Post subject: Reply with quote

Hello I'm trying to install from the ebuild http://gpo.zugaina.org/AJAX/Ebuild/22477475/Viewand I get this error.
My printer is from the mx920 series

Code:
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -L../../libs/paramlist -Wl,-O1 -Wl,--as-needed -o cngpij bjcups.o getipc.o bjutil.o -lpopt -lcups -lparamlist  -lpopt -lcups
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -Wl,-O1 -o cngpij bjcups.o getipc.o bjutil.o  -L../../libs/paramlist -Wl,--as-needed /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs/paramlist/.libs/libparamlist.a -lpopt -lcups
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij/cngpij'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
>>> Source compiled.
>>> Test phase [not enabled]: net-print/cnijfilter-3.90-r2

>>> Install net-print/cnijfilter-3.90-r2 into /tmp/portage/net-print/cnijfilter-3.90-r2/image/
libs
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs'
Making all in paramlist
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs/paramlist'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs/paramlist'
Making all in buftool
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs/buftool'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs/buftool'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/libs'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
pstocanonij
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij'
Making all in filter
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij/filter'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij/filter'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/pstocanonij'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
backend
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
Making all in src
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend/src'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
backendnet
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet'
Making all in lmonitor
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet/lmonitor'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet/lmonitor'
Making all in backend
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet/backend'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet/backend'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backendnet'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
backend
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
Making all in src
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend/src'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/backend'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
cngpij
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
Making all in cngpij
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij/cngpij'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij/cngpij'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/cngpij'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
cnijfilter
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter'
Making all in src
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/src'
Making all in include
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include'
Making all in cncl
make[3]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include/cncl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include/cncl'
Making all in misc
make[3]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include/misc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include/misc'
make[3]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter/include'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cnijfilter'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
lgmon
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon'
Making all in src
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/src'
Making all in include
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include'
Making all in cncl
make[3]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include/cncl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include/cncl'
make[3]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon/include'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/lgmon'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
cngpijmon
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon'
Making all in po
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/po'
Making all in src
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/src'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
cngpijmon/cnijnpr
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
make -j17 'DESTDIR="/tmp/portage/net-print/cnijfilter-3.90-r2/image/" install'
make  all-recursive
make[1]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr'
Making all in cnijnpr
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr/cnijnpr'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr/cnijnpr'
make[2]: Entering directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr'
make[2]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr'
make[1]: Leaving directory '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920/cngpijmon/cnijnpr'
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/mx920 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/417/libs_bin64 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90/com/libs_bin64 /tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90
/tmp/portage/net-print/cnijfilter-3.90-r2/temp/environment: line 1111: CA_ES: command not found
>>> Completed installing net-print/cnijfilter-3.90-r2 into /tmp/portage/net-print/cnijfilter-3.90-r2/image/

 * Final size of build directory: 58520 KiB (57.1 MiB)
 * Final size of installed tree:   1528 KiB ( 1.4 MiB)

 * QA Notice: command not found:
 *
 *      /tmp/portage/net-print/cnijfilter-3.90-r2/temp/environment: line 1111: CA_ES: command not found
 * QA Notice: Unrecognized configure options:
 *
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-libpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 *      --enable-progpath
 * QA Notice: udev rules should be installed in /lib/udev/rules.d:
 *
 *   /etc/udev/rules.d/81-canonij_prn.rules
 *
Files matching a file type that is not allowed:
   usr/lib/libcnnet.so.1.2.2
   usr/lib/libcnbpo417.so.1.0.1
   usr/lib/libcnbpess417.so.4.1.3
   usr/lib/libcnbpcnclui417.so.3.9.0
   usr/lib/libcnbpcnclbjcmd417.so.3.3.0
   usr/lib/libcnbpcnclapi417.so.3.9.0
   usr/lib/libcnbpcmcm417.so.8.10.1
 * ERROR: net-print/cnijfilter-3.90-r2::bar failed:
 *   multilib-strict check failed!
 *
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 *
 * If you need support, post the output of `emerge --info '=net-print/cnijfilter-3.90-r2::bar'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cnijfilter-3.90-r2::bar'`.
 * The complete build log is located at '/tmp/portage/net-print/cnijfilter-3.90-r2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-print/cnijfilter-3.90-r2/temp/environment'.
 * Working directory: '/tmp/portage/net-print/cnijfilter-3.90-r2/image'
 * S: '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90'

 * Messages for package net-print/cnijfilter-3.90-r2:

 * ERROR: net-print/cnijfilter-3.90-r2::bar failed:
 *   multilib-strict check failed!
 *
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 *
 * If you need support, post the output of `emerge --info '=net-print/cnijfilter-3.90-r2::bar'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cnijfilter-3.90-r2::bar'`.
 * The complete build log is located at '/tmp/portage/net-print/cnijfilter-3.90-r2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-print/cnijfilter-3.90-r2/temp/environment'.
 * Working directory: '/tmp/portage/net-print/cnijfilter-3.90-r2/image'
 * S: '/tmp/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (net-print/cnijfilter-3.90-r2:3/3.90::bar, ebuild scheduled for merge), Log file:
 *   '/tmp/portage/net-print/cnijfilter-3.90-r2/temp/build.log'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... , 18, 19, 20  Next
Page 19 of 20

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum