Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529916 - net-print/cups-2.0.1-r1[systemd,xinetd]: sed failure due no xinetd.d files installed
Summary: net-print/cups-2.0.1-r1[systemd,xinetd]: sed failure due no xinetd.d files in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 09:02 UTC by Michał Górny
Modified: 2014-11-20 12:55 UTC (History)
0 users

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


Attachments
net-print:cups-2.0.1-r1:20141120-085148.log.gz (net-print:cups-2.0.1-r1:20141120-085148.log.gz,48.58 KB, application/gzip)
2014-11-20 09:02 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-20 09:02:27 UTC
Created attachment 389838 [details]
net-print:cups-2.0.1-r1:20141120-085148.log.gz

sed: can't read /tmp/portage/net-print/cups-2.0.1-r1/image//etc/xinetd.d/cups-lpd: No such file or directory

And indeed, there's no xinet.d directory in ${D}. Looking at the rules:

  if test "x/usr/lib/systemd/system" != x; then \
    ...
  elif test "x/etc/xinetd.d" != x; then \
    ...
  fi

I'd say REQUIRED_USE="^^ ( systemd xinetd )".
Comment 1 Matthias Maier gentoo-dev 2014-11-20 12:55:23 UTC
  20 Nov 2014; Matthias Maier <tamiko@gentoo.org>
  +files/cups-2.0.1-xinetd-installation-fix.patch, cups-2.0.1-r1.ebuild:
  fix xinetd configuration wrt bug #529916

Nah. I do not want to introduce this use constraint. --with-xinetd just installs some files, therefore I fixed the corresponding Makefile. Let's hope this is all it needs.