Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ebuild has unmet requirements
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Mon Jul 01, 2013 9:50 am    Post subject: [solved] ebuild has unmet requirements Reply with quote

emerge --sync done this morning. Then a system update gave some pam updates and then couple of etc-updates. After which emerge world gave the following unmet ssl requirements.

Code:

~ # emerge -avuDN @world

These are the packages that would be merged, in order:
Calculating dependencies -

!!! Problem resolving dependencies for net-ftp/proftpd from @selected                                                                                                  ... done!

!!! The ebuild selected to satisfy "net-ftp/proftpd" has unmet requirements.
- net-ftp/proftpd-1.3.4c::gentoo USE="acl caps ipv6 mysql ncurses nls pam pcre ssl tcpd -authfile -ban -case -clamav -copy -ctrls -deflate -diskuse -doc -dso -exec -ident -ifsession -ifversion -kerberos -ldap -memcache -openssl -postgres -qos -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -softquota -sqlite -test -trace -vroot -xinetd" LINGUAS="-bg_BG -en_US -fr_FR -it_IT -ja_JP -ko_KR -ru_RU -zh_CN -zh_TW"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ssl? ( openssl )

  The above constraints are a subset of the following complete expression:
    ban? ( ctrls ) sftp? ( openssl ) shaper? ( ctrls ) ssl? ( openssl )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


What has changed between June and today? What are these "unmet" requirements?
Code:

The following REQUIRED_USE flag constraints are unsatisfied:
    ssl? ( openssl )

The way I understand this message is: If I have USE=ssl then I need to also have USE=openssl

nano /usr/portage/net-ftp/proftpd/ has these 2:
proftpd-1.3.4c-r1.ebuild
proftpd-1.3.4c.ebuild

and both use have ssl and openssl. Am I missing something here?

my emerge --info:
Code:

 ~ # emerge --info
Portage 2.1.12.2 (hardened/linux/x86, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo i686)
=================================================================
System uname: Linux-3.7.10-gentoo-i686-Intel-R-_Xeon-R-_CPU_X5450_@_3.00GHz-with-gentoo-2.2
KiB Mem:     1033524 total,     69548 free
KiB Swap:    2000088 total,   1678352 free
Timestamp of tree: Mon, 01 Jul 2013 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl ads berkdb bzip2 cli cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 jpeg modules mudflap mysql ncurses nls nptl openmp pam pax_kernel pcre perl pic png python readline session ssl tcpd truetype unicode urandom x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi" 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" 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 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



_________________


Last edited by midway on Tue Jul 09, 2013 4:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7403
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Jul 01, 2013 3:58 pm    Post subject: Reply with quote

No, you're not missing anything and your interpretation is correct: add the openssl USE flag. :wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Mon Jul 01, 2013 4:13 pm    Post subject: Reply with quote

Thanks John. I thought as much. However the package build proftpd already has it unless I am missing something here.
Code:

# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.4c.ebuild,v 1.9 2013/05/07 13:54:51 ago Exp $

EAPI=4
inherit eutils multilib systemd

MOD_CASE="0.7"
MOD_CLAMAV="0.11rc"
MOD_DISKUSE="0.9"
MOD_GSS="1.3.3"
MOD_VROOT="0.9.2"

DESCRIPTION="An advanced and very configurable FTP server."
HOMEPAGE="http://www.proftpd.org/
        http://www.castaglia.org/proftpd/
        http://www.thrallingpenguin.com/resources/mod_clamav.htm
        http://gssmod.sourceforge.net/"
SRC_URI="ftp://ftp.proftpd.org/distrib/source/${P/_/}.tar.gz
        case? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-case-${MOD_CASE}.tar.gz )
        clamav? ( https://secure.thrallingpenguin.com/redmine/attachments/download/1/mod_clamav-${MOD_CLAMAV}.tar.gz )
        diskuse? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-diskuse-${MOD_DISKUSE}.tar.gz )
        kerberos? ( mirror://sourceforge/gssmod/mod_gss-${MOD_GSS}.tar.gz )
        vroot? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-vroot-${MOD_VROOT}.tar.gz )"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="acl authfile ban +caps case clamav copy ctrls deflate diskuse doc dso exec ifsession ifversion ident ipv6
        kerberos ldap linguas_bg_BG linguas_en_US linguas_fr_FR linguas_it_IT linguas_ja_JP linguas_ko_KR
        linguas_ru_RU linguas_zh_CN linguas_zh_TW memcache mysql ncurses nls openssl pam +pcre postgres qos radius
        ratio readme rewrite selinux sftp shaper sitemisc softquota sqlite ssl tcpd test trace vroot xinetd"
REQUIRED_USE="ban? ( ctrls )
        sftp? ( openssl )
        shaper? ( ctrls )
        ssl? ( openssl )"

CDEPEND="acl? ( virtual/acl )
        caps? ( sys-libs/libcap )
        clamav? ( app-antivirus/clamav )
        kerberos? ( virtual/krb5 )
        ldap? ( net-nds/openldap )
        memcache? ( >=dev-libs/libmemcached-0.41 )
        mysql? ( virtual/mysql )
        nls? ( virtual/libiconv )
        ncurses? ( sys-libs/ncurses )
        openssl? ( dev-libs/openssl )
        pam? ( virtual/pam )
        pcre? ( dev-libs/libpcre )
        postgres? ( dev-db/postgresql-base )
        sqlite? ( dev-db/sqlite:3 )
        xinetd? ( virtual/inetd )"
DEPEND="${CDEPEND}
        test? ( dev-libs/check )"
RDEPEND="${CDEPEND}
        net-ftp/ftpbase
        selinux? ( sec-policy/selinux-ftp )"

S="${WORKDIR}/${P/_/}"

Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7403
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Jul 01, 2013 4:16 pm    Post subject: Reply with quote

You can't tell what USE flags are enabled by looking at the ebuild; all you can tell is what USE flags the ebuild responds to. You have to look at emerge output. What you posted above,
Code:
!!! The ebuild selected to satisfy "net-ftp/proftpd" has unmet requirements.
- net-ftp/proftpd-1.3.4c::gentoo USE="acl caps ipv6 mysql ncurses nls pam pcre ssl tcpd -authfile -ban -case -clamav -copy -ctrls -deflate -diskuse -doc -dso -exec -ident -ifsession -ifversion -kerberos -ldap -memcache -openssl -postgres -qos -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -softquota -sqlite -test -trace -vroot -xinetd" LINGUAS="-bg_BG -en_US -fr_FR -it_IT -ja_JP -ko_KR -ru_RU -zh_CN -zh_TW"
clearly shows that the openssl USE flag is unset.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Tue Jul 09, 2013 1:48 pm    Post subject: Reply with quote

Thanks John. After adding the openssl under make.conf use - portage is updating fine.
However, one more puzzle to understand, how would you interpret this:
Code:

!!! The ebuild selected to satisfy "dev-php/suhosin" has unmet requirements.
- dev-php/suhosin-0.9.33::gentoo USE="" PHP_TARGETS="-php5-3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    php_targets_php5-3

  The above constraints are a subset of the following complete expression:
    any-of ( php_targets_php5-3 )
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Tue Jul 09, 2013 4:02 pm    Post subject: Reply with quote

Hi you don't have set PHP_TARGETS
you can set in make.conf or per package bases in package.use

PHP_TARGETS="php5-3" in make.conf or

dev-php/suhosin php_targets_php5-3 in package.use should do the trick.

more info here http://www.gentoo.org/proj/en/php/php-upgrading.xml#doc_chap3
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Tue Jul 09, 2013 4:08 pm    Post subject: Reply with quote

Woofie wrote:
Hi you don't have set PHP_TARGETS
you can set in make.conf or per package bases in package.use

PHP_TARGETS="php5-3" in make.conf or

dev-php/suhosin php_targets_php5-3 in package.use should do the trick.

more info here http://www.gentoo.org/proj/en/php/php-upgrading.xml#doc_chap3


brill, many thanks. thats has solved my problem. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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