Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808703 - media-libs/Field3D-1.7.2 - /.../Field3DFileHDF5.cpp: error: too few arguments to function herr_t H5Oget_info_by_name3(hid_t, const
Summary: media-libs/Field3D-1.7.2 - /.../Field3DFileHDF5.cpp: error: too few arguments...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
URL: https://github.com/imageworks/Field3D...
Whiteboard: Workaround applied
Keywords: PullRequest
Depends on:
Blocks: hdf5-1.12
  Show dependency tree
 
Reported: 2021-08-17 07:17 UTC by Toralf Förster
Modified: 2024-03-07 09:55 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.46 KB, text/plain)
2021-08-17 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,358.03 KB, text/plain)
2021-08-17 07:17 UTC, Toralf Förster
Details
environment (environment,88.96 KB, text/plain)
2021-08-17 07:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.06 KB, application/x-bzip)
2021-08-17 07:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.87 KB, application/x-bzip)
2021-08-17 07:17 UTC, Toralf Förster
Details
media-libs:Field3D-1.7.2:20210817-003202.log (media-libs:Field3D-1.7.2:20210817-003202.log,38.22 KB, text/plain)
2021-08-17 07:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.08 KB, application/x-bzip)
2021-08-17 07:17 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 2021-08-17 07:17:21 UTC
/var/tmp/portage/media-libs/Field3D-1.7.2/work/Field3D-1.7.2/src/Field3DFileHDF5.cpp: In function ‘herr_t Field3D::v1_7::InputFileHDF5::parsePartitions(hid_t, const char*, const H5L_info2_t*, void*)’:
/var/tmp/portage/media-libs/Field3D-1.7.2/work/Field3D-1.7.2/src/Field3DFileHDF5.cpp:1138:31: error: too few arguments to function ‘herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)’
 1138 |   status = H5Oget_info_by_name(loc_id, itemName, &infobuf, H5P_DEFAULT);
      |                               ^
In file included from /usr/include/H5Apublic.h:22,
                 from /usr/include/hdf5.h:23,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j3-20210812-230008

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 5e14a04ffae6c3e6dc29cd4513699d5855ed8bd5
Merge: afed2df08d7 cdc0abb3cbc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 16 23:06:47 2021 +0000

    Merge updates from master

emerge -qpvO media-libs/Field3D
[ebuild   R   ] media-libs/Field3D-1.7.2  USE="-mpi"
Comment 1 Toralf Förster gentoo-dev 2021-08-17 07:17:22 UTC
Created attachment 733435 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-17 07:17:24 UTC
Created attachment 733437 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-17 07:17:25 UTC
Created attachment 733439 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-17 07:17:26 UTC
Created attachment 733441 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-17 07:17:27 UTC
Created attachment 733443 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-17 07:17:29 UTC
Created attachment 733445 [details]
media-libs:Field3D-1.7.2:20210817-003202.log
Comment 7 Toralf Förster gentoo-dev 2021-08-17 07:17:30 UTC
Created attachment 733447 [details]
temp.tar.bz2
Comment 8 Karl-Johan Karlsson 2021-08-17 10:52:53 UTC
This looks like the same API break in >=sci-libs/hdf5-1.12 as in bug 808731, described by HDF5 upstream at https://portal.hdfgroup.org/display/HDF5/H5O_GET_INFO_BY_NAME .
Comment 9 Dennis Schridde 2021-08-31 09:38:34 UTC
(In reply to Karl-Johan Karlsson from comment #8)
> This looks like the same API break in >=sci-libs/hdf5-1.12 as in bug 808731,
> described by HDF5 upstream at
> https://portal.hdfgroup.org/display/HDF5/H5O_GET_INFO_BY_NAME .

There is a workaround for vigra: https://github.com/ukoethe/vigra/issues/476#issuecomment-619085354

Does this work for Field3D, too?
Comment 10 Larry the Git Cow gentoo-dev 2021-09-10 05:35:36 UTC
The bug has been referenced in the following commit(s):

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

commit 48d2971d0cf29e0a5231ee713c6535cdde241ad2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-10 05:34:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-10 05:34:57 +0000

    media-libs/Field3D: add -DH5_USE_110_API workaround
    
    Bug: https://bugs.gentoo.org/808703
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/Field3D/Field3D-1.7.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 11 Larry the Git Cow gentoo-dev 2024-01-11 17:58:15 UTC
The bug has been closed via the following commit(s):

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

commit 3620f00fdd19e4eadd7433a84d9b4185ff2ac8a3
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-12-08 14:38:42 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-01-11 17:57:18 +0000

    media-libs/Field3D: add 1.7.3_p20230509
    
    This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
    Snapshot of last commit before archiving.
    
    Closes: https://bugs.gentoo.org/912312
    Closes: https://bugs.gentoo.org/808703
    Closes: https://bugs.gentoo.org/717504
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34221
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/Field3D/Field3D-1.7.3_p20230509.ebuild  | 67 ++++++++++++++++++++++
 media-libs/Field3D/Manifest                        |  1 +
 ...-1.7.2-boost-1.83-timer-header-deprecated.patch | 35 +++++++++++
 3 files changed, 103 insertions(+)