Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836469 - dev-libs/xmlrpc-c-1.51.06-r2 fails test - srcdir/.../util.h: fatal error: xmlrpc-c/config.h: No such file or directory
Summary: dev-libs/xmlrpc-c-1.51.06-r2 fails test - srcdir/.../util.h: fatal error: xml...
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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-03-31 07:36 UTC by Toralf Förster
Modified: 2022-04-11 07:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.27 KB, text/plain)
2022-03-31 07:36 UTC, Toralf Förster
Details
dev-libs:xmlrpc-c-1.51.06-r2:20220330-212030.log (dev-libs:xmlrpc-c-1.51.06-r2:20220330-212030.log,178.27 KB, text/plain)
2022-03-31 07:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,187.96 KB, text/plain)
2022-03-31 07:36 UTC, Toralf Förster
Details
environment (environment,71.80 KB, text/plain)
2022-03-31 07:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.83 KB, application/x-bzip)
2022-03-31 07:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.16 KB, application/x-bzip)
2022-03-31 07:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.13 KB, application/x-bzip)
2022-03-31 07:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-31 07:36:47 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/dev-libs/xmlrpc-c-1.51.06-r2/work/xmlrpc-c-1.51.06-abi_x86_64.amd64 -Isrcdir/include -Isrcdir/lib/util/include  -DNDEBUG -pthread -Wall -W -Wno-uninitialized -Wundef -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wi
x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/dev-libs/xmlrpc-c-1.51.06-r2/work/xmlrpc-c-1.51.06-abi_x86_64.amd64 -Isrcdir/include -Isrcdir/lib/util/include  -DNDEBUG -pthread -Wall -W -Wno-uninitialized -Wundef -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wi
In file included from srcdir/include/xmlrpc-c/util_int.h:13,
                 from memblock.c:4:
srcdir/include/xmlrpc-c/util.h:23:10: fatal error: xmlrpc-c/config.h: No such file or directory
   23 | #include <xmlrpc-c/config.h>  /* Defines XMLRPC_HAVE_WCHAR */
      |          ^~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4_test-20220327-230019

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 14.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.0
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit a6fc719940164809a69554ee4cc4d86dd6189fe9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Mar 30 20:19:53 2022 +0000

    2022-03-30 20:19:49 UTC

emerge -qpvO dev-libs/xmlrpc-c
[ebuild  N    ] dev-libs/xmlrpc-c-1.51.06-r2  USE="abyss cgi curl cxx libxml2 test threads" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-03-31 07:36:56 UTC
Created attachment 768253 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-31 07:36:58 UTC
Created attachment 768254 [details]
dev-libs:xmlrpc-c-1.51.06-r2:20220330-212030.log
Comment 3 Toralf Förster gentoo-dev 2022-03-31 07:36:59 UTC
Created attachment 768255 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-03-31 07:37:01 UTC
Created attachment 768256 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-03-31 07:37:06 UTC
Created attachment 768257 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-31 07:37:07 UTC
Created attachment 768258 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-31 07:37:12 UTC
Created attachment 768259 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-03-31 07:52:42 UTC
The bug has been closed via the following commit(s):

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

commit c96c1ecd22c1fda96cb02bed3e33d7643e383996
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2022-03-31 07:50:10 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2022-03-31 07:51:23 +0000

    dev-libs/xmlrpc-c: fix tests
    
    Reported-by: Toralf Förster <toralf@gentoo.org>
    Closes: 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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 je_fro@yahoo.com 2022-04-03 16:40:46 UTC
This fix breaks xmlrpc-c-1.54.05
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-04 00:30:42 UTC
(In reply to je_fro@yahoo.com from comment #9)
> This fix breaks xmlrpc-c-1.54.05

Please file a new bug with the full log of your issue and link to this one.
Comment 11 Michael Cook 2022-04-09 15:31:29 UTC
(In reply to je_fro@yahoo.com from comment #9)
> This fix breaks xmlrpc-c-1.54.05

It also breaks 1.51.06. The config.h file is located at ${WORKDIR}/xmlrpc-c-1.51.06/include/xmlrpc-c and ${WORKDIR}/xmlrpc-c-1.51.06-abi_x86_32.x86/include/xmlrpc-c for me, but not in ${WORKDIR}/xmlrpc-c-1.51.06-abi_x86_64.amd64/include/xmlrpc-c. So it build the 32 bit libs, copies the config.h then when it goes to build the 64 bit libs it sees the config.h is up-to-date and fails to generate a new one in the abi specific BUILD_DIR. I guess this needs to be guarded by multilib_is_native_abi? I'm not 100% sure that won't break the tests this change was suppose to fix.
Comment 12 Larry the Git Cow gentoo-dev 2022-04-11 07:46:51 UTC
The bug has been referenced in 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(-)