View previous topic :: View next topic |
Author |
Message |
sam-510 n00b

Joined: 08 Nov 2023 Posts: 21
|
Posted: Wed Nov 08, 2023 12:04 pm Post subject: dev-libs/gobject-introspection-1.78.1: DEPEND and RDEPEND is |
|
|
When attempting to emerge the "kopanocore" package using the ebuild file, I encountered an error. I added the dev-libs/gobject-introspectionto the "/etc/portage/package.unmask" file as instructed, but unfortunately, I am still encountering the same error. Can you provide assistance in resolving this issue?
Code: | #emerge -av net-mail/kopanocore
!!! Section 'kopano-overlay' in repos.conf has name different from repository name 'gentoo-overlay' set inside repository
--- Invalid atom in /etc/portage/package.accept_keywords/gobject: >=dev-libs/gobject-introspection
--- Invalid atom in /etc/portage/package.accept_keywords/syslog: app-admin/syslog-ng-4.2.0
--- Invalid atom in /etc/portage/package.unmask: dev-libs/gobject-introspection-1.78.1
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.11 s.
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by net-mail/kopanocore-9999::gentoo-overlay
# required by net-mail/kopanocore (argument)
>=app-text/xmlto-0.0.28-r11 text
# required by net-mail/kopanocore-9999::gentoo-overlay
# required by net-mail/kopanocore (argument)
>=dev-cpp/libvmime-0.9.2-r4 smtp
# required by net-mail/kopanocore-9999::gentoo-overlay
# required by net-mail/kopanocore (argument)
>=dev-libs/xapian-bindings-1.4.22 python
Would you like to add these changes to your config files? [Yes/No] Y
Autounmask changes successfully written.
* IMPORTANT: config file '/etc/portage/package.use/zz-autounmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.
!!! All ebuilds that could satisfy "dev-libs/gobject-introspection" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/gobject-introspection-1.78.1::gentoo (masked by: invalid: DEPEND: expected: dependency string, got: ')', token 5, invalid: RDEPEND: expected: dependency string, got: ')', token 5)
- dev-libs/gobject-introspection-1.76.1::gentoo (masked by: invalid: DEPEND: expected: dependency string, got: ')', token 5, invalid: RDEPEND: expected: dependency string, got: ')', token 5)
(dependency required by "dev-libs/libical-3.0.16::gentoo[introspection]" [ebuild])
(dependency required by "net-mail/kopanocore-9999::gentoo-overlay" [ebuild])
(dependency required by "net-mail/kopanocore" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
sam-510 n00b

Joined: 08 Nov 2023 Posts: 21
|
Posted: Wed Nov 08, 2023 3:27 pm Post subject: |
|
|
Here is the ebuild file. If there are any errors or issues in this file, please correct me as I'm new to this environment. [/code]
cat kopanocore-9999.ebuild
Code: | # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PHP_EXT_NAME="mapi"
PHP_EXT_INI="yes"
USE_PHP="php8-1"
PYTHON_COMPAT=( python3_7 python3_8 )
inherit autotools eutils flag-o-matic git-r3 php-ext-source-r3 python-single-r1
DESCRIPTION="Open Source Groupware Solution"
HOMEPAGE="http://kopano.io/"
EGIT_REPO_URI="https://stash.kopano.io/git/KC/kopanocore.git"
#KOPANO_USER=${KOPANO_USER:-kopano}
#KOPANO_GROUP=${KOPANO_GROUP:-kopano}
KOPANO_SERVICES="dagent gateway ical monitor presence search server spooler"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
IUSE="debug icu kerberos ldap logrotate s3 static tcmalloc"
RDEPEND="${PYTHON_DEPS}
acct-group/kopano
acct-user/kopano
logrotate? ( app-admin/logrotate )
app-arch/unzip
app-text/catdoc
app-text/poppler[utils]
app-text/xmlto[text]
dev-libs/boost
icu? ( dev-libs/icu )
>=dev-cpp/libvmime-0.9.2[smtp]
dev-lang/python
dev-lang/swig
>=dev-libs/libical-0.44
dev-libs/libxml2
dev-libs/openssl
dev-libs/xapian-bindings[python]
>=net-libs/gsoap-2.8.39
net-misc/curl
sys-fs/e2fsprogs
sys-libs/zlib
dev-python/flask
>=dev-python/python-daemon-1.6
dev-python/python-dateutil
dev-python/python-magic
tcmalloc? ( dev-util/google-perftools )
s3? ( net-libs/libs3 )
ldap? ( net-nds/openldap )
virtual/httpd-php
kerberos? ( virtual/krb5 )
virtual/mysql"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
# python_single_target_python2_7? ( dev-python/bsddb3 )
pkg_setup() {
python-single-r1_pkg_setup
enewgroup "${KOPANO_GROUP}"
enewuser "${KOPANO_USER}" -1 -1 "/var/lib/kopano" "${KOPANO_GROUP}"
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# prepare php slot folders to make php-ext-source-r3_createinifiles work
use php_targets_php5-6 && ln -s "${S}/php-ext" "${WORKDIR}/php5.6"
use php_targets_php7-0 && ln -s "${S}/php7-ext" "${WORKDIR}/php7.0"
use php_targets_php8-1 && ln -s "${S}/php7-ext" "${WORKDIR}/php8.1"
epatch "${FILESDIR}/kopanocore-8.2.0-automake.patch"
use kerberos && epatch "${FILESDIR}/kopanocore-8.2.0-kerberos.patch"
epatch "${FILESDIR}/kopanocore-8.2.0-php.patch"
# use python_single_target_python2_7 && epatch "${FILESDIR}/kopanocore-8.2.0-python2_7.patch"
epatch "${FILESDIR}/kopanocore-8.2.0-search.patch"
eapply_user
eautoreconf
}
src_configure() {
append-flags -fpermissive
econf \
--enable-release \
--enable-unicode \
--enable-epoll \
--with-userscript-prefix=/etc/kopano/userscripts \
--with-quotatemplate-prefix=/etc/kopano/quotamails \
--with-searchscripts-prefix=/etc/kopano/searchscripts \
$(use_enable debug) \
$(use_enable icu) \
$(use_enable static)
}
src_compile() {
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
php-ext-source-r3_createinifiles
if use logrotate; then
insinto /etc/logrotate.d
newins "${FILESDIR}"/kopano.logrotate kopano || die "Failed to install logrotate"
else
rm "${D}/etc/logrotate.d/kopano"
fi
if use ldap; then
insinto /etc/openldap/schema
doins "${S}"/installer/ldap/kopano.* || die "Failed to install ldap schema files"
fi
dodir /etc/kopano
insinto /etc/kopano
doins "${S}"/installer/linux/*.cfg || die "Failed to install config files"
fowners -Rf "${KOPANO_USER}":"root" "/etc/kopano"
dodir /var/log/kopano
keepdir /var/log/kopano
fowners -Rf "${KOPANO_USER}":"root" "/var/log/kopano"
dodir /var/lib/kopano
keepdir /var/lib/kopano
dodir /var/lib/kopano/spooler/plugins
dodir /var/lib/kopano/dagent/plugins
fowners -Rf "${KOPANO_USER}":"root" "/var/lib/kopano"
for service in ${KOPANO_SERVICES}; do
newconfd "${FILESDIR}/kopano-${service}.confd" "kopano-${service}"
newinitd "${FILESDIR}/kopano-${service}.initd" "kopano-${service}"
done
}
pkg_postinst() {
elog
elog "Kopano Core has been successfully emerged!"
elog
elog "Kopano Core replaces the former ZCP package."
elog
elog "Please check the following URL for how to migrate:"
elog " https://kb.kopano.io/display/WIKI/Migrating+from+ZCP+to+Kopano"
elog
} |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23129
|
Posted: Wed Nov 08, 2023 4:23 pm Post subject: |
|
|
Welcome to the forums. sam-510 wrote: | When attempting to emerge the "kopanocore" package using the ebuild file, I encountered an error. I added the dev-libs/gobject-introspectionto the "/etc/portage/package.unmask" file as instructed | This instruction seems unlikely. What exactly did the instruction tell you to do? sam-510 wrote: | Code: | --- Invalid atom in /etc/portage/package.accept_keywords/gobject: >=dev-libs/gobject-introspection
--- Invalid atom in /etc/portage/package.accept_keywords/syslog: app-admin/syslog-ng-4.2.0
--- Invalid atom in /etc/portage/package.unmask: dev-libs/gobject-introspection-1.78.1 |
| You should fix these by converting to valid atoms. Why are each of these present? sam-510 wrote: | Code: | * IMPORTANT: config file '/etc/portage/package.use/zz-autounmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files. |
| Have you applied these updates? If yes, how does the output change? If no, please apply them as instructed. sam-510 wrote: | Code: |
!!! All ebuilds that could satisfy "dev-libs/gobject-introspection" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/gobject-introspection-1.78.1::gentoo (masked by: invalid: DEPEND: expected: dependency string, got: ')', token 5, invalid: RDEPEND: expected: dependency string, got: ')', token 5)
- dev-libs/gobject-introspection-1.76.1::gentoo (masked by: invalid: DEPEND: expected: dependency string, got: ')', token 5, invalid: RDEPEND: expected: dependency string, got: ')', token 5) |
| This looks weird. What is the output of emerge --info? Please show this section of one of the affected ebuild files. |
|
Back to top |
|
 |
sam-510 n00b

Joined: 08 Nov 2023 Posts: 21
|
Posted: Thu Nov 09, 2023 6:52 am Post subject: |
|
|
Thanks for response Hu
about the invalid atoms resolved
here is the output
Code: |
# emerge --info
!!! Section 'kopano-overlay' in repos.conf has name different from repository name 'gentoo-overlay' set inside repository
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r7, 6.1.57-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.57-gentoo-dist-x86_64-Intel-R-_Xeon-R-_Silver_4114_CPU_@_2.20GHz-with-glibc2.37
KiB Mem: 24606140 total, 22557652 free
KiB Swap: 2072572 total, 2072572 free
Timestamp of repository gentoo: Wed, 08 Nov 2023 13:30:01 +0000
Head commit of repository gentoo: 5a3380bdabba9c43d0f4ae4c11bc66615efbeec0
Head commit of repository gentoo-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-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 3.11.5::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-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
gentoo-overlay
location: /var/db/repos/gentoo-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
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/gconf /etc/gentoo-release /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
|
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|