Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529852 - net-mail/courier-imap - sed: can't read .../files/courier-imap-4.0.6-r1-courier-imapd.rc6: No such file or directory
Summary: net-mail/courier-imap - sed: can't read .../files/courier-imap-4.0.6-r1-couri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Heidelberg (okias)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 12:12 UTC by Chicago
Modified: 2014-11-22 09:51 UTC (History)
4 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 Chicago 2014-11-19 12:12:25 UTC
net-mail/courier-imap-4.15-r1

Most recent ChangeLog entry confirms the following.
  18 Nov 2014; Manuel Rüger <mrueg@gentoo.org>
  -files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6,
  -files/courier-imap-4.0.6-r1-courier-imapd.indirect,
  -files/courier-imap-4.0.6-r1-courier-imapd.rc6,
  -files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6,
  -files/courier-imap-4.0.6-r1-courier-pop3d.indirect,
  -files/courier-imap-4.0.6-r1-courier-pop3d.rc6,
  -files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc,
  -files/courier-imap-4.0.6-r1-gentoo-imapd.rc,
  -files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc,
  -files/courier-imap-4.0.6-r1-gentoo-pop3d.rc:
  Cleanup unused patches.

The above files have been purged from ${FILESDIR} and are used during src_install() with net-mail/courier-imap-4.15-r1 due to the following variables instantiated in the ebuild just before src_prepare().

RC_VER="4.0.6-r1"
INITD_VER="4.0.6-r1"

Because these files were purged from ${FILESDIR}, net-mail/courier-imap-4.15-r1 cannot be installed as src_install() dies with "initd libdir-sed failed" (because the files don't exist anymore in ${FILESDIR}).

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge courier-imap
3. wait for ERROR: net-mail/courier-imap-4.15-r1::gentoo failed (install phase):
Actual Results:  
sed: can't read /usr/portage/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6: No such file or directory

Expected Results:  
The software should have found the files mentioned in the ChangeLog inside of ${FILESDIR}.

Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo x86_64)
=================================================================
System uname: Linux-3.16.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2670_0_@_2.60GHz-with-gentoo-2.2
KiB Mem:     1015760 total,    562488 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Wed, 19 Nov 2014 11:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo jowett-ebuilds Cloud-Servers
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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=corei7 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --ask-enter-invalid --ask y                                                                        --autounmask-unrestricted-atoms y --autounmask y --autounmask-keep-masks y                                                           --autounmask-write y --complete-graph y --with-bdeps y --fail-clean y                                                                --rebuild-if-unbuilt y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean 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="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/jowett-ebuilds /var/lib/layman/Cloud-Servers"
SYNC="rsync://rsync25.us.gentoo.org/gentoo-portage"
USE="X Xaw3d acl amd64 apache2 bash-completion bcmath berkdb bidi bzip2 cairo calendar caps cdb cgi cjk cli cracklib crypt cscope cups curl curlwrappers custom-cflags cvs cxx dbi dbus djvu dri emacs examples exif expat fam flatfile fontconfig fortran freetds ftp gd gdbm geoip gif git gmp gnutls gpm graphviz gtk guile iconv icu idn imap inifile iodbc ipv6 java jbig jit jpeg jpeg2k kerberos lapack latex ldap libffi lua lzma lzo mbox mhash mmx modules mono mpi mssql multilib mysql mysqli ncurses nls nntp nptl ocaml odbc offensive opengl openmp pam pch pcntl pcre perl php png postgres postscript python qdbm readline recode ruby sasl session sharedmem skey slang slp snmp soap sockets socks5 source spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 subversion suid syslog sysvipc tcl tcpd threads tidy tiff tk truetype udev unicode vala vhosts vim-syntax wddx xattr xcb xft xinerama xinetd xml xmlrpc xpm zlib zsh-completion" 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="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta cgid charset_lite dav dav_fs dav_lock dbd deflate dir dumpio env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_config log_forensic logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout rewrite setenvif slotmem_shm socache_shmcb speling status substitute unique_id unixd userdir usertrack version vhost_alias" APACHE2_MPMS="worker" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES_HTTP="access addition ajp auth_basic auth_pam auth_request autoindex browser cache_purge charset dav dav_ext degradation echo empty_gif fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req map memcached metrics mogilefs mp4 naxsi perl proxy push_stream random_index realip referer rewrite scgi secure_link security slowfs_cache split_clients ssi sticky stub_status sub upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5 php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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 Manuel Rüger (RETIRED) gentoo-dev 2014-11-20 10:25:38 UTC
Sorry for the inconvenience. I should have looked more closely. Thanks for the report, should be fixed again.
Comment 2 Chicago 2014-11-22 09:51:39 UTC
Yep, fixed now. Thanks a bunch.