Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609256 - net-print/cups-filters-1.13.3-r1 - symlink loop between /usr/bin/foomatic-rip and /usr/libexec/cups/filter/foomatic-rip
Summary: net-print/cups-filters-1.13.3-r1 - symlink loop between /usr/bin/foomatic-rip...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 12:13 UTC by MarisN
Modified: 2017-02-16 10:23 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarisN 2017-02-13 12:13:06 UTC
This is caused by fix for Bug 501466

equery b /usr/bin/foomatic-rip /usr/libexec/cups/filter/foomatic-rip
 * Searching for /usr/bin/foomatic-rip,/usr/libexec/cups/filter/foomatic-rip ... 
net-print/cups-filters-1.13.3-r1 (/usr/bin/foomatic-rip -> /usr/libexec/cups/filter/foomatic-rip)
net-print/cups-filters-1.13.3-r1 (/usr/libexec/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip)


emerge --info net-print/cups-filters
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.24-r1, 4.9.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_@_2.53GHz-with-gentoo-2.3
KiB Mem:     4039252 total,    625868 free
KiB Swap:    4607996 total,   4502376 free
Timestamp of repository gentoo: Mon, 13 Feb 2017 08:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.4.0::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.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true

Maris_local
    location: /home/maris/soft/portage
    masters: gentoo
    priority: 0

uwl
    location: /var/lib/layman/uwl
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.3 AdobeFlash-11.x googleearth PUEL Oracle-BCLA-JavaSE skype-4.0.0.7-copyright google-chrome"
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 /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo"
LANG="lv_LV"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 bluetooth branding brother_devices_dcp585cw bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus declarative dell dhcpcd dri dts dvd dvdr eap-tls emboss encode exif fam firefox flac fortran gallium gdal gdbm geos gif glamor glib gpm gpu hal iconv icu idn inotify ipv6 jpeg json kde kipi kvm laptop lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib multimedia ncurses nls nptl nsplugin offensive ogg opengl openmp opus pam pango pcre pdf phonon pkcs11 plasma png policykit ppds proj python qemu qml qt3support qt4 qt5 readline sasl sdl seccomp session sip slp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb utf-8 vdpau vebm vorbis vpx widgets win32codecs wxwidgets x264 xa xattr xcb xcomposite xinerama xml xmp xmpp xorg xscreensaver xv xvid xvmc zlib" ABI_X86="64 32" 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="alias authz_host autoindex dir env headers mime rewrite vhost_alias log_config auth_basic authn_file authz_user cgi setenvif unixd" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="words tables stage" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" L10N="lv pl en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

net-print/cups-filters-1.13.3-r1::gentoo was built with the following:
USE="dbus foomatic jpeg ldap pdf png postscript tiff -perl -static-libs -zeroconf" ABI_X86="64"
Comment 1 Geoff Madden 2017-02-14 06:02:34 UTC
This has just cropped up on my system,after a rebuild, apparently the bin foomatic-rip is not installed by cups filters to /usr/bin . I use the foo2zjs drivers for my hp laser printer CP1025nw.
Any ideas on this one
Comment 2 Klaus Kusche 2017-02-14 15:07:37 UTC
Confirmed, same here.

The foomatic-rip binary isn't installed at all,
instead, two cyclic symbolic links from /usr/bin/foomatic-rip
to /usr/libexec/cups/filter/foomatic-rip and back are installed.

Completely breaks all my printers, please mask the package!
Comment 3 MarisN 2017-02-14 15:48:57 UTC
A temporary workaround:

Open in a text editor /usr/portage/net-print/cups-filters/cups-filters-1.13.3-r1.ebuild and remove following lines:
        if use foomatic; then
                # workaround: some printer drivers still require this, bug 501466
                dosym /usr/bin/foomatic-rip /usr/libexec/cups/filter/foomatic-rip
        fi

Then run: ebuild /usr/portage/net-print/cups-filters/cups-filters-1.13.3-r1.ebuild digest && emerge net-print/cups-filters
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-02-16 10:23:08 UTC
Oops. Sorry. 

commit dd7795a9f1496707b35b545c945ccea2501e7d4e
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Thu Feb 16 11:22:08 2017 +0100

    net-print/cups-filters: Fix what I broke. Bug 609256
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-print/cups-filters/{cups-filters-1.13.3-r1.ebuild => cups-filters-1.13.3-r2.ebuild} | 5 -----
 net-print/cups-filters/cups-filters-9999.ebuild                                         | 5 -----
 2 files changed, 10 deletions(-)