Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837539 - dev-libs/xmlrpc-c multilib builds are broken
Summary: dev-libs/xmlrpc-c multilib builds are broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-09 23:05 UTC by Michael Cook
Modified: 2022-04-11 07:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cook 2022-04-09 23:05:24 UTC
Changes made to fix #836469 breaks multilib building. The changes made there need to be guarded by multilib_is_native_abi so it will only copy once, otherwise the 2nd time it tries to generate the config.h will fail since it skipped generating it due to it "already being up to date"

Reproducible: Always

Steps to Reproduce:
Build with multilib
Actual Results:  
2nd build fails (amd64 for me specifically)

Expected Results:  
builds fine

I did test locally, guarding to only copy the native abi seems to pass tests and installs just fine.
Comment 1 Michael Cook 2022-04-10 17:34:57 UTC
Some snippets:

make[1]: Entering directory '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05-abi_x86_32.x86/include'
>xmlrpc-c/config.h
Lots of echoes to 'xmlrpc-c/config.h' suppressed here ...
...
make -C /var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05-abi_x86_64.amd64/include -f /var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05/include/Makefile \
          xmlrpc-c/config.h
make[3]: Entering directory '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05-abi_x86_64.amd64/include'
make[3]: '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05/include/xmlrpc-c/config.h' is up to date.
make[3]: Leaving directory '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05-abi_x86_64.amd64/include'
...
cp: cannot stat '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.05/work/xmlrpc-c-1.54.05-abi_x86_64.amd64/include/xmlrpc-c/config.h': No such file or directory
Comment 2 Larry the Git Cow gentoo-dev 2022-04-11 07:46:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d29e9c5330d6cecdf0225e564a94427610b702

commit 80d29e9c5330d6cecdf0225e564a94427610b702
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2022-04-11 07:44:41 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2022-04-11 07:46:47 +0000

    dev-libs/xmlrpc: fix multilib builds
    
    Previosly broken by commit c96c1ecd22c1fda96cb02bed3e33d7643e383996
    
    Reported-by: Michael Cook <mackal.cook@gmail.com>
    Closes: https://bugs.gentoo.org/837539
    Bug: https://bugs.gentoo.org/836469
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r2.ebuild | 8 ++++++--
 dev-libs/xmlrpc-c/xmlrpc-c-1.54.05.ebuild    | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)