I've encountered several errors during the installation of Kopano Core on Gentoo. However, I'm currently stuck with a specific error. Could someone assist me in resolving this issue?
Code: Select all
>>> Failed to emerge net-mail/kopanocore-9999, Log file:
>>> '/var/tmp/portage/net-mail/kopanocore-9999/temp/build.log'
* Messages for package net-mail/kopanocore-9999:
* Failed patch: kopanocore-8.2.0-automake.patch!
* ( /var/tmp/portage/net-mail/kopanocore-9999/files/kopanocore-8.2.0-automake.patch )
*
* Include in your bug report the contents of:
*
* /var/tmp/portage/net-mail/kopanocore-9999/temp/kopanocore-8.2.0-automake.patch.out
* ERROR: net-mail/kopanocore-9999::kopano-overlay failed (prepare phase):
* Failed patch: kopanocore-8.2.0-automake.patch!
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 4872: Called epatch '/var/tmp/portage/net-mail/kopanocore-9999/files/kopanocore-8.2.0-automake.patch'
* environment, line 2335: Called die
* The specific snippet of code:
* die "Failed patch: ${patchname}!";
*
* If you need support, post the output of emerge --info '=net-mail/kopanocore-9999::kopano-overlay',
* the complete build log and the output of emerge -pqv '=net-mail/kopanocore-9999::kopano-overlay'.
* The complete build log is located at '/var/tmp/portage/net-mail/kopanocore-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-mail/kopanocore-9999/temp/environment'.
* Working directory: '/var/tmp/portage/net-mail/kopanocore-9999/work/kopanocore-9999'
* S: '/var/tmp/portage/net-mail/kopanocore-9999/work/kopanocore-9999'
Code: Select all
diff -rupN kopanocore-8.3.0.350/ECtools/search/Makefile.am kopanocore-8.3.0.350.automake/ECtools/search/Makefile.am
--- kopanocore-8.3.0.350/ECtools/search/Makefile.am 2016-12-21 09:58:13.000000000 +0100
+++ kopanocore-8.3.0.350.automake/ECtools/search/Makefile.am 2016-12-29 22:46:31.498205647 +0100
@@ -16,7 +16,7 @@ install-exec-local:
rm -Rf build
install-data-local:
- mkdir -p "${DESTDIR}${localstatedir}/lib/kopano/search"
+ mkdir -p "${DESTDIR}${localstatedir}/kopano/search"
uninstall-local:
rm -Rf ${DESTDIR}${pythondir}/kopano_search \
diff -rupN kopanocore-8.3.0.350/installer/linux/Makefile.am kopanocore-8.3.0.350.automake/installer/linux/Makefile.am
--- kopanocore-8.3.0.350/installer/linux/Makefile.am 2016-12-21 09:58:13.000000000 +0100
+++ kopanocore-8.3.0.350.automake/installer/linux/Makefile.am 2016-12-29 22:46:55.115634935 +0100
@@ -53,12 +53,12 @@ dist_sysconf_config_DATA = ${config_file
sysconf_initdir=${sysconfdir}/init.d
sysconf_init_SCRIPTS = ${@DISTRO@_initscript_files}
-rhel_sysconfig_path = ${sysconfdir}/sysconfig
+rhel_sysconfig_path = ${sysconfdir}/default
suse_sysconfig_path = ${localstatedir}/adm/fillup-templates
sles_sysconfig_path = ${localstatedir}/adm/fillup-templates
sysconf_sysconfigdir = ${@DISTRO@_sysconfig_path}
sysconf_sysconfig_DATA = sysconfig.txt
-alt_sysconfig_path = ${sysconfdir}/sysconfig
+alt_sysconfig_path = ${sysconfdir}/default
dist_doc_DATA = \
db-calc-storesize db-convert-attachments-to-files \
@@ -95,7 +95,7 @@ EXTRA_DIST = ${BUILT_SOURCES} ldap.m4 \
install-data-hook:
install -d -m 755 ${DESTDIR}/${sysconf_configdir}/license
- install -d -m 755 ${DESTDIR}/${localstatedir}/lib/kopano/report
+ install -d -m 755 ${DESTDIR}/${localstatedir}/kopano/report
mv -v ${DESTDIR}${sysconf_rotatedir}/kopano.logrotate ${DESTDIR}${sysconf_rotatedir}/kopano
mv -v ${DESTDIR}${sysconf_crondir}/kopano-client-update.cron ${DESTDIR}${sysconf_crondir}/kopano-client-update
if test ${DISTRO} = "sles" -o ${DISTRO} = "suse"; then \
diff -rupN kopanocore-8.3.0.350/spooler/python/Makefile.am kopanocore-8.3.0.350.automake/spooler/python/Makefile.am
--- kopanocore-8.3.0.350/spooler/python/Makefile.am 2016-12-21 09:58:13.000000000 +0100
+++ kopanocore-8.3.0.350.automake/spooler/python/Makefile.am 2016-12-29 22:47:19.626426381 +0100
@@ -9,5 +9,5 @@ kopano_spoolerdir = ${datadir}/kopano-sp
kopano_spooler_DATA = mapiplugin.py pluginmanager.py plugintemplates.py wraplogger.py zconfig.py zinterval.py zunit.py
install-data-hook:
- mkdir -p ${DESTDIR}/${localstatedir}/lib/kopano/dagent/plugins/
- mkdir -p ${DESTDIR}/${localstatedir}/lib/kopano/spooler/plugins/
+ mkdir -p ${DESTDIR}/${localstatedir}/kopano/dagent/plugins/
+ mkdir -p ${DESTDIR}/${localstatedir}/kopano/spooler/plugins/
Code: Select all
emerge --info
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r7, 6.1.60-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.60-gentoo-dist-x86_64-Intel-R-_Xeon-R-_Silver_4114_CPU_@_2.20GHz-with-glibc2.37
KiB Mem: 24603992 total, 19589052 free
KiB Swap: 2072572 total, 2072572 free
Timestamp of repository gentoo: Thu, 16 Nov 2023 13:00:01 +0000
Head commit of repository gentoo: de99c43ebaed42de4b86051ab85c2e730c73d3ff
Head commit of repository kopano-overlay: af23ee83eb6ed049f4ca0fe2d5ccad4a78b30805
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-java/java-config: 2.3.1-r1::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 3.11.5::gentoo
dev-util/cmake: 3.26.5-r2::gentoo
dev-util/meson: 1.2.1-r1::gentoo
sys-apps/baselayout: 2.14::gentoo
sys-apps/openrc: 0.48::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/autoconf: 2.71-r6::gentoo
sys-devel/automake: 1.16.5-r1::gentoo
sys-devel/binutils: 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20230826::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/make: 4.4.1-r1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.37-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
kopano-overlay
location: /var/db/repos/kopano-overlay
sync-type: git
sync-uri: https://github.com/galitus/gentoo-overlay
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64
Sampath Akkina - FGN, [18.11.23 15:20]
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
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"
SHELL="/bin/bash"
USE="acl amd64 bindist bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc minimal mmx multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr sse sse2 ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


