Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921172 - dev-libs/igraph-0.10.4-r1 - [clang] /.../graphml.c: error: missing field expandedSize initializer [-Werror,-Wmissing-field-initializers]
Summary: dev-libs/igraph-0.10.4-r1 - [clang] /.../graphml.c: error: missing field expa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 18:41 UTC by Toralf Förster
Modified: 2024-03-11 14:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.90 KB, text/plain)
2024-01-01 18:41 UTC, Toralf Förster
Details
dev-libs:igraph-0.10.4:20240101-170948.log (dev-libs:igraph-0.10.4:20240101-170948.log,232.54 KB, text/plain)
2024-01-01 18:41 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,82.09 KB, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
environment (environment,111.14 KB, text/plain)
2024-01-01 18:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.51 KB, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,300 bytes, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,85.19 KB, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,47.47 KB, application/x-xz)
2024-01-01 18:41 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,8.02 KB, application/x-xz)
2024-01-01 18:41 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 2024-01-01 18:41:00 UTC
too long lines were shrinked:

[199/344] /var/tmp/portage/dev-libs/igraph-0.10.4/temp/clang-wrappers/clang -DIGRAPH_VERIFY_FINALLY_STACK=0 -DNCOMPLEX -DPRPACK_IGRAPH_SUPPORT=1 -Digraph_EXPORTS -DIGRAPH_FILE_BASENAME=\"src/io/dl.c\" -I/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/include -I/var/tmp/portage/dev-libs/ig
[200/344] /var/tmp/portage/dev-libs/igraph-0.10.4/temp/clang-wrappers/clang -DIGRAPH_VERIFY_FINALLY_STACK=0 -DNCOMPLEX -DPRPACK_IGRAPH_SUPPORT=1 -Digraph_EXPORTS -DIGRAPH_FILE_BASENAME=\"src/io/edgelist.c\" -I/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/include -I/var/tmp/portage/dev-l
[201/344] /var/tmp/portage/dev-libs/igraph-0.10.4/temp/clang-wrappers/clang -DIGRAPH_VERIFY_FINALLY_STACK=0 -DNCOMPLEX -DPRPACK_IGRAPH_SUPPORT=1 -Digraph_EXPORTS -DIGRAPH_FILE_BASENAME=\"src/io/dot.c\" -I/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/include -I/var/tmp/portage/dev-libs/i
[202/344] /var/tmp/portage/dev-libs/igraph-0.10.4/temp/clang-wrappers/clang -DIGRAPH_VERIFY_FINALLY_STACK=0 -DNCOMPLEX -DPRPACK_IGRAPH_SUPPORT=1 -Digraph_EXPORTS -DIGRAPH_FILE_BASENAME=\"src/io/graphml.c\" -I/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/include -I/var/tmp/portage/dev-li
FAILED: src/CMakeFiles/igraph.dir/io/graphml.c.o 
/var/tmp/portage/dev-libs/igraph-0.10.4/temp/clang-wrappers/clang -DIGRAPH_VERIFY_FINALLY_STACK=0 -DNCOMPLEX -DPRPACK_IGRAPH_SUPPORT=1 -Digraph_EXPORTS -DIGRAPH_FILE_BASENAME=\"src/io/graphml.c\" -I/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/include -I/var/tmp/portage/dev-libs/igraph-
/var/tmp/portage/dev-libs/igraph-0.10.4/work/igraph-0.10.4/src/io/graphml.c:71:1: error: missing field 'expandedSize' initializer [-Werror,-Wmissing-field-initializers]
   71 | };
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231225-172010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
5)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit d0e743839b5c845e9d3d5b9511bc9ca6b5ced290
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 1 16:02:01 2024 +0000

    2024-01-01 16:02:01 UTC

emerge -qpvO dev-libs/igraph
[ebuild  N    ] dev-libs/igraph-0.10.4  USE="-debug -test -threads"
Comment 1 Toralf Förster gentoo-dev 2024-01-01 18:41:01 UTC
Created attachment 881218 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-01 18:41:02 UTC
Created attachment 881219 [details]
dev-libs:igraph-0.10.4:20240101-170948.log
Comment 3 Toralf Förster gentoo-dev 2024-01-01 18:41:03 UTC
Created attachment 881220 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-01-01 18:41:05 UTC
Created attachment 881221 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-01 18:41:05 UTC
Created attachment 881222 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-01 18:41:06 UTC
Created attachment 881223 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-01 18:41:07 UTC
Created attachment 881224 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-01 18:41:08 UTC
Created attachment 881225 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-01 18:41:09 UTC
Created attachment 881226 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-01-01 18:41:10 UTC
Created attachment 881227 [details]
var.tmp.clang.tar.xz
Comment 11 Agostino Sarubbo gentoo-dev 2024-02-06 08:00:34 UTC
clang-lld_tinderbox has reproduced this issue with version 0.10.4-r1 - Updating summary.
Comment 12 Szabolcs Horvát 2024-02-20 10:14:45 UTC
This is a compatibility issue between igraph and libxml2 >= 2.11. It was fixed in igraph 0.10.6 in 2023 July. Why don't you update igraph in Gentoo?
Comment 13 Larry the Git Cow gentoo-dev 2024-03-11 14:24:00 UTC
The bug has been closed via the following commit(s):

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

commit 37bd1334b41213813cb38acf46c98b1f80c5fd15
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-11 04:00:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-11 14:22:51 +0000

    dev-libs/igraph: add 0.10.10
    
    Include backported patch from upstream which fixes strict-aliasing
    violations.
    
    Closes: https://bugs.gentoo.org/924864
    Closes: https://bugs.gentoo.org/925227
    Closes: https://bugs.gentoo.org/921172
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/igraph/Manifest                           |  1 +
 .../808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch | 35 ++++++++++++++
 dev-libs/igraph/igraph-0.10.10.ebuild              | 53 ++++++++++++++++++++++
 3 files changed, 89 insertions(+)