Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598868 - net-print/cnijfilter-3.90:3::bar failed to build.
Summary: net-print/cnijfilter-3.90:3::bar failed to build.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-03 15:43 UTC by klaus818
Modified: 2016-11-14 07:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.bz2,8.88 KB, application/x-bzip2)
2016-11-03 15:43 UTC, klaus818
Details
Build log from cnijfilter-3.90-r2 with +gtk -servicetools (build.log.bz2,8.60 KB, application/x-bzip)
2016-11-13 14:45 UTC, klaus818
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2016-11-03 15:43:28 UTC
Created attachment 452266 [details]
build.log

I tried to build 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" and get some errors.
Comment 1 klaus818 2016-11-03 15:44:36 UTC
Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r2, 4.8.2-gentoo x86_64)
=================================================================
System uname: Linux-4.8.2-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.3
KiB Mem:     3902840 total,    378884 free
KiB Swap:    8191996 total,   8191996 free
Timestamp of repository gentoo: Thu, 03 Nov 2016 09:00:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo, 6.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /mnt/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bar
    location: /var/lib/layman/bar
    sync-type: laymansync
    sync-uri: git://github.com/tokiclover/bar-overlay.git
    masters: gentoo
    priority: 50

c2p-overlay
    location: /var/lib/layman/c2p-overlay
    sync-type: laymansync
    sync-uri: https://github.com/karolgrudzinski/c2p-overlay.git
    masters: gentoo
    priority: 50

mv
    location: /var/lib/layman/mv
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/mv.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dri3 dropbox dts dvd dvdr emboss encode exif fam ffmpeg fingerprint firefox flac fortran gdbm gif glamor google gpm gtk iconv ipv6 jpeg kde kipi lame lastfm lcms ldap libnotify lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf pdfimport pgo phonon pim plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline scanner sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg sync-plugin-portage system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vc vorbis vpx widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 No Name 2016-11-05 21:18:31 UTC
Hello klaus,

try to built it with -servicetools -gtk and maybe -net USE flags.
This worked at least for version 2.70.

Hope this helps.
Comment 3 klaus818 2016-11-06 09:28:26 UTC
Ok, thank you, that's it! Thank you very much.

And now the next problem. I can compile net-print/cnijfilter-3.90 on my KDE system without problems now, but on my Gnome system on the same pc with almost the same settings I get this:

!!! All ebuilds that could satisfy "=net-print/cnijfilter-3.90" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-print/cnijfilter-3.90::bar (masked by: invalid: REQUIRED_USE: USE flag '+canon_printers_mx920' is not in IUSE)

I tried to set CANON_PRINTERS to something else (no mx920 is set on my system), but every time the same message.
Comment 4 No Name 2016-11-06 22:42:51 UTC
Please try to remove and re-add the overlay.

I was affected by the same kind of bug, using 2.70 drivers. I don't know if this exactly fixed it. Please test and report, otherwise I will take a closer look at it.
Comment 5 klaus818 2016-11-07 11:18:05 UTC
I try it. But it doesn't change anything.
Comment 6 klaus818 2016-11-12 09:55:19 UTC
Please help me. Next week I receive this printer and I had to print...

I don't know what's happened. At the moment I can't build this driver on my KDE-System too.
Comment 7 klaus818 2016-11-12 09:56:45 UTC
Please help me. Next week I receive this printer and I had to print...

I don't know what's happened. At the moment I can't build this driver on my KDE-System too.
Comment 8 klaus818 2016-11-12 10:24:37 UTC
At the moment it looks like cnijfilter-3.90 is masked. When I update my system, I see an downgrade from net-print/cnijfilter-3.90 to net-print/cnijfilter-3.80.

But net-print/cnijfilter-3.90 is the only driver with the mx920 flag.
Comment 9 tokiclover 2016-11-12 10:34:43 UTC
First, building with +servicetools is problematic (see commit 4744488[1]). This is explained in net-print/cnijfilter/README.md#INTERNAL INFO[2].

And looking at the errors in build.log, it appears that some *monitor* related files does not compile i.e. related to servicetools!

[1]: https://github.com/tokiclover/bar-overlay/commit/4744488e64635266de0fea7a00e09e84cd710589
[2]: https://github.com/tokiclover/bar-overlay/tree/master/net-print/cnijfilter
Comment 10 tokiclover 2016-11-12 10:36:16 UTC
(In reply to klaus818 from comment #8)
> At the moment it looks like cnijfilter-3.90 is masked. When I update my
> system, I see an downgrade from net-print/cnijfilter-3.90 to
> net-print/cnijfilter-3.80.
> 
> But net-print/cnijfilter-3.90 is the only driver with the mx920 flag.

net-print/cnijfilter[+servicetools] is now masked see comment #9. So, remove servicetools in order to merge it without extra steps related to unmask a particuler USE flag.
Comment 11 tokiclover 2016-11-12 10:41:07 UTC
(In reply to klaus818 from comment #3)
> Ok, thank you, that's it! Thank you very much.
> 
> And now the next problem. I can compile net-print/cnijfilter-3.90 on my KDE
> system without problems now, but on my Gnome system on the same pc with
> almost the same settings I get this:
> 
> !!! All ebuilds that could satisfy "=net-print/cnijfilter-3.90" have been
> masked.
> !!! One of the following masked packages is required to complete your
> request:
> - net-print/cnijfilter-3.90::bar (masked by: invalid: REQUIRED_USE: USE flag
> '+canon_printers_mx920' is not in IUSE)
> 
> I tried to set CANON_PRINTERS to something else (no mx920 is set on my
> system), but every time the same message.

Do you still have this error? This seems odd in regard to your ability to merge the specified package! which generate the build.log provide. I've just verified and and cnijfilter_printers_mx92 is listed in IUSE in the environment file ($PORTAGE_TMPDIR/net-print/cnijfilter-3.90/temp/environment).
Comment 12 klaus818 2016-11-12 11:22:26 UTC
The first problem was fixed. I build cnijfilter without gtk and without servicetools. And I can compile it one time without errors. But only one time.

At the moment I see:

emerge -av =cnijfilter-3.90

These are the packages that would be merged, in order:

Calculating dependencies                     ... done!       

!!! All ebuilds that could satisfy "=cnijfilter-3.90" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-print/cnijfilter-3.90::bar (masked by: invalid: REQUIRED_USE: USE flag '+canon_printers_mx920' is not in IUSE)
Comment 13 tokiclover 2016-11-12 11:33:17 UTC
(In reply to klaus818 from comment #12)
> The first problem was fixed. I build cnijfilter without gtk and without
> servicetools. And I can compile it one time without errors. But only one
> time.
> 
> At the moment I see:
> 
> emerge -av =cnijfilter-3.90
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies                     ... done!       
> 
> !!! All ebuilds that could satisfy "=cnijfilter-3.90" have been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - net-print/cnijfilter-3.90::bar (masked by: invalid: REQUIRED_USE: USE flag
> '+canon_printers_mx920' is not in IUSE)

As said, only +servicetools is problematic. I've just synced the trees and tried to emerge the package and I am getting this:
--
# USE='drivers canon_printers_mx920' emerge -av '=net-print/cnijfilter-3.90'                                         (130)«─┘


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] net-print/cnijfilter-3.90:3::bar [4.10:4::bar] USE="backends doc drivers gtk net usb -debug -servicetools" ABI_X86="(64) -32" CANON_PRINTERS="mx920 -e660 -mx390 -mx450 -mx520 -mx720" 0 KiB

Total: 1 package (1 in new slot), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]n
--

So, I don't know where you are getting that issue. Post `emerge --info =net-print/cnijfilter-3.90` and I will see what I can do about it.
Comment 14 tokiclover 2016-11-12 11:36:32 UTC
You know, you don't have to append the '+' on canon_printers_mx920! it will conflict with the USE flag activatio.
Comment 15 klaus818 2016-11-12 11:39:10 UTC
merge --info =net-print/cnijfilter-3.90
Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.2.0, glibc-2.23-r3, 4.8.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.7-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.3
KiB Mem:     3902836 total,   1250232 free
KiB Swap:    8191996 total,   8191872 free
Timestamp of repository gentoo: Sat, 12 Nov 2016 10:00:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.3-r1::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo, 6.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /mnt/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bar
    location: /var/lib/layman/bar
    sync-type: laymansync
    sync-uri: git://github.com/tokiclover/bar-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dri3 dts dvd dvdr emboss encode exif fam ffmpeg fingerprint firefox flac fortran gdbm gif glamor google gpm gtk iconv ipv6 jpeg kde kipi lastfm lcms ldap libnotify lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf phonon pim plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline scanner scrobbler sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg sync-plugin-portage systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vc vorbis vpx widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-print/cnijfilter-3.90::bar was built with the following:
USE="backends doc drivers net usb -debug -gtk -servicetools" ABI_X86="64 -32" CANON_PRINTERS="mx920 -e660 -mx390 -mx450 -mx520 -mx720"
Comment 16 tokiclover 2016-11-12 12:01:46 UTC
I don't see anything wrong with the previous info. So, try to run `ebuild /var/lb/layman/bar/net-print/cnijfilter/cnijfilter-3.90.ebuild unpack` and then attach the resuilting `/var/tmp/portage/net-print/cnijfilter-3.90/temp/environment` if you can get a hold of it. Peculiar error indeed. If it's not possible, I am afraid you will have to remove bar overlay and then re-clone the repository... or else run `cd /var/lib/layman/bar; git pull -f` as root to save some bandwidth. Normally, only 'canon_printers_mx920' should be listed and not -- '+canon_printers_mx920'.
Comment 17 tokiclover 2016-11-12 12:15:49 UTC
Darn... I think I've pinned down the source of this issue. It should be fixed in 17e7fd7[1]. So just run `cd /var/lib/layman/bar; git pull -f` to get the fix.

[1]: https://github.com/tokiclover/bar-overlay/commit/17e7fd761d31b1014ff4319cfbe1514569a2f892
Comment 18 klaus818 2016-11-12 15:04:03 UTC
Ok, thank you very very much. You saved my live!!! Now everything is fine!
Comment 19 klaus818 2016-11-12 15:11:52 UTC
But only with -gtk.
Comment 20 tokiclover 2016-11-13 13:14:41 UTC
I've found this repos[1] yesterday and ported some patches to all version in order to have +servicetools USE flag compile--which it does! remain testing... it looks like requiring printer models for each version is unavoidable, meaning using newer backends won't be possible for older printers (ppd files.)
Comment 21 klaus818 2016-11-13 14:44:19 UTC
Ok, first I tried to build it with +gtk an it failed.

emerge --info =cnijfilter-3.90-r2
Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.2.0, glibc-2.23-r3, 4.8.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.7-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.3
KiB Mem:     3902836 total,    540136 free
KiB Swap:    8191996 total,   8191996 free
Timestamp of repository gentoo: Sun, 13 Nov 2016 13:30:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.3-r1::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo, 6.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /mnt/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bar
    location: /var/lib/layman/bar
    sync-type: laymansync
    sync-uri: git://github.com/tokiclover/bar-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dri3 dts dvd dvdr emboss encode exif fam ffmpeg fingerprint firefox flac fortran gdbm gif glamor google gpm gtk iconv ipv6 jpeg kde kipi lastfm lcms ldap libnotify lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf phonon pim plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline scanner scrobbler sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg sync-plugin-portage systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vc vorbis vpx widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 22 klaus818 2016-11-13 14:45:42 UTC
Created attachment 453204 [details]
Build log from cnijfilter-3.90-r2 with +gtk -servicetools
Comment 23 tokiclover 2016-11-13 21:16:32 UTC
(In reply to klaus818 from comment #22)
> Created attachment 453204 [details]
> Build log from cnijfilter-3.90-r2 with +gtk -servicetools

Sync and try again... my bad, I put my trust to... it's now fixed. You may have noticed that backends and drivers USE flags were thrown away in favor of only cups. So now you can enable servicetools, gtk, net to get everything compiled. Time to test.
Comment 24 klaus818 2016-11-14 07:28:09 UTC
Yes, now everything works perfect. Thank you very much!