Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binary updates skipped due to a dependency conflct
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Sat Jul 27, 2019 2:48 am    Post subject: Reply with quote

I thought python was resolved, but at this point, I have no idea. The emerge didn't last long failing with ACCESS VIOLATION (seemingly on everything once it started). Haven't seen those in a long time, so will have to dig around.

EDIT:

Not too bad if a bit scary.
Code:
$ cat /etc/sandbox.conf
# empty file because --include-config=n when `quickpkg` was used
The chroot file was populated, so copied that and it seems to be working. acpid is the only package with a different complaint. Will look at that later. Emerging in the 100s of ~350 packages, so a lot better.

Although now that I think about it, the message in that file makes me nervous about other packages.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Sat Jul 27, 2019 5:22 am    Post subject: Reply with quote

So I think acpid and eudev were the only failures. acpid due to my kernel sources, not sure about eudev.

However, this is "amusing". Re-running the upgrade command:
Code:


Total: 23 packages (6 downgrades, 17 reinstalls, 23 binaries), Size of downloads: 38 KiB

The following packages are causing rebuilds:

  (dev-lang/perl-5.26.2:0/5.26::gentoo, binary scheduled for merge) causes rebuilds for:
    (dev-perl/Spreadsheet-ParseExcel-0.650.0:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-File-Temp-0.230.400-r5:0/0::gentoo, binary scheduled for merge)
    (dev-perl/Crypt-RC4-2.020.0-r1:0/0::gentoo, binary scheduled for merge)
    (perl-core/File-Temp-0.230.400-r1:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-Data-Dumper-2.167.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/Types-Serialiser-1.0.0-r1:0/0::gentoo, binary scheduled for merge)
    (dev-perl/Unicode-Map-0.112.0-r1:0/0::gentoo, binary scheduled for merge)
    (dev-perl/Text-CSV_XS-1.340.0:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-Test-Harness-3.380.0:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-XSLoader-0.270.0:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-IO-1.380.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/common-sense-3.740.0-r1:0/0::gentoo, binary scheduled for merge)
    (virtual/perl-Exporter-5.720.0-r3:0/0::gentoo, binary scheduled for merge)
    (dev-perl/AnyEvent-7.140.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/IO-stringy-2.111.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/OLE-StorageLite-0.190.0-r1:0/0::gentoo, binary scheduled for merge)
    (dev-perl/JSON-XS-3.40.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/AnyEvent-I3-0.170.0:0/0::gentoo, binary scheduled for merge)
    (dev-perl/Digest-Perl-MD5-1.900.0:0/0::gentoo, binary scheduled for merge)
Naturally depclean complains:
Code:
Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-Parse-CPAN-Meta-2.150.10-r2
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-CPAN-Meta-YAML-0.18.0-r4
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-podlators-4.90.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-ExtUtils-ParseXS-3.340.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-Getopt-Long-2.490.0
 *
 *   dev-lang/perl:0/5.26=[-build(-)] pulled in by:
 *     dev-perl/XML-Parser-2.440.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/libintl-perl-1.280.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-ExtUtils-Install-2.40.0-r3
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-JSON-PP-2.274.0.200_rc
 *
 *   dev-lang/perl:0/5.26=[-build(-)] pulled in by:
 *     dev-perl/Text-WrapI18N-0.60.0-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-CPAN-Meta-2.150.10-r2
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-ExtUtils-MakeMaker-7.240.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-ExtUtils-MakeMaker-7.240.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-JSON-PP-2.274.0.200_rc
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/Text-Unidecode-1.300.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-ExtUtils-Manifest-1.700.0-r5
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-File-Spec-3.670.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-ExtUtils-Install-2.40.0-r3
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/TermReadKey-2.370.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-version-0.991.700
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-ExtUtils-CBuilder-0.280.225-r2
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-ExtUtils-CBuilder-0.280.225-r2
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-Text-ParseWords-3.300.0-r5
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-version-0.991.700
 *
 *   dev-lang/perl:0/5.26=[-build(-)] pulled in by:
 *     dev-perl/Text-CharWidth-0.40.0-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/SGMLSpm-1.1-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-Perl-OSType-1.10.0-r2
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     app-text/po4a-0.47-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/Canary-Stability-2012.0.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-File-Spec-3.670.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-Module-Metadata-1.0.33-r1
 *
 *   dev-lang/perl:0/5.26=[-build(-)] pulled in by:
 *     dev-perl/Unicode-EastAsianWidth-1.330.0-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/Locale-gettext-1.70.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-podlators-4.90.0
 *
 *   =dev-lang/perl-5.26* pulled in by:
 *     virtual/perl-ExtUtils-ParseXS-3.340.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     virtual/perl-Getopt-Long-2.490.0
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     sys-apps/texinfo-6.6-r1
 *
 *   dev-lang/perl:0/5.26= pulled in by:
 *     dev-perl/Module-Build-0.422.400


I'm calling that an improvement.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22457

PostPosted: Sat Jul 27, 2019 4:19 pm    Post subject: Reply with quote

quickpkg is dangerous to use for anything other than rolling a system back to its own earlier state, in my opinion. You should instead use FEATURES=buildpkg, which will get you a more accurate snapshot of the package as it was initially installed. The --include-config option on quickpkg was made with good intentions, but in the general case, it's fundamentally impossible to get right, in my opinion. Either you set =n, don't bring across the package's configuration files, and hope that the user overrides the stubs with working ones, or you set =y, bring across the package's configuration files, and hope you don't inherit local administrator changes that shouldn't go across. In the worst case, you might quickpkg a file where some of its configuration files are actually security-sensitive (either directly secret, or read by a process that makes security decisions, like sshd/pam) and unintentionally propagate those to a new system where, had you known, you would have configured the new system differently.

I would grep your CONFIG_PROTECT'd directories for other files with that comment, and update them from good copies.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Sun Jul 28, 2019 4:39 am    Post subject: Reply with quote

/etc has 66, so yeah. And I don't often reboot, so now I'm extremely nervous about possible 'non generic' configs. I'll probably work on that next.

As far as I know, I'm only using buildpkg. Or at least it is in FEATURES, and I don't recall ever intentionally using quickpkg. I'll see if I can find a reference. I interpreted the message to be part of buildpkg. I thought buildpkg was a feature, and presumed, having heard of the quickpkg tool, that it was used.

From the chroot:
Code:
# emerge --info |grep ^FEATURES
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-filter unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


Regarding perl 5.26, I discovered that there appear (based on /var/db/pkg) to be a few virtuals referencing 5.26 on the client and 5.28 in the chroot. I looked into one package on the client, then did that cursory check out of curiosity. I'm hoping that leads to a solution, though haven't had a chance to do more than that today.

chroot:
Code:
 dev-lang/perl:0/5.28= !<perl-core/CPAN-Meta-YAML-0.18.0 !>perl-core/CPAN-Meta-YAML-0.18.0-r999
 dev-lang/perl:0/5.28= !<perl-core/Text-ParseWords-3.300.0 !>perl-core/Text-ParseWords-3.300.0-r999
 dev-lang/perl:0/5.28= !<perl-core/Module-Metadata-1.0.33 !>perl-core/Module-Metadata-1.0.33-r999
 dev-lang/perl:0/5.28= !<perl-core/Parse-CPAN-Meta-2.150.10 !>perl-core/Parse-CPAN-Meta-2.150.10-r999
 dev-lang/perl:0/5.28= !<perl-core/ExtUtils-Manifest-1.700.0 !>perl-core/ExtUtils-Manifest-1.700.0-r999
 dev-lang/perl:0/5.28= !<perl-core/Perl-OSType-1.10.0 !>perl-core/Perl-OSType-1.10.0-r999
 dev-lang/perl:0/5.28= !<perl-core/CPAN-Meta-2.150.10 !>perl-core/CPAN-Meta-2.150.10-r999 >=virtual/perl-CPAN-Meta-YAML-0.11.0 >=virtual/perl-JSON-PP-2.271.30 >=virtual/perl-Parse-CPAN-Meta-1.441.400
client:
Code:
 dev-lang/perl:0/5.26= !<perl-core/CPAN-Meta-YAML-0.18.0 !>perl-core/CPAN-Meta-YAML-0.18.0-r999
 dev-lang/perl:0/5.26= !<perl-core/Text-ParseWords-3.300.0 !>perl-core/Text-ParseWords-3.300.0-r999
 dev-lang/perl:0/5.26= !<perl-core/Module-Metadata-1.0.33 !>perl-core/Module-Metadata-1.0.33-r999
 dev-lang/perl:0/5.26= !<perl-core/Parse-CPAN-Meta-2.150.10 !>perl-core/Parse-CPAN-Meta-2.150.10-r999
 dev-lang/perl:0/5.26= !<perl-core/ExtUtils-Manifest-1.700.0 !>perl-core/ExtUtils-Manifest-1.700.0-r999
 dev-lang/perl:0/5.26= !<perl-core/Perl-OSType-1.10.0 !>perl-core/Perl-OSType-1.10.0-r999
 dev-lang/perl:0/5.26= !<perl-core/CPAN-Meta-2.150.10 !>perl-core/CPAN-Meta-2.150.10-r999 >=virtual/perl-CPAN-Meta-YAML-0.11.0 >=virtual/perl-JSON-PP-2.271.30 >=virtual/perl-Parse-CPAN-Meta-1.441.400

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


Joined: 06 Mar 2007
Posts: 22457

PostPosted: Sun Jul 28, 2019 3:40 pm    Post subject: Reply with quote

My understanding is that FEATURES=buildpkg causes Portage to save aside a tbz2 file after src_install runs, and that the saved file is the same set of files that ebuild package qmerge then writes to the filesystem. Thus, these files are never drawn from your filesystem, except where strange ebuilds copied from your filesystem to create files that src_install wrote to $DESTDIR.

quickpkg, on the other hand, is specifically for archiving files from your live filesystem, and is roughly equivalent (though with some special metadata and handling) to tar -c --no-recursion -f package.tbz2 $(equery files category/package-version). That special handling includes the CONFIG_PROTECT mangling you saw, and producing metadata Portage can use to populate /var/db/pkg on the receiver and to manage dependencies.

The two approaches both produce tbz2 files, but as far as I know, neither is implemented in terms of the other.

The client probably just needs to reinstall those virtuals from updated binary packages.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Sun Jul 28, 2019 6:59 pm    Post subject: Reply with quote

If packages created by quickpkg caused those files to be overwritten, then I still need to discover how or why that happened. I don't believe I have ever used quickpkg. And it wasn't until this thread that I learned packages were called (by 'file') "Gentoo binary package (XPAK)" and how to extract them. All packages are reported as that type on both the client and chroot, so that doesn't function as an identifier (normal vs. potential problem package).
Code:
$ /usr/bin/sudo /usr/bin/find /var/portage/packages/ -type f -exec file {} \+ |grep -v 'Gentoo binary package (XPAK)'
/var/portage/packages/Packages:                                                ASCII text, with very long lines

Code:
# find /var/portage/packages/ -type f -exec file {} \+ |grep -v 'Gentoo binary package (XPAK)'
/var/portage/packages/Packages:                                                ASCII text, with very long lines


If I reemerge the packages owning the overwritten files to repair the problem, I still don't know the cause. As a hopefully correct enough solution, I tar'd the chroot etc to the client and manually restored the "damaged" files.

It is also concerning that something allowed a protected directory to be overwritten. emerge --info appears to see the correct info, though maybe my solution of making /etc/portage be a link to /etc/portage.d/portage is causing issues. I liked the idea of the convenience that offered, but I'll undo it just in case.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Sun Jul 28, 2019 8:10 pm    Post subject: Reply with quote

I restored the appropriate /etc/portage directory and reinstalled man-db (emerge -avK man-db) as it was one of the packages with an empty file due to quickpkg.

The file didn't overwrite this time, but it did create two ._cfg entries, /etc/._cfg0000_man_db.conf and /etc/cron.daily/._cfg0000_man-db. So maybe something happened to CONFIG_PROTECT first.

EDIT:

Rebuilt the man-db package in the chroot. Removed it from the client and ensured it downloaded the new package. The package still contains the "empty because" message instead of the actual content.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Thu Aug 08, 2019 2:59 pm    Post subject: Reply with quote

I guess this is mostly, sort of, kind of resolved. I still see similar issues, but not to the same degree.

man emerge wrote:
--update, -u
Updates packages to the best version available, which may not always be the highest version number due to masking for testing and
development. Package atoms specified on the command line are greedy, meaning that unspecific atoms may match multiple versions of
slotted packages. This option also implies the --selective option.
Code:
$ /usr/bin/sudo /usr/bin/emerge -vuGKp @world --exclude "firefox"

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.20.5:0/1.20.5::gentoo, binary scheduled for merge) conflicts with
    x11-base/xorg-server:0/1.20.3= required by (x11-drivers/xf86-video-intel-2.99.917_p20190301:0/0::gentoo, installed)
                        ^^^^^^^^^^
    x11-base/xorg-server:0/1.20.3= required by (x11-drivers/xf86-input-keyboard-1.9.0:0/0::gentoo, installed)
                        ^^^^^^^^^^
    x11-base/xorg-server:0/1.20.3= required by (x11-drivers/xf86-input-mouse-1.9.3:0/0::gentoo, installed)
                        ^^^^^^^^^^
    x11-base/xorg-server:0/1.20.3= required by (x11-drivers/xf86-input-libinput-0.28.2:0/0::gentoo, installed)


man emerge wrote:
--deep [DEPTH], -D
This flag forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies
of the packages. As an example, this catches updates in libraries that are not directly listed in the dependencies of a package.
Also see --with-bdeps for behavior with respect to build time dependencies that are not strictly required.
Code:
$ /usr/bin/sudo /usr/bin/emerge -vuDGKp @world --exclude "firefox"

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

Calculating dependencies... done!
[binary   R    ] dev-lang/python-exec-2.4.6:2::gentoo  PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_5) (python3_6) (-python3_7)" 0 KiB
[binary     U  ] sys-apps/sysvinit-2.93::gentoo [2.91-r1::gentoo] USE="(-ibm) (-selinux) -static" 138 KiB
[binary   R    ] sys-process/htop-2.2.0::gentoo  USE="unicode -openvz -vserver" PYTHON_SINGLE_TARGET="(-python2_7%) (-python3_5%) (-python3_6%*) (-python3_7%)" PYTHON_TARGETS="(-python2_7%*) (-python3_5%) (-python3_6%*) (-python3_7%)" 131 KiB
[binary     U  ] sys-fs/udev-init-scripts-33::gentoo [32::gentoo] 14 KiB
[binary     U  ] sys-apps/dbus-1.12.16::gentoo [1.10.24::gentoo] USE="X -debug -doc -elogind (-selinux) -static-libs -systemd -test -user-session" ABI_X86="(64) -32 (-x32)" 629 KiB
[binary     U  ] app-vim/gentoo-syntax-20190609::gentoo [20181023::gentoo] USE="-ignore-glep31" 30 KiB
[binary     U  ] x11-base/xorg-server-1.20.5:0/1.20.5::gentoo [1.20.3:0/1.20.3::gentoo-local] USE="glamor libressl suid udev xorg -debug -dmx -doc -elogind% -ipv6 -kdrive -minimal (-selinux) -static-libs -systemd -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 0 KiB
[binary   R    ] x11-drivers/xf86-input-keyboard-1.9.0::gentoo  64 KiB
[binary   R    ] x11-drivers/xf86-input-libinput-0.28.2::gentoo  107 KiB
[binary   R    ] x11-drivers/xf86-input-mouse-1.9.3::gentoo  94 KiB
[binary   R    ] x11-drivers/xf86-video-intel-2.99.917_p20190301::gentoo  USE="dri sna udev -debug -tools -uxa -xvmc" 680 KiB
[binary     U  ] dev-libs/glib-2.58.3-r1:2::gentoo [2.58.3:2::gentoo] USE="(mime) xattr -dbus -debug (-fam) -gtk-doc (-selinux) -static-libs -systemtap -test -utils" ABI_X86="(64) -32 (-x32)" 3,548 KiB

Total: 12 packages (6 upgrades, 6 reinstalls, 12 binaries), Size of downloads: 5,429 KiB
It seems to me that this type of conflict should easily be addressed by -u as there was no explicit indication that the other packages shouldn't also be included. I suppose there are probably scenarios where the displayed behavior is correct. With previous incidents posted in this thread, I believe -D did not resolve the conflict, so it appears those issues / the primary(?) problem was a different matter.

The system's automatic and seemingly sporadic use quickpkg is unresolved, but I don't think that was the specific cause of any of the primary problems from this thread. I guess that just reinforces the need for backups and the ability to apply them quickly for important files.

Unsatisfactory best guess summary:
  • [client, build host] clean old packages
  • [build host, BINHOST, client] keep packages in sync
  • [build host, client] keep core system files and directories in sync: /etc/portage, /usr/portage, locations of distfiles and packages / binpkgs.
    (Locations for distfiles / packages are going to change, so I decided to jump on that early and didn't remember to make the change on the client. A recent change I made, not related to the original problem.)
  • [client, BINHOST] ensure read access to binary packages
Unclear: Use -gK or -GK to ONLY use binary packages and NEVER compile from source. Sometimes -GK seems to produce results which appear "more correct."
man emerge wrote:
--getbinpkg [ y | n ], -g
Using the server and location defined in PORTAGE_BINHOST (see make.conf(5)), portage will download the information from each
binary package found and it will use that information to help build the dependency list. This option implies -k. (Use -gK for
binary-only merging.)

--getbinpkgonly [ y | n ], -G
This option is identical to -g, as above, except binaries from the remote server are preferred over local packages if they are
not identical.

--usepkg [ y | n ], -k
Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time-consuming compiles.
This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull"
binary packages from the CD in order to satisfy dependencies.

--usepkgonly [ y | n ], -K
Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency
calculation or emerge will simply abort. Portage does not use ebuild repositories when calculating dependency information so all
masking information is ignored.
From Installing binary packages:
Code:
--usepkg (-k)    Tries to use the binary package(s) in the locally available packages directory. Useful when using NFS or SSHFS mounted binary package hosts. If the binary packages are not found, a regular (source-based) installation will be performed.
--usepkgonly (-K)    Similar to --usepkg (-k) but fail if the binary package cannot be found. This option is useful if only pre-built binary packages are to be used.
--getbinpkg (-g)    Download the binary package(s) from a remote binary package host. If the binary packages are not found, a regular (source-based) installation will be performed.
--getbinpkgonly (-G)    Similar to --getbinpkg (-g) but will fail if the binary package(s) cannot be downloaded. This option is useful if only pre-built binary packages are to be used.

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


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Thu Aug 08, 2019 11:00 pm    Post subject: Reply with quote

My 1st thought is on the build server rebuild the x11-drivers/ listed so you have binary packages depending for the newer X. Then make sure the client machine does not have any old binary packages hidden somewhere. I am reading that as X has been updated but the binary packages the client is finding have not been compiled against the new X yet.

Early on I was allowing client machines to build their own packages if the build server did not have them but I had problems. I was easier forcing build server only for compiling. The only exception I had previously made to this was machines with older nvidia cards which needed an older driver. Since then I have moved to if the current driver does not support it then that machine can use nouveau.

Have found cleaning up keywords can cause similar looking problems. Encountered that a few days ago after using eix-test-obsolete to clean up my keywords list. Had several packages where I had keyworded a particular version that are now stable. I put it down to the package info and tree + keywords no longer matching. Had problems until those packages were recompiled even though the only thing changed was removing the now redundant entry from keywords.

Finding the build server does need maintenance but with it currently servicing 3 desktops, 2 vm and 4 laptops it is still preferable to each of those machines building their own images. For me the build server host is an i7-3770 with a pair of i7-7700k + distcc helping it.
_________________
Beware the grue.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20428

PostPosted: Fri Aug 09, 2019 4:44 am    Post subject: Reply with quote

Aiken wrote:
My 1st thought is on the build server rebuild the x11-drivers/ listed so you have binary packages depending for the newer X. Then make sure the client machine does not have any old binary packages hidden somewhere. I am reading that as X has been updated but the binary packages the client is finding have not been compiled against the new X yet.
That is how it appears. Before I posted, I rebuilt those "complaining" packages. The output above is after that (no change after rebuilding). My chroot does seem to have more "old" (find mtime) packages, so I'll have to look more into that. eclean packages does address enough of that difference.

Aiken wrote:
Early on I was allowing client machines to build their own packages if the build server did not have them but I had problems. I was easier forcing build server only for compiling. The only exception I had previously made to this was machines with older nvidia cards which needed an older driver. Since then I have moved to if the current driver does not support it then that machine can use nouveau.
I'm really hoping to get to the point of centralized management of all things portage / compiling.

Aiken wrote:
Have found cleaning up keywords can cause similar looking problems. Encountered that a few days ago after using eix-test-obsolete to clean up my keywords list. Had several packages where I had keyworded a particular version that are now stable. I put it down to the package info and tree + keywords no longer matching. Had problems until those packages were recompiled even though the only thing changed was removing the now redundant entry from keywords.
I see that sometimes as well. Once I fix it on the build host, it _usually_ isn't much of a problem later. But I did encounter that today with eudev (I temporarily migrated my installed copy of the ebuild to a local repo to "freeze" that. Forgot to address that on the client). In general though, I don't think this is causing any of the version blocking problems.

Aiken wrote:
Finding the build server does need maintenance but with it currently servicing 3 desktops, 2 vm and 4 laptops it is still preferable to each of those machines building their own images. For me the build server host is an i7-3770 with a pair of i7-7700k + distcc helping it.
So there is hope :). For now I'm presuming for my sanity that some of my issues are related to my "in place" migration and they'll slowly go away (if most haen't already).
_________________
Quis separabit? Quo animo?
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 Previous  1, 2
Page 2 of 2

 
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