Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818280 - sys-cluster/mpich-3.0.4 emerge failed: multiple definition of `HYD_pmcd_pmip'
Summary: sys-cluster/mpich-3.0.4 emerge failed: multiple definition of `HYD_pmcd_pmip'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-10-15 19:11 UTC by Sergey Torokhov
Modified: 2021-10-16 07:06 UTC (History)
1 user (show)

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


Attachments
mpich-3.0.4_build.log (mpich-3.0.4_build.log,317.46 KB, text/plain)
2021-10-15 19:13 UTC, Sergey Torokhov
Details
imerge_info.txt (imerge_info.txt,6.61 KB, text/plain)
2021-10-15 19:13 UTC, Sergey Torokhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2021-10-15 19:11:49 UTC
... libtool: link: x86_64-pc-linux-gnu-gcc -march=westmere -mno-aes -mno-avx -O2 -pipe -march=westmere -mno-aes -mno-avx -O2 -pipe -g -Wl,-O1 -Wl,--as-needed -o hydra_pmi_proxy hydra_pmi_proxy-pmip.o hydra_pmi_proxy-pmip_cb.o hydra_pmi_proxy-pmip_utils.o hydra_pmi_proxy-pmip_pmi_v1.o hydra_pmi_proxy-pmip_pmi_v2.o hydra_pmi_proxy-common.o hydra_pmi_proxy-pmi_v2_common.o  -L./../../mpl -L. -L/usr/lib64 -L/usr/lib /var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/.libs/libhydra.a -lnsl /var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/mpl/.libs/libmpl.a -lpthread /usr/lib64/libhwloc.so -lm -lnuma -ludev -lpciaccess -lxml2
libtool: link: x86_64-pc-linux-gnu-gcc -march=westmere -mno-aes -mno-avx -O2 -pipe -march=westmere -mno-aes -mno-avx -O2 -pipe -g -Wl,-O1 -Wl,--as-needed -o hydra_persist hydra_persist-persist_server.o  -L./../../mpl -L. -L/usr/lib64 -L/usr/lib /var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/.libs/libhydra.a -lnsl /var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/mpl/.libs/libmpl.a -lpthread /usr/lib64/libhwloc.so -lm -lnuma -ludev -lpciaccess -lxml2
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hydra_pmi_proxy-pmip_cb.o:/var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/./pm/pmiserv/pmip_cb.c:15: multiple definition of `HYD_pmcd_pmip'; hydra_pmi_proxy-pmip.o:/var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/./pm/pmiserv/pmip.c:14: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hydra_pmi_proxy-pmip_utils.o:/var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/./pm/pmiserv/pmip_utils.c:14: multiple definition of `HYD_pmcd_pmip'; hydra_pmi_proxy-pmip.o:/var/tmp/portage/sys-cluster/mpich-3.0.4/work/mpich-3.0.4/src/pm/hydra/./pm/pmiserv/pmip.c:14: first defined here
collect2: error: ld returned 1 exit status
....

Full build log is in attachments.

Reproducible: Always
Comment 1 Sergey Torokhov 2021-10-15 19:13:05 UTC
Created attachment 745050 [details]
mpich-3.0.4_build.log
Comment 2 Sergey Torokhov 2021-10-15 19:13:40 UTC
Created attachment 745053 [details]
imerge_info.txt
Comment 3 Sergey Torokhov 2021-10-15 19:17:56 UTC
Looks like https://bugs.gentoo.org/716664
for sys-cluster/mpich2-1.5
Comment 4 Larry the Git Cow gentoo-dev 2021-10-15 22:01:41 UTC
The bug has been closed via the following commit(s):

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

commit 2772ce712ccef6d9ae6196d5a84615d9c56b7811
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-15 22:01:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-15 22:01:20 +0000

    sys-cluster/mpich: add -fcommon for 3.0.4-r1
    
    I can't reproduce this but it builds
    with this anyway.
    
    Closes: https://bugs.gentoo.org/818280
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/mpich/mpich-3.0.4-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 22:01:50 UTC
Does that resolve the issue for you?
Comment 6 Sergey Torokhov 2021-10-16 07:06:47 UTC
(In reply to Sam James from comment #5)
> Does that resolve the issue for you?

Thanks. It fixes the build issue.