Bug 272884 - KDE5 cannot be compiled and installed on aarch64 using the default parameters in ports.
Summary: KDE5 cannot be compiled and installed on aarch64 using the default parameters...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 09:47 UTC by ykla
Modified: 2023-08-04 11:25 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (kde)


Attachments
output (264.44 KB, text/plain)
2023-08-02 10:04 UTC, ykla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ykla 2023-08-02 09:47:34 UTC
When installing KDE5 on Raspberry Pi 4B using ports, it relies on Valgrind. However, Valgrind only supports the x86 architecture and cannot be compiled on aarch64. In other words, it is not possible to compile and install KDE5 with the default parameter BATCH=yes.

-------------
make BATCH=yes fetch-recursive

===>  License GPLv2 GPLv3 accepted by the user
===>   vid.stab-0.98.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by vid.stab-0.98.2 for building
===>  License ZLIB accepted by the user
===>   sdl2_image-2.6.3_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by sdl2_image-2.6.3_2 for building
===>  License MIT accepted by the user
===>   rttr-0.9.6.16_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rttr-0.9.6.16_3 for building
===>  License unknown accepted by the user
===>   rapidjson-1.1.0.709 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rapidjson-1.1.0.709 for building
===>  valgrind-3.21.0,1 is only for amd64 i386, while you are running aarch64.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/valgrind
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde5
Comment 1 ykla 2023-08-02 10:04:36 UTC
Created attachment 243791 [details]
output

output
Comment 2 Jan Beich freebsd_committer freebsd_triage 2023-08-04 11:25:19 UTC
> ===> Fetching all distfiles required by rapidjson-1.1.0.709 for building
> ===>  valgrind-3.21.0,1 is only for amd64 i386, while you are running aarch64.

valgrind is part of TEST_DEPENDS in rapidjson (and some other ports), so only affects "make test" which isn't run during build (or by default).

Over to portmgr@. *-recursive targets should probably skip TEST_DEPENDS.