Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937786 - net-p2p/transmission build failure on ARM64, suggested fix
Summary: net-p2p/transmission build failure on ARM64, suggested fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-11 20:58 UTC by Christian Kühnke
Modified: 2024-08-13 17:25 UTC (History)
2 users (show)

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


Attachments
Log of the failed build of tranmission-4.0.6-r2 on aarch64 (937786_build-failure.txt,43.81 KB, text/plain)
2024-08-13 10:22 UTC, Christian Kühnke
Details
Log of a successful build of tranmission-4.0.6-r3 (with the propsed change) (937786_build-success.txt,225.88 KB, text/plain)
2024-08-13 10:36 UTC, Christian Kühnke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kühnke 2024-08-11 20:58:27 UTC
I have started experimenting with an arm64 hosted virtual machine and transmissionbt was not building there. It failed in compiling libdeflate.

I created a local portage overlay with -DUSE_SYSTEM_DEFLATE=ON and it builds just fine.

Wouldn't it be appropriate to add a dependency to libdeflate and use the system's deflate?
Comment 1 Mike Gilbert gentoo-dev 2024-08-12 17:36:39 UTC
Please attach a build log demonstrating the failure.
Comment 2 Christian Kühnke 2024-08-13 10:22:55 UTC
Created attachment 900054 [details]
Log of the failed build of tranmission-4.0.6-r2 on aarch64
Comment 3 Christian Kühnke 2024-08-13 10:23:07 UTC
(In reply to Christian Kühnke from comment #2)
> Created attachment 900054 [details]
> Log of the failed build of tranmission-4.0.6-r2 on aarch64

Log attached.
Comment 4 Christian Kühnke 2024-08-13 10:36:56 UTC
Created attachment 900055 [details]
Log of a successful build of tranmission-4.0.6-r3 (with the propsed change)

With -DUSE_SYSTEM_DEFLATE=ON
Comment 5 Larry the Git Cow gentoo-dev 2024-08-13 17:24:22 UTC
The bug has been closed via the following commit(s):

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

commit 73fc2f39f45b7bb6a01dd64630816e7224cffa92
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-08-13 17:23:31 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-08-13 17:23:31 +0000

    net-p2p/transmission: use system libdeflate
    
    Closes: https://bugs.gentoo.org/937786
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-p2p/transmission/transmission-4.0.6-r3.ebuild | 163 ++++++++++++++++++++++
 net-p2p/transmission/transmission-9999.ebuild     |   3 +-
 2 files changed, 165 insertions(+), 1 deletion(-)
Comment 6 Mike Gilbert gentoo-dev 2024-08-13 17:25:02 UTC
Thanks for the logs. It will be helpful to know what breaks in case we ever need to use the bundled libdeflate instead.