Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mass rebuild due to LINGUAS
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Anton Gubarkov
n00b
n00b


Joined: 13 Mar 2008
Posts: 65

PostPosted: Fri Jan 05, 2018 9:53 pm    Post subject: mass rebuild due to LINGUAS Reply with quote

I didn't change anything about my LINGUAS/L10N, however today emerge -u @world proposd me to rebuild a lot of packages due to LINGUAS change.

Code:

r9-008cln ~ # emerge -uDUav @world --with-bdeps=y --keep-going

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

Calculating dependencies / * Manifest not found for '/home/anton/devel/rugubara/net-voip/linphone/linphone-3.12.0.ebuil
d'
 * Manifest not found for '/home/anton/devel/rugubara/net-voip/linphone/linphone-3.6.1.ebuild'
... done!
[ebuild  N     ] media-libs/fdk-aac-0.1.5:0/1::gentoo  USE="-examples -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] sys-kernel/linux-firmware-20180103-r1::gentoo [20171206::gentoo] USE="savedconfig" 135,025 KiB
[ebuild     U  ] sys-apps/hdparm-9.53::gentoo [9.52::gentoo] USE="-static" 134 KiB
[ebuild     U  ] sys-firmware/intel-microcode-20171117_p20171215::gentoo [20171117::gentoo] USE="initramfs split-ucode
(-monolithic%)" 1,435 KiB
[ebuild     U  ] app-shells/bash-completion-2.7-r2::gentoo [2.7-r1::gentoo] USE="{-test}" 0 KiB
[ebuild   R    ] net-libs/gnutls-3.5.16:0/30::gentoo  USE="cxx idn nls openssl seccomp tls-heartbeat zlib -dane -doc -e
xamples -guile -linguas_cs -linguas_de -linguas_en* -linguas_fi -linguas_fr -linguas_it -linguas_ms -linguas_nl -lingua
s_pl -linguas_sv -linguas_uk -linguas_vi -linguas_zh_CN -openpgp -pkcs11 -sslv2 -sslv3 -static-libs {-test} -test-full
-tools -valgrind" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] dev-lang/python-3.6.4:3.6/3.6m::gentoo [3.6.3-r1:3.6/3.6m::gentoo] USE="gdbm ipv6 ncurses readline sql
ite ssl (threads) xml -build -examples -hardened -libressl -tk -wininst" 16,608 KiB
[ebuild   R    ] app-text/iso-codes-3.76::gentoo  USE="(-linguas_af%) (-linguas_am%) (-linguas_ar%) (-linguas_as%) (-li
nguas_ast%) (-linguas_az%) (-linguas_be%) (-linguas_bg%) (-linguas_bn%) (-linguas_bn_IN%) (-linguas_br%) (-linguas_bs%)
 (-linguas_byn%) (-linguas_ca%) (-linguas_crh%) (-linguas_cs%) (-linguas_cy%) (-linguas_da%) (-linguas_de%) (-linguas_d
z%) (-linguas_el%) (-linguas_en%*) (-linguas_eo%) (-linguas_es%) (-linguas_et%) (-linguas_eu%) (-linguas_fa%) (-linguas
_fi%) (-linguas_fo%) (-linguas_fr%) (-linguas_ga%) (-linguas_gez%) (-linguas_gl%) (-linguas_gu%) (-linguas_haw%) (-ling
uas_he%) (-linguas_hi%) (-linguas_hr%) (-linguas_hu%) (-linguas_hy%) (-linguas_ia%) (-linguas_id%) (-linguas_is%) (-lin
guas_it%) (-linguas_ja%) (-linguas_ka%) (-linguas_kk%) (-linguas_km%) (-linguas_kn%) (-linguas_ko%) (-linguas_kok%) (-l
inguas_ku%) (-linguas_lt%) (-linguas_lv%) (-linguas_mi%) (-linguas_mk%) (-linguas_ml%) (-linguas_mn%) (-linguas_mr%) (-
linguas_ms%) (-linguas_mt%) (-linguas_nb%) (-linguas_ne%) (-linguas_nl%) (-linguas_nn%) (-linguas_nso%) (-linguas_oc%)
(-linguas_or%) (-linguas_pa%) (-linguas_pl%) (-linguas_ps%) (-linguas_pt%) (-linguas_pt_BR%) (-linguas_ro%) (-linguas_r
u%*) (-linguas_rw%) (-linguas_si%) (-linguas_sk%) (-linguas_sl%) (-linguas_so%) (-linguas_sq%) (-linguas_sr%) (-linguas
_sr@latin%) (-linguas_sv%) (-linguas_sw%) (-linguas_ta%) (-linguas_te%) (-linguas_th%) (-linguas_ti%) (-linguas_tig%) (
-linguas_tk%) (-linguas_tl%) (-linguas_tr%) (-linguas_tt%) (-linguas_tt@iqtelif%) (-linguas_ug%) (-linguas_uk%) (-lingu
as_ve%) (-linguas_vi%) (-linguas_wa%) (-linguas_wal%) (-linguas_wo%) (-linguas_xh%) (-linguas_zh_CN%) (-linguas_zh_HK%)
 (-linguas_zh_TW%) (-linguas_zu%)" 0 KiB
[ebuild   R    ] net-ftp/lftp-4.8.3::gentoo  USE="gnutls idn ipv6 nls ssl -convert-mozilla-cookies -libressl -linguas_c
s -linguas_de -linguas_es -linguas_fr -linguas_it -linguas_ja -linguas_ko -linguas_pl -linguas_pt_BR -linguas_ru* -ling
uas_uk -linguas_zh_CN -linguas_zh_HK -linguas_zh_TW -socks5 -verify-file" 0 KiB
[ebuild   R    ] app-text/aspell-0.60.7_rc1::gentoo  USE="nls unicode (-linguas_af%) (-linguas_be%) (-linguas_bg%) (-li
nguas_br%) (-linguas_ca%) (-linguas_cs%) (-linguas_cy%) (-linguas_da%) (-linguas_de%) (-linguas_de@1901%) (-linguas_el%
) (-linguas_en%*) (-linguas_eo%) (-linguas_es%) (-linguas_et%) (-linguas_fi%) (-linguas_fo%) (-linguas_fr%) (-linguas_g
a%) (-linguas_gl%) (-linguas_he%) (-linguas_hr%) (-linguas_hu%) (-linguas_hy%) (-linguas_is%) (-linguas_it%) (-linguas_
la%) (-linguas_lt%) (-linguas_nl%) (-linguas_no%) (-linguas_pl%) (-linguas_pt%) (-linguas_pt_BR%) (-linguas_ro%) (-ling
uas_ru%*) (-linguas_sk%) (-linguas_sl%) (-linguas_sr%) (-linguas_sv%) (-linguas_uk%) (-linguas_vi%)" L10N="en ru -af -b
e -bg -br -ca -cs -cy -da -de -de-1901 -el -eo -es -et -fi -fo -fr -ga -gl -he -hr -hu -hy -is -it -la -lt -nl -no -pl
-pt -pt-BR -ro -sk -sl -sr -sv -uk -vi" 0 KiB
[ebuild   R    ] app-portage/eix-0.33.0-r1::gentoo  USE="nls sqlite -debug -doc (-linguas_de%) (-linguas_ru%*)" 0 KiB
[ebuild     U  ] x11-libs/libdrm-2.4.89::gentoo [2.4.88::gentoo] USE="-libkms -static-libs -valgrind" ABI_X86="32 (64)
(-x32)" VIDEO_CARDS="intel -amdgpu (-exynos) (-freedreno) -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware"
775 KiB
[ebuild   R    ] app-text/po4a-0.47-r1::gentoo  USE="{-test} (-linguas_af%) (-linguas_ca%) (-linguas_cs%) (-linguas_da%
) (-linguas_de%) (-linguas_eo%) (-linguas_es%) (-linguas_et%) (-linguas_eu%) (-linguas_fr%) (-linguas_hr%) (-linguas_id
%) (-linguas_it%) (-linguas_ja%) (-linguas_kn%) (-linguas_ko%) (-linguas_nb%) (-linguas_nl%) (-linguas_pl%) (-linguas_p
t%) (-linguas_pt_BR%) (-linguas_ru%*) (-linguas_sl%) (-linguas_sv%) (-linguas_uk%) (-linguas_vi%) (-linguas_zh_CN%) (-l
inguas_zh_HK%)" 0 KiB
[ebuild   R    ] net-print/cups-2.2.6::gentoo  USE="X acl dbus linguas_ca* linguas_cs* linguas_de* linguas_es* linguas_
fr* linguas_it* linguas_ja* linguas_ru pam ssl systemd threads usb -debug -java -kerberos -lprng-compat -python (-selin
ux) -static-libs -xinetd -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] net-analyzer/nmap-7.60::gentoo  USE="ipv6 nls nse ssl -libressl -libssh2 -linguas_de -linguas_fr -ling
uas_hi -linguas_hr -linguas_it -linguas_ja -linguas_pl -linguas_pt_BR -linguas_ru* -linguas_zh -ncat -ndiff -nmap-updat
e -nping (-system-lua) -zenmap" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] x11-apps/intel-gpu-tools-1.20::gentoo [1.15::gentoo] USE="X%* alsa%* udev%* xv%* -glib% -gsl% -sound%
-test-programs -unwind -valgrind% -xrandr%" VIDEO_CARDS="intel%* -amdgpu% -nouveau" 2,222 KiB
[ebuild   R    ] sys-apps/portage-2.3.19-r1::gentoo  USE="doc (ipc) native-extensions xattr -build -epydoc -linguas_ru*
 (-selinux)" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6" 0 KiB
[ebuild   R    ] net-p2p/deluge-1.3.15-r2::gentoo  USE="gtk libnotify -console -geoip -sound -webinterface (-linguas_af
%) (-linguas_ar%) (-linguas_ast%) (-linguas_be%) (-linguas_bg%) (-linguas_bn%) (-linguas_bs%) (-linguas_ca%) (-linguas_
cs%) (-linguas_cy%) (-linguas_da%) (-linguas_de%) (-linguas_el%) (-linguas_en_AU%) (-linguas_en_CA%) (-linguas_en_GB%)
(-linguas_eo%) (-linguas_es%) (-linguas_et%) (-linguas_eu%) (-linguas_fa%) (-linguas_fi%) (-linguas_fo%) (-linguas_fr%)
 (-linguas_fy%) (-linguas_ga%) (-linguas_gl%) (-linguas_he%) (-linguas_hi%) (-linguas_hr%) (-linguas_hu%) (-linguas_id%
) (-linguas_is%) (-linguas_it%) (-linguas_iu%) (-linguas_ja%) (-linguas_ka%) (-linguas_kk%) (-linguas_km%) (-linguas_kn
%) (-linguas_ko%) (-linguas_ku%) (-linguas_ky%) (-linguas_la%) (-linguas_lb%) (-linguas_lt%) (-linguas_lv%) (-linguas_m
k%) (-linguas_ml%) (-linguas_ms%) (-linguas_nap%) (-linguas_nb%) (-linguas_nds%) (-linguas_nl%) (-linguas_nn%) (-lingua
s_oc%) (-linguas_pl%) (-linguas_pms%) (-linguas_pt%) (-linguas_pt_BR%) (-linguas_ro%) (-linguas_ru%*) (-linguas_si%) (-
linguas_sk%) (-linguas_sl%) (-linguas_sr%) (-linguas_sv%) (-linguas_ta%) (-linguas_te%) (-linguas_th%) (-linguas_tl%) (
-linguas_tlh%) (-linguas_tr%) (-linguas_uk%) (-linguas_ur%) (-linguas_vi%) (-linguas_zh_CN%) (-linguas_zh_HK%) (-lingua
s_zh_TW%)" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] sys-apps/shadow-4.5::gentoo  USE="acl cracklib nls pam xattr -audit -linguas_cs -linguas_da -linguas_d
e -linguas_es -linguas_fi -linguas_fr -linguas_hu -linguas_id -linguas_it -linguas_ja -linguas_ko -linguas_pl -linguas_
pt_BR -linguas_ru* -linguas_sv -linguas_tr -linguas_zh_CN -linguas_zh_TW (-selinux) -skey" 0 KiB
[ebuild     U  ] x11-drivers/nvidia-drivers-390.12:0/390::gentoo [387.34:0/387::gentoo] USE="X acpi compat driver gtk3
kms multilib tools uvm wayland -pax_kernel -static-libs" ABI_X86="32 (64) (-x32)" 81,265 KiB
[ebuild   R    ] dev-vcs/git-2.15.1::gentoo  USE="blksha1 curl gnome-keyring gpg iconv nls pcre pcre-jit perl python th
reads tk webdav -cgi -cvs -doc -emacs -highlight -libressl -mediawiki -mediawiki-experimental (-ppcsha1) -subversion {-
test} -xinetd (-linguas_bg%) (-linguas_ca%) (-linguas_de%) (-linguas_fr%) (-linguas_is%) (-linguas_it%) (-linguas_ko%)
(-linguas_pt_PT%) (-linguas_ru%*) (-linguas_sv%) (-linguas_vi%) (-linguas_zh_CN%)" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] media-gfx/exiv2-0.26_p20171104-r1:0/26::gentoo  USE="nls png xmp -doc -examples -linguas_bs -linguas_d
e -linguas_es -linguas_fi -linguas_fr -linguas_gl -linguas_ms -linguas_pl -linguas_pt -linguas_ru* -linguas_sk -linguas
_sv -linguas_ug -linguas_uk -linguas_vi -webready" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] app-admin/system-config-printer-1.4.8::gentoo  USE="gnome-keyring policykit -doc -linguas_ar -linguas_
as -linguas_bg -linguas_bn -linguas_bn_IN -linguas_br -linguas_bs -linguas_ca -linguas_cs -linguas_cy -linguas_da -ling
uas_de -linguas_el -linguas_en_GB -linguas_es -linguas_et -linguas_fa -linguas_fi -linguas_fr -linguas_gu -linguas_he -
linguas_hi -linguas_hr -linguas_hu -linguas_hy -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_kn
-linguas_ko -linguas_lo -linguas_lv -linguas_mai -linguas_mk -linguas_ml -linguas_mr -linguas_ms -linguas_nb -linguas_n
l -linguas_nn -linguas_or -linguas_pa -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ro -linguas_ru* -linguas_si -ling
uas_sk -linguas_sl -linguas_sr -linguas_sr@latin -linguas_sv -linguas_ta -linguas_te -linguas_th -linguas_tr -linguas_u
k -linguas_vi -linguas_zh_CN -linguas_zh_TW" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] www-client/google-chrome-63.0.3239.132::gentoo [63.0.3239.108::gentoo] USE="plugins" L10N="ru -am -ar
-bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml
 -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 48,404 KiB
[ebuild   R    ] media-sound/flacon-4.0.0::gentoo  USE="{-test} (-linguas_cs%) (-linguas_cs_CZ%) (-linguas_de%) (-lingu
as_es%) (-linguas_es_MX%) (-linguas_fr%) (-linguas_gl%) (-linguas_hu%) (-linguas_it%) (-linguas_ja_JP%) (-linguas_lt%)
(-linguas_nb%) (-linguas_nl%) (-linguas_pl%) (-linguas_pl_PL%) (-linguas_pt_BR%) (-linguas_pt_PT%) (-linguas_ro_RO%) (-
linguas_ru%*) (-linguas_sr%) (-linguas_sr@latin%) (-linguas_tr%) (-linguas_uk%) (-linguas_zh_CN%)" 0 KiB
[ebuild     U  ] x11-libs/wxGTK-3.0.3:3.0::gentoo [3.0.2.0-r3:3.0::gentoo] USE="X gstreamer libnotify opengl sdl tiff (
-aqua) -debug -doc (-webkit%)" ABI_X86="(64) -32 (-x32)" 19,667 KiB
[ebuild     U  ] media-gfx/gimp-2.9.8-r1:2::gentoo [2.9.8:2::gentoo] USE="alsa gnome jpeg2k mng pdf smp udev -aalib (-a
ltivec) (-aqua) -debug -doc -linguas_am -linguas_ar -linguas_ast -linguas_az -linguas_be -linguas_bg -linguas_br -lingu
as_ca -linguas_ca@valencia -linguas_cs -linguas_csb -linguas_da -linguas_de -linguas_dz -linguas_el -linguas_en_CA -lin
guas_en_GB -linguas_eo -linguas_es -linguas_et -linguas_eu -linguas_fa -linguas_fi -linguas_fr -linguas_ga -linguas_gl
-linguas_gu -linguas_he -linguas_hi -linguas_hr -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ka
 -linguas_kk -linguas_km -linguas_kn -linguas_ko -linguas_lt -linguas_lv -linguas_mk -linguas_ml -linguas_ms -linguas_m
y -linguas_nb -linguas_nds -linguas_ne -linguas_nl -linguas_nn -linguas_oc -linguas_pa -linguas_pl -linguas_pt -linguas
_pt_BR -linguas_ro -linguas_ru* -linguas_rw -linguas_si -linguas_sk -linguas_sl -linguas_sr -linguas_sr@latin -linguas_
sv -linguas_ta -linguas_te -linguas_th -linguas_tr -linguas_tt -linguas_uk -linguas_vi -linguas_xh -linguas_yi -linguas
_zh_CN -linguas_zh_HK -linguas_zh_TW -openexr -postscript -python {-test} -vector-icons -webp -wmf -xpm" CPU_FLAGS_X86=
"mmx sse" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] net-voip/linphone-3.6.1::gentoo  USE="assistant gtk ipv6 libnotify ncurses nls sqlite ssl -doc -gsm-no
nstandard -linguas_cs -linguas_de -linguas_es -linguas_fr -linguas_he -linguas_hu -linguas_it -linguas_ja -linguas_nl -
linguas_pl -linguas_pt_BR -linguas_ru* -linguas_sr -linguas_sv -linguas_zh_CN -tools -upnp -video" 0 KiB
[ebuild   R    ] media-video/ffmpeg-3.4.1:0/55.57.57::gentoo  USE="X alsa bluray bzip2 encode fdk* frei0r gpl hardcoded
-tables iconv ieee1394 jack jpeg2k mp3 network nvenc opengl opus postproc pulseaudio sdl speex svg theora threads truet
ype v4l vaapi vorbis vpx wavpack x264 x265 xcb xvid zlib (-altivec) -amr -amrenc (-appkit) -bs2b -cdio -celt -chromapri
nt -chromium -cpudetection -debug -doc -flite -fontconfig -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -kvazaar -l
adspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -
openal -openh264 -openssl -oss -pic -rubberband -samba -snappy -ssh -static-libs {-test} -twolame -vdpau -webp -zeromq
-zimg -zvbi" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3d
now -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt
-faststart sidxindex trasher" 0 KiB

Total: 29 packages (11 upgrades, 1 new, 17 reinstalls), Size of downloads: 305,531 KiB

!!! The following installed packages are masked:
- sys-kernel/gentoo-sources-4.13.16::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Alice Ferrazzi <alicef@gentoo.org> (22 Dec 2017)
# Masked for removal in 30 days.
# Linux kernel 4.13 can break various laptops.
# (bug #642026)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] n

Quitting.


I wonder what it can mean... I wouldn't like to loose RU interfaces in certain apps like gimp, aspell and iso-codes.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Fri Jan 05, 2018 9:57 pm    Post subject: Reply with quote

Same problem here!

Gentoo developers really hate their users! How can they make such a change without an announcement?

I finally found an explanation: 643598


Last edited by mike155 on Fri Jan 05, 2018 10:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31301
Location: here

PostPosted: Fri Jan 05, 2018 9:57 pm    Post subject: Reply with quote

https://archives.gentoo.org/gentoo-dev/message/29b00839ba5be715d883412011d8a421
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
UlvHare
n00b
n00b


Joined: 09 Sep 2015
Posts: 21
Location: USSR

PostPosted: Sat Jan 06, 2018 9:48 am    Post subject: Reply with quote

mike155 wrote:
Same problem here!

Gentoo developers really hate their users! How can they make such a change without an announcement?

I finally found an explanation: 643598

The same problem, thanks for link. So just add
Code:
USE="... linguas_[your-lang] ..."
in /etc/portage/package.use for special packages or generally in /etc/portage/make.conf.

But I think it will be good to put this info in portage news, please.
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Sat Jan 06, 2018 12:12 pm    Post subject: Reply with quote

Hate is a strong word. Perhaps at times indifferent.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Sat Jan 06, 2018 12:18 pm    Post subject: Reply with quote

No one is forcing you to casually update with -U or -N, so on a regular update there is no 'mass rebuild' happening.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 340

PostPosted: Sat Jan 06, 2018 2:28 pm    Post subject: Reply with quote

I will wait until they are done with removing linguas from all ebuilds and then:
Code:
find /var/db/pkg -name IUSE -exec sed -i 's/+*linguas_[a-z]*_*[A-Z]*@*[a-z]* *//g' {} \;
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 499

PostPosted: Sat Jan 06, 2018 3:14 pm    Post subject: Reply with quote

From one of the posts in https://bugs.gentoo.org/643598 (the highlight is mine):
Quote:

As of today, any linguas_* flags are not expanded from the LINGUAS variable any more, but behave like normal USE flags. So, during a transition time, it will unfortunately be necessary to set all three variables, namely:

L10N="en es"
LINGUAS="en es"
USE="... linguas_en linguas_es ..." (or alternatively, the local flags in
/etc/portage/package.use)


The goal is that we eliminate all linguas_* flags from IUSE of ebuilds, so that the LINGUAS environment variable will maintain the standard gettext behaviour.


The instructions for the users highlighted above should be communicated in an "eselect news" so we do not waste the time of the developers or the users.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1171
Location: /run/user/1000

PostPosted: Sat Jan 06, 2018 4:27 pm    Post subject: Reply with quote

Seems like we have to rebuild the whole world once per month for some reason.
Keep the reasons coming, it's fun ...
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Sat Jan 06, 2018 4:29 pm    Post subject: Reply with quote

No, you don't.
asturm wrote:
No one is forcing you to casually update with -U or -N, so on a regular update there is no 'mass rebuild' happening.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Jan 06, 2018 5:18 pm    Post subject: Reply with quote

asturm wrote:
No, you don't.
asturm wrote:
No one is forcing you to casually update with -U or -N, so on a regular update there is no 'mass rebuild' happening.


Code:
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run
 * `emerge --update --newuse --deep @world` prior to depclean.


Note: ... it often becomes necessary to run `emerge --update --newuse --deep @world ...

Although you are correct. No one is forcing us to update our installations at all, yet the advice to update often is often found in this forum.

You seem rather grumpy today. There are some fine beers available in Austria. Have a few steins and mellow out.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Sat Jan 06, 2018 5:39 pm    Post subject: Reply with quote

Tony0945 wrote:
Code:
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run
 * `emerge --update --newuse --deep @world` prior to depclean.

...which is offtopic, because neither do you --depclean all the time, nor does it require -N each run. If it does, it will tell you.

Tony0945 wrote:
No one is forcing us to update our installations at all

...so this is just a false conclusion.

Tony0945 wrote:
You seem rather grumpy today

Not sure where you get the idea, maybe because I don't waste words.

Tony0945 wrote:
There are some fine beers available in Austria.

That is true, however I prefer the Belgian beer. I know where to get it in Vienna though.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Jan 06, 2018 6:25 pm    Post subject: Reply with quote

asturm wrote:
Tony0945 wrote:
There are some fine beers available in Austria.

That is true, however I prefer the Belgian beer. I know where to get it in Vienna though.

I prefer Irish beer or Mexican darks, but this is off-topic. Let's get back to the problem, which BTW is preventing wine-vanilla from re-emerging which it only wants to do because of the Linguas/L10N changes.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jan 06, 2018 6:39 pm    Post subject: Reply with quote

Below is the latest comment from bugs 643598 and 643682:
Quote:
We are transitioning away from USE_EXPANDed LINGUAS variable. Unfortunately this means that for a short time, some packages still have IUSE=linguas_* set and your make.conf LINGUAS isn't expanded for that.

To workaround it, you can temporarily add "linguas_cs linguas_cs_CZ" to your USE until we finish the transition. After that you can remove it again, as LINGUAS will be used as a gettext standard variable with the package manager not coming in the way via USE flags (L10N is for that purpose where needed). You can see when you can remove it (and we've hopefully finished transition for everything involving your language) based on whether linguas_cs and linguas_cs_CZ are still present in /usr/portage/profiles/use.desc - if they are gone, then you can also remove this temporary workaround, as all packages for your language have been migrated then.

Sorry for the temporary inconvenience.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Sat Jan 06, 2018 6:39 pm    Post subject: Reply with quote

Tony0945 wrote:
which BTW is preventing wine-vanilla from re-emerging which it only wants to do because of the Linguas/L10N changes.

I'm emerging it right now, what's the problem? EDIT: Built just fine here.


Last edited by asturm on Sat Jan 06, 2018 7:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20501

PostPosted: Sat Jan 06, 2018 6:44 pm    Post subject: Re: mass rebuild due to LINGUAS Reply with quote

Anton Gubarkov wrote:
I wonder what it can mean... I wouldn't like to loose RU interfaces in certain apps like gimp, aspell and iso-codes.
mike155 wrote:
How can they make such a change without an announcement?
UlvHare wrote:
But I think it will be good to put this info in portage news, please.
limn wrote:
Hate is a strong word. Perhaps at times indifferent.
eselect news list wrote:
2016-06-23-l10n-use_expand
Title L10N USE_EXPAND variable replacing LINGUAS
Author Mart Raudsepp <leio@gentoo.org>
Author Ulrich Müller <ulm@gentoo.org>
Posted 2016-06-19
Revision 1

The L10N variable is replacing LINGUAS as a USE_EXPAND, to avoid a
conceptual clash with the standard gettext LINGUAS behaviour.

L10N controls which extra localization support will be installed.
This is commonly used for downloads of additional language packs.

If you have set LINGUAS in your make.conf, you most likely want to add
its entries also to L10N. Note that while the common two letter language
codes (like "de" or "fr") are identical, more complex entries have a
different syntax because L10N now uses IETF language tags. (For example,
"pt_BR" becomes "pt-BR" and "sr@latin" becomes "sr-Latn".) You can look
up the available codes in profiles/desc/l10n.desc in the gentoo tree.
A detailed description of language tags (aka BCP 47) can be found at:
https://www.w3.org/International/articles/language-tags/

After a transition time for packages to be converted, the LINGUAS
environment variable will maintain the standard gettext behaviour and
will work as expected with all package managers. It controls which
language translations are built and installed. An unset value means all
available, an empty value means none, and a value can be an unordered
list of gettext language codes, with or without country codes. Usually
two letter language codes suffice, but can be narrowed down by country
codes with a "ll_CC" formatting, where "ll" is the language code and
"CC" is the country code, e.g., "en_GB". Some rare languages also have
three letter language codes. Note that LINGUAS does not only affect
installed gettext catalog files (*.mo), but also lines of translations
in an always shipped file (e.g., *.desktop).

If you want English with a set LINGUAS, it is suggested to list it with
the desired country code, in case the default is not the usual "en_US".
It is also common to list "en" then, in case a package is natively
written in a different language, but does provide an English translation
for whichever country. A list of LINGUAS language codes is available at:
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes

If you have per-package customizations of the LINGUAS USE_EXPAND, you
should also rename those. This typically means changing linguas_* to
l10n_*, and possibly updating the syntax as described above.

https://wiki.gentoo.org/wiki/Localization/Guide has also been updated to
reflect this change.

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jan 06, 2018 7:20 pm    Post subject: Reply with quote

Quote:
eselect news list wrote:

1) The news item was posted 18 months (!) ago. Of course I didn't think about it when I saw the massive rebuild list generated by emerge.
2) The news item doesn't tell users that they should change their USE flags during the transition phase. It also doesn't tell users that they should avoid "emerge --newuse" until the end of the transition phase.
3) The news item tells users to copy LINGUAS settings to L10N settings - which is what it did in 2016. But I still got this massive rebuild list yesterday. So the news item is at least incomplete.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Sat Jan 06, 2018 7:30 pm    Post subject: Reply with quote

mike155 wrote:
It also doesn't tell users that they should avoid "emerge --newuse" until the end of the transition phase.

If --newuse is part of your usual upgrade command, then you have been doing lots of unnecessary rebuilds in all these years.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 340

PostPosted: Sat Jan 06, 2018 7:42 pm    Post subject: Reply with quote

The unnecessary rebuilding can be avoided.
Here is how I avoided rebuilding the packages because of the LINGUAS - I10N rigmarole:
Code:

~# emerge -vpDuN world --with-bdeps=y

[ebuild     U ] dev-libs/libffi-3.2.1-r1 [3.2.1] USE="-debug -pax_kernel -static-libs {-test}" ABI_X86="32 (64) (-x32)"
[ebuild     U ] dev-libs/mpc-1.0.3-r1 [1.0.3] USE="-static-libs" ABI_X86="32 (64) (-x32)"
[ebuild   R   ] sys-apps/man-pages-4.14  USE="nls" L10N="-da -de -fr -it -ja -nl -pl -ru -zh-CN (-ro%)"
[ebuild   R   ] sys-apps/portage-2.3.19-r1  USE="(ipc) native-extensions xattr -build -doc -epydoc (-selinux) (-linguas_ru%)"
PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6"
[ebuild   R   ] net-libs/gnutls-3.5.16  USE="cxx idn nls openssl seccomp tls-heartbeat zlib -dane -doc -examples -guile -openpgp -pkcs11 -sslv2 -sslv3 -static-libs {-test} -test-full -tools -valgrind (-linguas_cs%) (-linguas_de%) (-linguas_en%*) (-linguas_fi%) (-linguas_fr%) (-linguas_it%) (-linguas_ms%) (-linguas_nl%) (-linguas_pl%) (-linguas_sv%) (-linguas_uk%) (-linguas_vi%) (-linguas_zh_CN%)" ABI_X86="32 (64) (-x32)"
[ebuild   R   ] app-text/po4a-0.47-r1  USE="{-test} (-linguas_af%) (-linguas_ca%) (-linguas_cs%) (-linguas_da%) (-linguas_de%) (-linguas_eo%) (-linguas_es%) (-linguas_et%) (-linguas_eu%) (-linguas_fr%) (-linguas_hr%) (-linguas_id%) (-linguas_it%) (-linguas_ja%) (-linguas_kn%) (-linguas_ko%) (-linguas_nb%) (-linguas_nl%) (-linguas_pl%) (-linguas_pt%) (-linguas_pt_BR%) (-linguas_ru%) (-linguas_sl%) (-linguas_sv%) (-linguas_uk%) (-linguas_vi%) (-linguas_zh_CN%) (-linguas_zh_HK%)"
[ebuild     U ] app-editors/vim-core-8.0.1428 [8.0.1298] USE="acl nls -minimal"
[ebuild     U ] app-editors/vim-8.0.1428 [8.0.1298] USE="acl gpm nls perl python ruby -X -cscope -debug -lua -luajit -minimal
-racket (-selinux) -tcl -terminal -vim-pager" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 -python3_4 -python3_5 -python3_6"

First build the real updates
Code:
~# emerge -1a libffi mpc vim-core vim


For the remaining packages just modify the IUSE files in the pkg database.
Code:
~# for f in $(emerge -DuNp world| cut -d] -f2); do sed -i 's/+*linguas_[a-z]*_*[A-Z]*@*[0-9a-z]* *//g' /var/db/pkg/$f/IUSE; done

~# emerge -1aDuN world --with-bdeps=y
Nothing to merge; quitting.

In this machine only 4 packages needed the treatment.
I my other machine there were 31.

EDIT typo.
Back to top
View user's profile Send private message
ulm
Developer
Developer


Joined: 04 Oct 2004
Posts: 98
Location: Mainz, Germany

PostPosted: Sat Jan 06, 2018 9:04 pm    Post subject: Reply with quote

proteusx wrote:
For the remaining packages just modify the IUSE files in the pkg database.
Code:
~# for f in $(emerge -DuNp world| cut -d] -f2); do sed -i 's/+*linguas_[a-z]*_*[A-Z]*@*[0-9a-z]* *//g' /var/db/pkg/$f/IUSE; done

~# emerge -1aDuN world --with-bdeps=y
Nothing to merge; quitting.

In this machine only 4 packages needed the treatment.
I my other machine there were 31.

And this procedure will possibly break all those packages whose linguas_* flags weren't simply removed, but were replaced by l10n_* flags, or something still different.


Last edited by ulm on Sat Jan 06, 2018 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 340

PostPosted: Sat Jan 06, 2018 9:47 pm    Post subject: Reply with quote

ulm wrote:
proteusx wrote:
For the remaining packages just modify the IUSE files in the pkg database.
Code:
~# for f in $(emerge -DuNp world| cut -d] -f2); do sed -i 's/+*linguas_[a-z]*_*[A-Z]*@*[0-9a-z]* *//g' /var/db/pkg/$f/IUSE; done

~# emerge -1aDuN world --with-bdeps=y
Nothing to merge; quitting.

In this machine only 4 packages needed the treatment.
I my other machine there were 31.

And this procedure will possibly break all those packages whose linguas_* flags weren't simply removed, but where replaced by l10n_* flags, or something still different.


I can assure you nothing is broken.
Only the packages with USE changes of the form (-linguas_xx_YY@tt%) are edited.
If other flags are added or changed in the ebuild, then the package will be updated
in the subsequent emerge -DuN world.
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Sat Jan 06, 2018 11:20 pm    Post subject: Reply with quote

pjp wrote:
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jan 07, 2018 3:13 am    Post subject: Reply with quote

asturm wrote:
Tony0945 wrote:
which BTW is preventing wine-vanilla from re-emerging which it only wants to do because of the Linguas/L10N changes.

I'm emerging it right now, what's the problem? EDIT: Built just fine here.

Breaks at the configure stage because various linguas_* flags are not listed in IUSE. More than an annoyance at this point because it's a re-install because the linguas_flags went away. I didn't have them set anyway. I'm sure a corrected ebuild will be coming along. Wine has a boatload of linguas flags. I'm glad that there so many languages for it, but I only need or want English, whether US or UK is a matter of indifference to me. I can read Brit, what? As a British boss once told me, "The language is named English! Not American!"
Back to top
View user's profile Send private message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Sun Jan 07, 2018 8:53 am    Post subject: Reply with quote

asturm wrote:
mike155 wrote:
It also doesn't tell users that they should avoid "emerge --newuse" until the end of the transition phase.

If --newuse is part of your usual upgrade command, then you have been doing lots of unnecessary rebuilds in all these years.


That is only partially true. If one than rebuilding way You say lets say only once per month than harder it is to track a bug caused by one of the merged ebuilds. Over a month it may be well over 100 ebuilds to remerge due to changes. Good luck finding what broke than or having someone duplicate your problem. It is much better to emerge -UN more often. I would say at least once a week skipping only large packages like libreoffice, firefox, thunderbird and alike.

Saying that no one is forcing me to upgrade or use default settings made my package.(env|use|mask) & company already large enough...

Now I have set new use flag linguas_[what I want] but many of those ebuilds so far have masked the setting with inside parenthesis eg. (-linguas_sr%) Would those become eventually unmasked or one has to take extra steps in /etc/portage?
_________________
Sky is not the limit...
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 499

PostPosted: Mon Jan 08, 2018 3:54 am    Post subject: Reply with quote

I would also recommend using "emerge -auvDN world" as update command. In the long run, it will save the time of everyone.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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