Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732048 - sci-mathematics/pspp-1.2.0 - ld.lld: error: src/.libs/libpspp.so: undefined reference to xmlTextWriterWriteFormatAttribute
Summary: sci-mathematics/pspp-1.2.0 - ld.lld: error: src/.libs/libpspp.so: undefined r...
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 Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2020-07-10 08:08 UTC by Agostino Sarubbo
Modified: 2023-01-01 14:30 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,469.71 KB, text/plain)
2020-07-10 08:08 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-10 08:08:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-mathematics/pspp fails to compile.
Discovered on: amd64  (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-10 08:08:14 UTC
Created attachment 648748 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2023-01-01 14:26:42 UTC
I wasn't able to reproduce this exact failure with pspp-1.6.2, but I did hit a similar problem with both mold and lld:

(cd "./examples" \
         && "/var/lib/portage/tmp/portage/sci-mathematics/pspp-1.6.2-r1/work/pspp-1.6.2/src/ui/terminal/pspp" ../doc/pspp-figures/chisquare.sps -o - -O format=spv) > doc/pspp-figures/chisquare.spv.tmp
/var/lib/portage/tmp/portage/sci-mathematics/pspp-1.6.2-r1/work/pspp-1.6.2/src/ui/terminal/.libs/pspp: symbol lookup error: /var/lib/portage/tmp/portage/sci-mathematics/pspp-1.6.2-r1/work/pspp-1.6.2/src/.libs/libpspp-1.6.2.so: undefined symbol: pango_font_description_free

I think I found where the linkage is missing and have reported it upstream at

  https://savannah.gnu.org/bugs/index.php?63606

In the meantime I will hack a fix into the Gentoo package.
Comment 3 Larry the Git Cow gentoo-dev 2023-01-01 14:30:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1542309301fd9e3f4e35c8685ef956b6f9f58377

commit 1542309301fd9e3f4e35c8685ef956b6f9f58377
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-12-31 16:52:55 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2023-01-01 14:27:06 +0000

    sci-mathematics/pspp: new revision to fix a few security and QA issues.
    
    We fix CVE-2022-39831 and CVE-2022-39832 the same way upstream did, by
    refusing to install the vulnerable program (which was mainly only used
    for debugging anyway). We now also use a more accurate LICENSE, and add
    a patch to fix underlinking visible with lld/mold.
    
    Bug: https://bugs.gentoo.org/868618
    Closes: https://bugs.gentoo.org/732048
    Closes: https://bugs.gentoo.org/877751
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../pspp/files/pspp-1.6.2-underlinking.patch       | 27 +++++++
 sci-mathematics/pspp/pspp-1.6.2-r2.ebuild          | 88 ++++++++++++++++++++++
 2 files changed, 115 insertions(+)