Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with emerge @preserved-rebuild please [solved]
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
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1115
Location: Tri-Cities, WA USA

PostPosted: Mon Oct 23, 2017 12:44 pm    Post subject: Help with emerge @preserved-rebuild please [solved] Reply with quote

The following is a bit much but I wanted to post it before I proceed.
I put the following in my make.conf
Code:
EMERGE_DEFAULT_OPTS="--autounmask-write y"


Then I issued a emerge@preserved-rebuild
and 12 packages get rebuilt from the list below but nothing gets resolved.

I get the same message after each world rebuild and emerge@preserved-rebuild
emerge -uDNavt @world;
Code:
!!! existing preserved libs:
>>> package: sys-libs/binutils-libs-2.28.1
 *  - /usr/lib64/libbfd-2.25.1.so
 *      used by /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so (sys-devel/binutils-2.25.1-r1)
>>> package: sys-libs/ncurses-6.0-r1
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.3_p48-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.28.2)
 *      used by /bin/more (sys-apps/util-linux-2.28.2)
 *      used by 16 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries

notes:
When I issue a emerge @preserved-rebuild I get the following:
Code:

ciclo ~ # emerge @preserved-rebuild
Calculating dependencies... done!
[ebuild   R    ] sys-apps/less-487
[ebuild   R    ] sys-process/psmisc-22.21-r3
[ebuild   R    ] sys-apps/texinfo-6.3
[ebuild   R    ] net-dialup/minicom-2.7.1
[ebuild   R    ] app-editors/vim-8.0.0386
[ebuild   R    ] sys-apps/util-linux-2.28.2
[ebuild   R   #] sys-devel/binutils-2.25.1-r1
[ebuild   R    ] app-shells/bash-4.3_p48-r1
[ebuild   R    ] sys-devel/llvm-3.9.1-r1
[ebuild   R    ] sys-block/parted-3.2-r1
[ebuild   R    ] media-sound/lame-3.99.5-r1
[ebuild   R    ] www-client/w3m-0.5.3-r9

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by @preserved-rebuild (argument)
# /usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.
=sys-devel/binutils-2.25.1-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.



Code:

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: sys-libs/binutils-libs-2.28.1
 *  - /usr/lib64/libbfd-2.25.1.so
 *      used by /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so (sys-devel/binutils-2.25.1-r1)
>>> package: sys-libs/ncurses-6.0-r1
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.3_p48-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.28.2)
 *      used by /bin/more (sys-apps/util-linux-2.28.2)
 *      used by 16 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
ciclo ~ # emerge @preserved-rebuild
Calculating dependencies... done!
[ebuild   R    ] sys-apps/less-487
[ebuild   R    ] sys-process/psmisc-22.21-r3
[ebuild   R    ] sys-apps/texinfo-6.3
[ebuild   R    ] net-dialup/minicom-2.7.1
[ebuild   R    ] app-editors/vim-8.0.0386
[ebuild   R    ] sys-apps/util-linux-2.28.2
[ebuild   R   #] sys-devel/binutils-2.25.1-r1
[ebuild   R    ] app-shells/bash-4.3_p48-r1
[ebuild   R    ] sys-devel/llvm-3.9.1-r1
[ebuild   R    ] sys-block/parted-3.2-r1
[ebuild   R    ] media-sound/lame-3.99.5-r1
[ebuild   R    ] www-client/w3m-0.5.3-r9

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by @preserved-rebuild (argument)
# /usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.
=sys-devel/binutils-2.25.1-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


make.conf I
# Iadded EMERGE_DEFAULT_OPTS="--autounmask-write y"
Code:

ciclo ~ # more /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
# more /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#cwc added -march=native
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
#cwc added
USE="tk"
L10N="en-US en"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
#USE="bindist mmx sse sse2"
# cwc added apache2
VIDEO_CARDS="nouveau"
MAKEOPTS="-j2"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
USE="ACL php apache2 gnome -qt4 -kde X dbus gtk dvd cdr pulseaudio"
#USE="$USE cxx -nocxx"
# removed bindist and systemd
#for gnome gnome gtk -kde -qt4
ACCEPT_LICENSE="Oracle-BCLA-JavaSE"
INPUT_DEVICES="evdev"
# end cwc
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="http://gentoo.osuosl.org/"

#SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"

#cwc changed off
#ACCEPT_LICENSE="*"
#cwc
#GRUB_PLATFORMS=efi-6



package.use
Code:

ciclo /etc/portage/package.use # more *
::::::::::::::
cross-avr
::::::::::::::
cross-avr/gcc -sanitize
::::::::::::::
iputils
::::::::::::::
net-misc/iputils -caps -filecaps
# required by gnome-base/gnome-shell-3.16.4::gentoo
# required by x11-terms/gnome-terminal-3.16.2-r2::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-3.16.0::gentoo
# required by gnome-base/gnome-3.16.0::gentoo
# required by gnome (argument)
>=gnome-base/gnome-control-center-3.16.3 networkmanager
# required by gnome-extra/gnome-user-share-3.14.2::gentoo
# required by gnome-base/gnome-extra-apps-3.16.0::gentoo[share]
# required by gnome-base/gnome-3.16.0::gentoo[extras]
# required by gnome (argument)
>=www-servers/apache-2.2.31 apache2_mpms_prefork
# required by media-gfx/gnome-photos-3.16.3::gentoo
# required by gnome-base/gnome-extra-apps-3.16.0::gentoo[tracker]
# required by gnome-base/gnome-3.16.0::gentoo[extras]
# required by gnome (argument)
>=media-plugins/grilo-plugins-0.2.14 upnp-av
::::::::::::::
package.use.txt
::::::::::::::
#cwc
dev-lang/python tk
>=sys-libs/tdb-1.3.8 python
>=sys-libs/tevent-0.9.28 python
>=sys-libs/ntdb-1.0-r1 python
>=net-fs/samba-4.2.14 client
#cwc
>=sys-libs/zlib-1.2.8-r1 minizip
#end vlc
<net-libs/nodejs-5.10.1
sys-block/gparted policykit -btrfs -dmraid -f2fs fat -hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs -xfs
# required by www-client/chromium-47.0.2526.106::gentoo
# required by chromium (argument)
#cwc >=sys-libs/zlib-1.2.8-r1 minizip
# required by www-client/chromium-47.0.2526.106::gentoo
# required by chromium (argument)
#cwc >=dev-libs/libxml2-2.9.2-r4 icu
gnome-base/gnome-session branding
# required by app-text/pdftk-2.02::gentoo
# required by pdftk (argument)
>=sys-devel/gcc-4.9.3 gcj
#cwc
dev-java/oracle-jre-bin alsa cups fontconfig -headless-awt -javafx -jce nsplugin -pax_kernel
dev-java/oracle-jdk-bin alsa cups fontconfig -derby -doc -examples -headless-awt -javafx -jce -nsplugin -pax_kernel -source
#cwc php added gd
#dev-lang/php gd apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter gdbm hash iconv ipv6 json ldap nls opcache phar posix readline session simplexml spell ssl systemd tokenizer truetype unicode xml zlib -
bcmath -calendar -cdb -cgi -cjk -curl -debug -embed -enchant -firebird -flatfile -fpm -frontbase -ftp -gd -gmp -imap -inifile -intl -iodbc -kerberos -ldap-sasl -libedit libmysqlclient -libressl -mhash -mssql mys
ql mysqli -oci8-instant-client -odbc -pcntl pdo -postgres -qdbm -recode -selinux -sharedmem -snmp -soap -sockets -sqlite -sybase-ct -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zi
p
dev-lang/php gd pdo  mysql mysqli
# required by media-gfx/gnome-photos-3.20.3::gentoo
# required by gnome-base/gnome-extra-apps-3.20.0::gentoo[tracker]
# required by gnome-base/gnome-3.20.0::gentoo[extras]
# required by @selected
# required by @world (argument)
>=media-libs/gegl-0.3.8 raw jpeg2k
#cwc
# required by www-client/chromium-55.0.2883.75::gentoo
# required by www-client/chromium (argument)
>=dev-libs/libxml2-2.9.4 icu
# required by www-client/chromium-55.0.2883.75::gentoo
# required by www-client/chromium (argument)
>=media-libs/libvpx-1.5.0 svc

# required by dev-qt/qtcore-5.6.2-r1::gentoo
# required by dev-qt/qtxml-5.6.2::gentoo
# required by dev-qt/linguist-tools-5.6.2::gentoo
# required by net-analyzer/wireshark-2.2.4::gentoo[qt5]
# required by @selected
# required by @world (argument)
>=dev-libs/libpcre-8.39 pcre16
#cwc
>=media-libs/libvpx-1.5.0 postproc



package.mask

Code:

ciclo /etc/portage/package.mask # more *
::::::::::::::
libtool
::::::::::::::
<sys-devel/libtool-2.4.3-r2
::::::::::::::
openrc
::::::::::::::
<sys-apps/openrc-0.13.0
<sys-process/procps-3.3.9-r2
::::::::::::::
perl
::::::::::::::
<dev-lang/perl-5.18.0
ciclo /etc/portage/package.mask #



[Moderator edit: added [code] tags to preserve output layout; split some code blocks to be per-file. -Hu]
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Thu Nov 23, 2017 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3717
Location: Germany

PostPosted: Mon Oct 23, 2017 1:49 pm    Post subject: Help with emerge @preserved-rebuild please Reply with quote

Hm, probably the old dead hard masked installed binutils-2.25.1-r1 version is still used.
Please run
Code:
binutils-config --list-profiles
and set with binutils-config the new stable version.
After this, uninstall the old binutils-2.25.1-r1 version with
Code:
emerge -av --depclean sys-devel/binutils

After this should emerge -av @preserved-rebuild
work.

/edit:
Oops sorry, here was a typo - I replaced the wrong "emerge -av @preserved-libs" command with the right @preserved-rebuild Set-Name.


Last edited by Josef.95 on Tue Oct 24, 2017 1:03 am; edited 1 time in total
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1115
Location: Tri-Cities, WA USA

PostPosted: Tue Oct 24, 2017 12:15 am    Post subject: Re: Help with emerge @preserved-rebuild please Reply with quote

Josef.95 wrote:
Hm, probably the old dead hard masked installed binutils-2.25.1-r1 version is still used.
Please run
Code:
binutils-config --list-profiles
and set with binutils-config the new stable version.
After this, uninstall the old binutils-2.25.1-r1 version with
Code:
emerge -av --depclean sys-devel/binutils

After this should emerge -av @preserved-libs
work.


Thanks for the lines.
wow. I should read eselect a bit closer.

eselect | grep binutils
binutils Manage installed versions of sys-devel/binutils

solved:
eselect binutils list
eselect binutils set 4 (in my case)
emerge -av --depclean sys-devel/binutils


Now my output is:
Code:
!! existing preserved libs:
>>> package: sys-libs/ncurses-6.0-r1
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.3_p48-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.28.2)
 *      used by /bin/more (sys-apps/util-linux-2.28.2)
 *      used by 16 other files

Which is normal. Kind of.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
Without diversity there can be no evolution:)
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