restore_config prints some extra slashes, for example, in linux-firmware: >>> Preparing source in /var/tmp/portage/sys-kernel/linux-firmware-20151207/work/linux-firmware-20151207 ... * Checking existence of //etc/portage/savedconfig//sys-kernel/linux-firmware-20151207 ... * found //etc/portage/savedconfig//sys-kernel/linux-firmware-20151207 * Building using saved configfile //etc/portage/savedconfig//sys-kernel/linux-firmware-20151207
Patch for bug #686350 happens to fix most of these problems. Example: * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware ... * Found /etc/portage/savedconfig/sys-kernel/linux-firmware * Building using saved configfile /etc/portage/savedconfig/sys-kernel/linux-firmware When no file for restoring configuration is found, then output still contains 1 path with double slash: * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware-20190514 ... * Checking existence of /etc/portage/savedconfig/x86_64-pc-linux-gnu/sys-kernel/linux-firmware ... * Checking existence of /etc/portage/savedconfig/sys-kernel/linux-firmware ... * No saved config to restore - please remove USE=savedconfig or * provide a configuration file in //etc/portage/savedconfig/sys-kernel/linux-firmware * Your config file(s) will not be used this time
(Patch for bug #686348 fixes first double slash in " * Checking existence of //etc/portage/savedconfig//..." and patch for bug #686350 fixes second double slash in " * Checking existence of //etc/portage/savedconfig//...".)
Created attachment 577336 [details, diff] Patch
Should be fixed now.