Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVD]Why dev-ruby/log4r does not show ruby_targets_ruby24?
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
Punchcutter
Guru
Guru


Joined: 11 Feb 2007
Posts: 329

PostPosted: Thu Sep 13, 2018 1:23 am    Post subject: [SOLVD]Why dev-ruby/log4r does not show ruby_targets_ruby24? Reply with quote

I am trying to upgrade app-emulation/vagrant. It tells me
Code:
emerge: there are no ebuilds to satisfy "<dev-ruby/log4r-1.1.11[ruby_targets_ruby24]".

But in my portage tree, the log4r package only has USE flag ruby_targets_ruby23.

The https://packages.gentoo.org/packages/dev-ruby/log4r tells me that this package should have both ruby24 and ruby25 USE flags.

Yes, I have run both emerge --sync and emerge-webrsync. Still, log4r does not show ruby targets above 23.
My make.conf contains
Code:
RUBY_TARGETS="ruby24 ruby23"

I have ruby 2.3.7 and also 2.4.4-r1 installed (just now updated) in, I guess, different slots.

Now.... there is still no ruby24 target available for log4r, but when I try to emerge -pvu vagrant again, NOW it tells me:
Code:
emerge: there are no ebuilds to satisfy ">=dev-ruby/log4r-1.1.9[ruby_targets_ruby24]".
IOW, now it is looking for a lower version number of log4r (1.1.9 instead of 1.1.11).

Can anyone explain this strangeness to me? Thanks.

Code:
# emerge --info
Portage 2.3.40 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.122-gentoo x86_64)
=================================================================
System uname: Linux-4.9.122-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1505M_v5_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16061564 total,    409852 free
KiB Swap:   16777212 total,  15388540 free
Timestamp of repository gentoo: Thu, 13 Sep 2018 00:00:01 +0000
Head commit of repository gentoo: b8656538c85c9b1bea66781ba6052ee17194e63f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /usr/share/X11/xkb"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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.osuosl.org http://gentoo.cs.utah.edu http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.fslutd.org/linux/distributions/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
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"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cjk cli crypt cups cxx dbus dri gdbm gnutls gpg iconv icu immqt-bc libtirpc modules multilib ncurses nls nptl opengl openmp pam pcre pdf readline seccomp ssl tcpd unicode v4l2 vim-syntax xattr xinerama xrandr zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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 plan sheets stage 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="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-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Last edited by Punchcutter on Thu Sep 13, 2018 4:13 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13622

PostPosted: Thu Sep 13, 2018 3:40 am    Post subject: Reply with quote

Code:
/usr/portage/profiles/base/use.stable.mask-# Hans de Graaff <graaff@gentoo.org> (25 Dec 2017)
/usr/portage/profiles/base/use.stable.mask-# Currently in testing and not ready to go stable yet.
/usr/portage/profiles/base/use.stable.mask:ruby_targets_ruby24
/usr/portage/profiles/base/use.stable.mask:ruby_targets_ruby25
Packages merged through stable keywords cannot enable those flags until that mask is removed. There are no stable versions of Vagrant, so you must be using unstable Vagrant with stable log4r. That will cause this failure. Enable unstable keywords for log4r or disable unstable keywords for Vagrant.
Back to top
View user's profile Send private message
Punchcutter
Guru
Guru


Joined: 11 Feb 2007
Posts: 329

PostPosted: Thu Sep 13, 2018 4:12 am    Post subject: Reply with quote

Thanks Hu... (not for the first time)

My "level" on the forum is Guru, but clearly I still have far to go to earn this title :lol: I would have taken a long time to figure this out myself, I fear...

In the end I had to add a crapload of dependencies to the keywords file by hand as well... because for most of them portage did not do its usual helpful thing of suggesting the keyword changes. Maybe there was an easier, Guru-level technique for generating those dependency keyword entries automagically, but alas...
Back to top
View user's profile Send private message
Punchcutter
Guru
Guru


Joined: 11 Feb 2007
Posts: 329

PostPosted: Thu Sep 13, 2018 4:14 am    Post subject: Reply with quote

Incidentally, went to mark the OP as solved, and the subject line would not allow me to enter all characters. Is there a (new?) length limit on subject lines?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13622

PostPosted: Fri Sep 14, 2018 1:56 am    Post subject: Reply with quote

There has been a length limit for as long as I can remember. It is lax enough that you usually don't notice it, but if you use up almost all the space with the original problem report, it's rather noticeable when you go back to decorate the title.

I already knew about the quirk described above, so solving your problem only required that I confirm that the quirk applied in this case. As for your problem entering the keywords, you probably expected autounmask to help you. I don't see from your emerge --info why it would not have done so. Generally, it seems to cause more problems than it solves, but for your use case, where you know you want to keyword these packages, it would have been a good fit.
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