Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904414 - sci-libs/hdf5-1.12.2-r6::gentoo failed (compile phase)
Summary: sci-libs/hdf5-1.12.2-r6::gentoo failed (compile phase)
Status: RESOLVED DUPLICATE of bug 863089
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-16 19:08 UTC by Petr Vokac
Modified: 2023-04-18 07:52 UTC (History)
2 users (show)

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


Attachments
emerge --info > /tmp/emerge--info.txt (emerge--info.txt,6.91 KB, text/plain)
2023-04-16 19:09 UTC, Petr Vokac
Details
hdf5 build.log (build.log.xz,46.19 KB, application/x-xz)
2023-04-17 06:35 UTC, Petr Vokac
Details
environment (environment,96.40 KB, text/plain)
2023-04-17 06:36 UTC, Petr Vokac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Vokac 2023-04-16 19:08:32 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ../../test/.libs/libh5test.a(h5test.o): undefined reference to symbol 'ompi_mpi_comm_world'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libmpi.so.40: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:899: testhdf5] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/work/hdf5-1.12.2/c++/test'
make[1]: *** [Makefile:880: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/work/hdf5-1.12.2/c++'
make: *** [Makefile:727: all-recursive] Error 1
 * ERROR: sci-libs/hdf5-1.12.2-r6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/hdf5-1.12.2-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/hdf5-1.12.2-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/work/hdf5-1.12.2'
 * S: '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/work/hdf5-1.12.2'


Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot hdf5
2.
3.
Comment 1 Petr Vokac 2023-04-16 19:09:57 UTC
Created attachment 860192 [details]
emerge --info > /tmp/emerge--info.txt
Comment 2 Jonas Stein gentoo-dev 2023-04-16 20:44:56 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. This includes
* the complete build.log as attachment 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 3 Petr Vokac 2023-04-17 06:35:17 UTC
Created attachment 860212 [details]
hdf5 build.log

* The complete build log is located at '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/temp/build.log'.
Comment 4 Petr Vokac 2023-04-17 06:36:28 UTC
Created attachment 860213 [details]
environment

* The ebuild environment file is located at '/var/tmp/portage/sci-libs/hdf5-1.12.2-r6/temp/environment'.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-17 06:43:45 UTC
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wcast-qual -Wconversion -Wctor-dtor-privacy -Weffc++ -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wreorder -Wshadow -Wsign-promo -Wundef -Wwrite-strings -pedantic -Wlarger-than=2560 -Wlogical-op -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wsync-nand -Wstrict-overflow=5 -Wdouble-promotion -Wtrampolines -Wstack-usage=8192 -Wmaybe-uninitialized -Wdate-time -Wopenmp-simd -Warray-bounds=2 -Wduplicated-cond -Whsa -Wnormalized -Wnull-dereference -Wunused-const-variable -Walloca -Walloc-zero -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=1 -Wrestrict -Wattribute-alias -Wcast-align=strict -Wshift-overflow=2 -Wattribute-alias=2 -Wmissing-profile -Wno-deprecated-copy -fstdarg-opt -fdiagnostics-urls=never -fno-diagnostics-color -Wcast-align -Wmissing-declarations -Wpacked -Wredundant-decls -Wswitch -Wunused-but-set-variable -Wunused-function -Wunused-variable -Wunused-parameter -Wshadow -O3 -march=skylake -mabm -mrtm -O2 -pipe -Wl,-O1 -o .libs/testhdf5 testhdf5.o dsets.o tattr.o tarray.o tcompound.o tdspl.o tfile.o tfilter.o th5s.o tlinks.o tobject.o trefer.o ttypes.o tvlstr.o titerate.o h5cpputil.o  -Wl,--as-needed ../../test/.libs/libh5test.a ../../c++/src/.libs/libhdf5_cpp.so /var/tmp/portage/sci-libs/hdf5-1.12.2-r6/work/hdf5-1.12.2/src/.libs/libhdf5.so ../../src/.libs/libhdf5.so -lpthread -lsz -lz -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ../../test/.libs/libh5test.a(h5test.o): undefined reference to symbol 'ompi_mpi_comm_world'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libmpi.so.40: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:899: testhdf5] Error 1

Does -r4 build ok?
Comment 6 Petr Vokac 2023-04-17 06:50:48 UTC
No but at that time I just masked it in hope that it will be solved in next version. Unfortunately it was not the case. My package.mask:  

cat package.mask 
=sci-libs/hdf5-1.12.2-r5:0
=sci-libs/hdf5-1.12.2-r4:0
Comment 7 Petr Vokac 2023-04-17 09:35:53 UTC
Now I see, https://bugs.gentoo.org/show_bug.cgi?id=863089 
Sorry, I did not find it earlier.
So I add =sci-libs/hdf5-1.12.2-r6:0 to package.mask
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 07:52:01 UTC
(In reply to Petr Vokac from comment #7)
> Now I see, https://bugs.gentoo.org/show_bug.cgi?id=863089 
> Sorry, I did not find it earlier.
> So I add =sci-libs/hdf5-1.12.2-r6:0 to package.mask

Thanks for spotting that.

*** This bug has been marked as a duplicate of bug 863089 ***