if test "x" != "x"; then \ /var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/install-sh -d ; \ for file in cancel cupsaccept cupsaddsmb cupsctl cupstestdsc cupstestppd lp lpadmin lpinfo lpmove lpoptions lpstat; do \ cp $file ; \ dsymutil /$file; \ done \ fi make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/systemv' Installing programs in conf... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/conf' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/conf' Installing programs in data... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/data' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/data' Installing programs in desktop... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/desktop' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/desktop' Installing programs in locale... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/locale' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/locale' Installing programs in man... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/man' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/man' Installing programs in doc... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/doc' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/doc' Installing programs in examples... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/examples' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/examples' Installing programs in templates... make[1]: Entering directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/templates' make[1]: Nothing to be done for 'install-exec'. make[1]: Leaving directory '/var/tmp/portage/net-print/cups-2.0.2/work/cups-2.0.2-abi_x86_64.amd64/templates' sed: can't read /var/tmp/portage/net-print/cups-2.0.2/image//etc/xinetd.d/cups-lpd: No such file or directory * ERROR: net-print/cups-2.0.2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 7811: Called multilib-minimal_src_install * environment, line 5950: Called multilib_src_install_all * environment, line 6393: Called die * The specific snippet of code: * sed -i -e "s:server = .*:server = /usr/libexec/cups/daemon/cups-lpd:" "${ED}"/etc/xinetd.d/cups-lpd || die; Reproducible: Always Portage 2.2.16 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.19.0-gentoo x86_64) ================================================================= System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24626200 total, 21722232 free KiB Swap: 25461756 total, 25461756 free Timestamp of repository gentoo: Wed, 11 Feb 2015 00:30:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.1-r4::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.4.2::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.9::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.5::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r1::gentoo Repositories: gentoo location: /mnt/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 bitcoin location: /mnt/portage/local/layman/bitcoin masters: gentoo priority: 0 bumblebee location: /mnt/portage/local/layman/bumblebee masters: gentoo priority: 1 steam-overlay location: /mnt/portage/local/layman/steam-overlay masters: gentoo priority: 2 media-overlay location: /mnt/portage/local/layman/media-overlay masters: gentoo priority: 3 lokal location: /mnt/portage/local/local-overlay masters: gentoo priority: 4 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /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.6/ext-active/ /etc/php/cgi-php5.6/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=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe"
Created attachment 396152 [details] build.log
If xinetd support is not required, disable the xinetd use flag, that way emerge compiles and installs without errors: echo "net-print/cups -xinetd" >>/etc/portage/package.use
(In reply to Tom-Steve Watzke from comment #2) > If xinetd support is not required, disable the xinetd use flag, > that way emerge compiles and installs without errors: > > echo "net-print/cups -xinetd" >>/etc/portage/package.use This is just a temp workaround for a buggy ebuild... According to upstream one should either use systemd or xinetd (the Makefile in the subfolder "scheduler" in its "install-data" section)... which has its logic... Now since Gentoo provides a systemd enabled xinetd, that means that it should also provide cups with using both systemd and xinetd at the same time (as it was in cups-2.0.1-r1)... That means that the patch cups-2.0.1-xinetd-installation-fix.patch should be added back to the cups-2.0.2-r1 ebuild... So I am uploading the fixed ebuild as diff and as a solution for the problem. I will upload another ebuild with the logic of upstream (use either systemd or xinetd), so the Gentoo devs decide which one to use... Both work ok... Thanks
Created attachment 397128 [details, diff] cups-2.0.2-r2.ebuild.diff The proposed fixed ebuild for cups-2.0.2-r1 bringing back Gentoo's logic on xinetd and systemd in cups
Created attachment 397130 [details, diff] cups-2.0.2-r2.ebuild.diff (upstream logic) The proposed fixed ebuild for cups-2.0.2-r1 bringing upstream's logic on xinetd and systemd in cups
Gentoo's patch was lost in 2.0.1 to 2.0.2 bump. Pushed fix as: > 21 Feb 2015; Sergei Trofimovich <slyfox@gentoo.org> cups-2.0.2-r1.ebuild, > files/cups-2.0.1-xinetd-installation-fix.patch: > Restored dropped 'xinetd-installation-fix' patch. Fixes bug #539696 by tman > and PhobosK. Thanks guys!