Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503578 - net-print/foo2zjs-99999999 - src_install(): Error: foomatic-rip is not installed!
Summary: net-print/foo2zjs-99999999 - src_install(): Error: foomatic-rip is not insta...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
: 503788 (view as bug list)
Depends on: 501466
Blocks:
  Show dependency tree
 
Reported: 2014-03-06 06:44 UTC by Viktor Yu. Kovalskii
Modified: 2023-11-06 17:52 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,95.95 KB, text/plain)
2014-03-06 06:44 UTC, Viktor Yu. Kovalskii
Details
Path to foomatic-rip on Gentoo (foo2zjs-foomatic-rip.patch,405 bytes, patch)
2014-04-15 21:14 UTC, David Abbott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2014-03-06 06:44:08 UTC
emerge net-print/foo2zjs-99999999 failed because of foomatic-rip isn't installed.

Reproducible: Always

Steps to Reproduce:
1. emerge -1av net-print/foo2zjs
2.
3.



emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.13.5-gentoo x86_64)
=================================================================
System uname: Linux-3.13.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.2
KiB Mem:     1918372 total,     29736 free
KiB Swap:    3156768 total,   2947748 free
Timestamp of tree: Thu, 06 Mar 2014 05:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo overlays-oschtan flying science rion mozilla dmol
Installed sets: @toolchain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -O2 -pipe"
DISTDIR="/mnt/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ash.catalysis.ru/gentoo/ http://linux.nsu.ru/gentoo-distfiles http://mirror.yandex.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/slag/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="/mnt/slag"
PORTDIR="/mnt/slag/gentoo-tree"
PORTDIR_OVERLAY="/mnt/slag/layman/oschtan /mnt/slag/layman/flying /mnt/slag/layman/science /mnt/slag/layman/rion /mnt/slag/layman/mozilla /mnt/slag/layman/dmol"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="7zip X a52 aac aalib acl acpi additions alsa amd64 amr amrnb amrwb ao apm apng bash-completion bazaar berkdb branding bs2b bzip2 cairo caps cdda cdparanoia cdr chm cjk cleartype cli consolekit cracklib cups cvs cxx dbus declarative djvu dri drm dts dvd dvdr dvdread egl emboss emf enca encode eselect exceptions exif extensions faac faad fam fbcondecor ffmpeg fftw firefox flac fontconfig fortran ftp fuse gallium gd gif gimp git gmp gpg gpm graphviz gstreamer hddtemp hdri iconv icu imagemagick imlib jbig jpeg jpeg2k kde kipi lame latex lcms libass libnotify libsamplerate lm_sensors lzma lzo mad mercurial mime mms mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musepack natspec ncurses network nls nptl ogg openexr opengl openmp opus orc osmesa pam pango pcre pdf pertty phonon plasma plotutils png policykit postscript povray ppds pulseaudio qt3support qt4 quicktime rar raw readline rtc samba scanner scrobbler sdl sensord session sndfile spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion suid svg symlink syslog szip taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb utils vcd vorbis vpx wavpack webkit webp wmf wmp wxwidgets x264 xattr xcb xcomposite xml xorg xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="intel-hda" 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" CURL_SSL="gnutls" 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 nlpsolver pdfimport" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak kvs1025 leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp kvs20xx magicolor pnm kodakaio kvs40xx mustek_usb2" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Viktor Yu. Kovalskii 2014-03-06 06:44:49 UTC
Created attachment 371832 [details]
build.log
Comment 2 Daniel Nilsson 2014-03-07 22:00:13 UTC
I have the same problem.

net-print/foo2zjs looks for foomatic-rip in the following places
/usr/local/libexec/cups/filter/
/usr/lib/cups/filter/
/usr/lib/lp/bin/

But net-print/cups-filters installs it in
/usr/libexec/cups/filter/


Version and useflags for cups-filters:
net-print/cups-filters-1.0.43-r1  USE="dbus foomatic jpeg png tiff -perl -static-libs -zeroconf"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-08 16:54:58 UTC
*** Bug 503788 has been marked as a duplicate of this bug. ***
Comment 4 David Abbott (RETIRED) gentoo-dev 2014-04-15 21:14:22 UTC
Created attachment 375036 [details, diff]
Path to foomatic-rip on Gentoo

ebuild patch

diff -u /usr/portage/net-print/foo2zjs/foo2zjs-99999999.ebuild foo2zjs-99999999.ebuild 
--- /usr/portage/net-print/foo2zjs/foo2zjs-99999999.ebuild	2014-01-05 17:01:28.000000000 -0500
+++ foo2zjs-99999999.ebuild	2014-04-15 16:45:24.234593518 -0400
@@ -37,6 +37,7 @@
 
 	epatch "${FILESDIR}/${PN}-udev.patch"
 	epatch "${FILESDIR}/${PN}-usbbackend.patch"
+	epatch "${FILESDIR}/${PN}-foomatic-rip.patch"
 
 	cd "${S}"

Installed here, did not test, no hardware
Comment 5 Daniel Nilsson 2014-05-10 14:28:26 UTC
(In reply to David Abbott from comment #4)

Thank you for the patch, I can confirm that it fixes the problem.
Tested with net-print/cups-filters-1.0.53 and a HP LaserJet P1005 printer.

I propose that the fix is committed to the tree and than this bug can be closed fixed!