#47 Add riscv64 support
Closed 4 months ago by jasenchao. Opened 4 months ago by jasenchao.
https://github.com/fedora-riscv/wireshark.git f39  into  f39

Add riscv64 support.
JasenChao • 4 months ago  
wireshark.spec
file modified
+8 -1
@@ -3,10 +3,14 @@

  %global with_maxminddb 1

  %global plugins_version 4.0

  

+ %ifarch riscv64

+ %undefine __brp_check_rpaths

+ %endif

+ 

  Summary:	Network traffic analyzer

  Name:		wireshark

  Version:	4.0.12

- Release:	2%{?dist}

+ Release:	3%{?dist}

  Epoch:		1

  License:	BSD-1-Clause AND BSD-2-Clause AND BSD-3-Clause AND MIT AND GPL-2.0-or-later AND LGPL-2.0-or-later AND Zlib AND ISC AND (BSD-3-Clause OR GPL-2.0-only) AND (GPL-2.0-or-later AND Zlib)

  Url:		http://www.wireshark.org/
@@ -280,6 +284,9 @@

  %{_libdir}/pkgconfig/%{name}.pc

  

  %changelog

+ * Sun Jul 02 2023 Liu Yang <Yang.Liu.sn@gmail.com> - 1:4.0.12-3

+ - rpath check failed on riscv64, disable it for riscv64.

+ 

  * Sat Feb 17 2024 Jan Grulich <jgrulich@redhat.com> - 1:4.0.12-2

  - Rebuild (qt6)

  

no initial comment

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/bac2f3ded5594928b3d5a83332922721

This change needs to be targeted at rawhide, not an older branch.

The rpath check shouldn't fail, don't just disable it. What's the actual error?

NAK. This is using CMake and you can tell CMake not to generates RPATHs. That would be a better approach.

It's failing on Fedora/RISCV Koji too, but the better approach is to tell CMake to skip RPATHS.

NAK. This is using CMake and you can tell CMake not to generates RPATHs. That would be a better approach.

It's failing on Fedora/RISCV Koji too, but the better approach is to tell CMake to skip RPATHS.

OK, I will close this PR, thank you.

Pull-Request has been closed by jasenchao

4 months ago

@jasenchao You still need to create a PR for wireshark, but it should look something like this instead:

%cmake -DCMAKE_SKIP_RPATH:BOOL=TRUE
Metadata