During a rebuild of a laptop, starting with a stage3 running emerge --noreplace -DN $( cat /home/originalworld ) some ebuilds failed (they are separate [ dependency ] issues ). The world file (/var/lib/portage/world ) isn't updated. Only when emerge completes succesfully the world file gets updated. Reproducible: Always Steps to Reproduce: 1.starting with a stage3 + world file from another laptop. 2.emerge --noreplace -DN $( cat /home/originalworld ) 3. Actual Results: world file only updated on total success. Expected Results: all successful merged items mentioned in the world file.
obviously something that isn't being taken care of or cared about Closing to prevent polution.
Normally, packages are added to the world file in the EbuildMerge._merge_exit method, immediately after the package is installed. It calls the create_world_atom function, which skips packages that are in the system set.