Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749396 - dev-libs/hiredis-1.0.0 USE=-ssl - rm: cannot remove '/var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64/libhiredis_ssl.a': No such file or directory
Summary: dev-libs/hiredis-1.0.0 USE=-ssl - rm: cannot remove '/var/tmp/portage/dev-lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-10-16 09:13 UTC by Marcin Mirosław
Modified: 2020-10-26 16:37 UTC (History)
2 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 Marcin Mirosław 2020-10-16 09:13:30 UTC
packahe hiredis fails to install with USE=-ssl, it fails throwing:
>>> Install dev-libs/hiredis-1.0.0 into /var/tmp/portage/dev-libs/hiredis-1.0.0/image
make -j4 -l5 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc PREFIX=/usr LIBRARY_PATH=lib64 USE_SSL=0 DEBUG_FLAGS= OPTIMIZATION= PREFIX=/var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr install
mkdir -p /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/include/hiredis /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/include/hiredis/adapters /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64
cp -pPR hiredis.h async.h read.h sds.h alloc.h /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/include/hiredis
cp -pPR adapters/*.h /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/include/hiredis/adapters
cp -pPR libhiredis.so /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64/libhiredis.so.1.0.0
cd /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64 && ln -sf libhiredis.so.1.0.0 libhiredis.so
cp -pPR libhiredis.a /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64
mkdir -p /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64/pkgconfig
cp -pPR hiredis.pc /var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64/pkgconfig
rm: cannot remove '/var/tmp/portage/dev-libs/hiredis-1.0.0/image/usr/lib64/libhiredis_ssl.a': No such file or directory
 * ERROR: dev-libs/hiredis-1.0.0::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 1112:  Called die
 * The specific snippet of code:
 *           rm "${ED}/usr/$(get_libdir)/libhiredis.a" "${ED}/usr/$(get_libdir)/libhiredis_ssl.a" || die;
 *
 * If you need support, post the output of `emerge --info '=dev-libs/hiredis-1.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/hiredis-1.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/hiredis-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/hiredis-1.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/hiredis-1.0.0/work/hiredis-1.0.0'
 * S: '/var/tmp/portage/dev-libs/hiredis-1.0.0/work/hiredis-1.0.0'


Reproducible: Always




Portage 3.0.8 (python 3.7.8-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-9.3.0, glibc-2.31-r6, 5.8.0-00308-g0568ed488651 x86_64)
=================================================================
System uname: Linux-5.8.0-00308-g0568ed488651-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_v5_@_3.40GHz-with-gentoo-2.7
KiB Mem:     7041300 total,    413120 free
KiB Swap:    1060856 total,   1060856 free
Timestamp of repository gentoo: Fri, 16 Oct 2020 06:05:23 +0000
Head commit of repository gentoo: ee2386516b2f102672a58e56611de34565b9bfeb

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    sync-user: portage:portage
    priority: -1000

Installed sets: @masscheck, @nagios-plugins
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fuse-linker-plugin  -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /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-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fuse-linker-plugin  -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O3 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fuse-linker-plugin  -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fuse-linker-plugin  -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j4 -l5"
PKGDIR="/var/cache/binpkgs"
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="acl aio amd64 apache2 bash-completion bzip2 caps crypt hardened iconv idn ipv6 jit libglvnd libtirpc lto modules nano-syntax ncurses nls nptl openmp pcre pie readline seccomp smp split-usr ssl ssp threads unicode vhosts vim-syntax xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" APACHE2_MODULES="alias authn_core access_compat auth_basic authz_core authn_alias authn_anon auth_digest authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgi dav dav_fs dav_lock dir env expires ext_filter filter headers hugepages include info log_config logio mime mime_magic negotiation remoteip rewrite setenvif status unique_id unixd socache_shmcb usertrack vhost_alias" APACHE2_MPMS="itk" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="apache aggregation bind cgroups conntrack contextswitch cpu curl curl_json df disk dns email entropy ethstat exec filecount hugepages interface iptables irq lvm match_regex mysql netlink load memory network nginx notify_email ntpd openvpn ping postgresql processes protocols redis rrdcached rrdtool snmp statsd swap syslog tail tail_csv tcpconns unixsock uptime vmem" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" KERNEL="linux" L10N="en" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access autoindex browser charset fastcgi gzip map limit_zone proxy rewrite http2 stub_status gzip_static" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" XTABLES_ADDONS="fuzzy geoip lscan psd sysrq tarpit"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Larry the Git Cow gentoo-dev 2020-10-26 16:37:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee7d0f5f8c8fc7d4467e495f733ff80624a1ae0

commit cee7d0f5f8c8fc7d4467e495f733ff80624a1ae0
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-26 16:37:04 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-26 16:37:25 +0000

    dev-libs/hiredis: fix deletion of static libs
    
    Closes: https://bugs.gentoo.org/749396
    Closes: https://github.com/gentoo/gentoo/pull/18014
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +-
 dev-libs/hiredis/hiredis-1.0.0.ebuild  | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)