Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822762 - sci-visualization/opendx-4.4.4-r7 multiple definition of `_dxf_user_modules
Summary: sci-visualization/opendx-4.4.4-r7 multiple definition of `_dxf_user_modules
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 Related Packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2021-11-10 00:48 UTC by Alessandro Barbieri
Modified: 2022-08-16 08:11 UTC (History)
2 users (show)

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


Attachments
emerge_info (emerge_info,35.85 KB, text/plain)
2021-11-10 00:48 UTC, Alessandro Barbieri
Details
opendx-4.4.4-r7:20211110-000030.log (opendx-4.4.4-r7:20211110-000030.log,842.62 KB, text/plain)
2021-11-10 00:48 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-11-10 00:48:04 UTC
This package fails to build on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-11-10 00:48:09 UTC
Created attachment 749967 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-11-10 00:48:29 UTC
Created attachment 749970 [details]
opendx-4.4.4-r7:20211110-000030.log

build log
Comment 3 Tee KOBAYASHI 2021-11-11 01:16:16 UTC
From build.log, line 3152:

libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Os [...] -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -Wl,--sort-common  -o libDPEXEC.la  dpattribute.lo [...] ddx.lo ../dxmods/libuser.la -lnsl [...] -lpthread

and then line 3176:

libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Os [...] -D_GNU_SOURCE -version-info 4:44:0 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common  -o libDX.la -rpath /usr/lib64/dx/lib_linux  dxexec/libDXEXEC.la dxmods/libDXMODS.la dxmods/libuser.la dxmods/libDXMODSN.la libdx/libLIBDX.la libdx/libmem.la dpexec/libDPEXEC.la hwrender/libHW.la hwrender/opengl/libOPENGL.la -lnsl [...] -lpthread

The archive dxmods/libuser seems to be virtually included twice; once directly and the other time indirectly from dpexec/libDPEXEC.

This seems to be caused by files/opendx-4.4.4-slibtool.patch:

+libDPEXEC_la_LIBADD = ../dxmods/libuser.la

A workaround would be to specify "-Wl,-z,muldefs" for LDFLAGS.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-14 09:02:23 UTC
The bug has been referenced in the following commit(s):

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

commit 83798c8feddddf8c131b33c2958754fbccbf68db
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-07-14 09:02:10 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-07-14 09:02:10 +0000

    profiles: last-rite sci-visualization/opendx
    
    Bug: https://bugs.gentoo.org/822762
    Bug: https://bugs.gentoo.org/831874
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-08-16 08:11:53 UTC
The bug has been closed via the following commit(s):

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

commit 9421065d5d1021074f8bb96e351dfc135f846c78
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-16 08:07:39 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-16 08:07:39 +0000

    sci-visualization/opendx: treeclean
    
    Closes: https://bugs.gentoo.org/831874
    Closes: https://bugs.gentoo.org/822762
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |   6 -
 sci-visualization/opendx/Manifest                  |   2 -
 .../opendx/files/opendx-4.3.2-sys.h.patch          |  23 --
 .../files/opendx-4.4.4-concurrent-make-fix.patch   |  66 -----
 .../opendx/files/opendx-4.4.4-dx-errno.patch       |  11 -
 .../opendx/files/opendx-4.4.4-gcc43.patch          | 315 --------------------
 .../opendx/files/opendx-4.4.4-installpaths.patch   | 330 ---------------------
 .../files/opendx-4.4.4-invalid-conversion.patch    |  13 -
 .../opendx/files/opendx-4.4.4-libtool.patch        |  11 -
 .../opendx/files/opendx-4.4.4-null.patch           |  14 -
 .../opendx/files/opendx-4.4.4-open.patch           |  34 ---
 .../opendx/files/opendx-4.4.4-slibtool.patch       |  40 ---
 .../opendx/files/opendx-4.4.4-szip.patch           |  55 ----
 .../opendx/files/opendx-4.4.4-xdg.patch            |  26 --
 sci-visualization/opendx/metadata.xml              |  26 --
 sci-visualization/opendx/opendx-4.4.4-r8.ebuild    |  92 ------
 16 files changed, 1064 deletions(-)