Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631970 - app-text/mupdf-1.11-r1 relocation truncated to fit: R_SPARC_GOT13 against symbol...
Summary: app-text/mupdf-1.11-r1 relocation truncated to fit: R_SPARC_GOT13 against sym...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2017-15587 645974 658618
  Show dependency tree
 
Reported: 2017-09-25 04:26 UTC by Matt Penwill
Modified: 2024-02-05 15:35 UTC (History)
2 users (show)

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


Attachments
build log (mupdf-1.11-r1-build.log,169.13 KB, application/octet-stream)
2017-09-25 04:26 UTC, Matt Penwill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Penwill 2017-09-25 04:26:40 UTC
Created attachment 496334 [details]
build log

Repeated relocation errors occur causing build to fail.

Problem appears to be the use of -fpic rather than -fPIC on Ultrasparc IIIi processor.

Was able to get a successful compile by specifying EXTRA_EMAKE="XCFLAGS=-fPIC" in /etc/portage/package.env
Comment 1 Rolf Eike Beer archtester 2018-05-08 20:45:54 UTC
Still there.
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-10-05 12:01:06 UTC
Can someone with access to a sparc machine submit a patch? This problem is blocking the resolution of security bugs and, if this bug report is correct, mupdf on sparc has now been broken for quite a while. I'd tend to unkeyword it.
Comment 3 Larry the Git Cow gentoo-dev 2018-10-08 20:03:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fdb6a4636768465bba3df9da04b84705db2d9e3

commit 3fdb6a4636768465bba3df9da04b84705db2d9e3
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-10-08 20:01:57 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-08 20:01:57 +0000

    app-text/mupdf: drop ~sparc keyword
    
    It seems that mupdf is durably broken on sparc.
    
    Closes: https://bugs.gentoo.org/631970
    Closes: https://bugs.gentoo.org/658438
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 app-text/mupdf/mupdf-1.13.0-r1.ebuild | 4 ++--
 app-text/mupdf/mupdf-1.13.0.ebuild    | 4 ++--
 app-text/mupdf/mupdf-1.14.0.ebuild    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-02-05 14:30:13 UTC
The bug has been referenced in the following commit(s):

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

commit a5eb4ff9187e9d634ca34a197e72d084151ebf21
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-05 14:22:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-05 14:29:11 +0000

    profiles/arch/sparc: update and expand cups + pdf stable-mask
    
    Followup to commit ccc97ae9448678fa5971a4a41f89e8778550ceed. Still
    trying to stabilize new group of cups packages after shuffling and
    splitting up components. Originally nattka complained about hppa, now
    after fixing that, it is complaining about sparc too.
    
    The problem is the same problem -- unstable mupdf -- but this time tied
    to a different bug.
    
    Bug: https://bugs.gentoo.org/923811
    Bug: https://bugs.gentoo.org/631970
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/sparc/package.use.mask | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-02-05 15:35:23 UTC
The bug has been referenced in the following commit(s):

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

commit a3d9d727aebb5f958446ffbc2a994508aef21119
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-05 15:05:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-05 15:34:44 +0000

    profiles/arch/sparc: fix totally bogus mupdf-based cups mask
    
    In bug 631970, mupdf dropped its sparc keyword for nonsense reasons. Due
    to an ebuild bug, it was wrong everywhere and actually failed to build
    on sparc. Despite diagnosis in the original report, it was left unfixed
    for years after dropping ~sparc:
    
    > Can someone with access to a sparc machine submit a patch? [...] if
    > this bug report is correct, mupdf on sparc has now been broken for quite
    > a while.  I'd tend to unkeyword it.
    
    Fast forward to 2021, and commit 41543c0badfcd7ba9ee39386a3f4a8c8675135c0
    which ninja-fixed this inside another commit. Now mupdf builds sanely.
    Fast forward again to 2023, and bug 761550, where it was keyworded for
    ~sparc.
    
    This odd mask is outdated and incorrect in a few different ways! The
    status today is much more simple: the feature is expected to work on
    ~sparc, but no one has requested stabilizing mupdf for sparc. Hence,
    cups *can* be built with USE=pdf, as long as you don't mind running
    unstable keywords.
    
    Move the mask from use, to use.stable, and correct the false
    information.
    
    Bug: https://bugs.gentoo.org/631970
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/sparc/package.use.mask        | 7 -------
 profiles/arch/sparc/package.use.stable.mask | 7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)