multilib_prepare_wrappers() generates headers with needless additional slashes inside paths. Example: /usr/include/ogg/config_types.h (installed by media-libs/libogg-1.3.1) contains: /* This file is auto-generated by multilib-build.eclass * as a multilib-friendly wrapper. For the original content, * please see the files that are #included below. */ #if defined(__x86_64__) /* amd64 */ # if defined(__ILP32__) /* x32 ABI */ # error "abi_x86_x32 not supported by the package." # else /* 64-bit ABI */ # include <x86_64-pc-linux-gnu//ogg/config_types.h> # endif #elif defined(__i386__) /* plain x86 */ # error "abi_x86_32 not supported by the package." #else # error "No ABI matched, please report a bug to bugs.gentoo.org" #endif It contains <x86_64-pc-linux-gnu//ogg/config_types.h> path, which instead should be <x86_64-pc-linux-gnu/ogg/config_types.h>
Created attachment 352128 [details, diff] multilib-build.eclass.patch
Thanks for the patch. Fixed now.