Wireshark-dev: Re: [Wireshark-dev] Create tshark rpm

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 19 Aug 2022 11:45:15 -0400
The .spec file has (or at least had) both runtime and build-time dependencies in it.  I'm guessing cmake is one of those packages you manually built (so: it's not installed via RPM, which is what BuildRequires look at) so just comment out the BuildRequires: cmake line (or whatever it is).

On Fri, Aug 19, 2022 at 11:26 AM Anders Broman <a.broman58@xxxxxxxxx> wrote:
Hi,
Yes that did the trick now stuck on
Create a rpm from the current git commit.
error: Failed build dependencies:
        cmake >= 3.10 is needed by wireshark-4.1.0rc0.5120_gc67cdc0514d9_Ericsson-1.x86_64
make[3]: *** [CMakeFiles/wireshark_rpm] Error 1
make[2]: *** [CMakeFiles/wireshark_rpm.dir/all] Error 2
make[1]: *** [CMakeFiles/wireshark_rpm.dir/rule] Error 2
make: *** [wireshark_rpm] Error 2
[root@wireshark-build-server-inst-site1 build]# cmake --version
cmake3 version 3.17.5

Used alternatives as suggested here:

Regards
Anders


Den fre 19 aug. 2022 kl 17:07 skrev chuck c <bubbasnmp@xxxxxxxxx>:

Should the target be wireshark_rpm?

On Fri, Aug 19, 2022 at 9:23 AM Anders Broman <a.broman58@xxxxxxxxx> wrote:
Hi,
I'm trying to build a tshark RPM on Centos7 after manually building some required packages
l(ibcryp c-ares) the build works
cmake3 -G "Unix Makefiles" ../source -DBUILD_wireshark=OFF
make (successful)
make rpm-package
make: *** No rule to make target `rpm-package'.  Stop.

Shouldn't it be possible to do a tshark rpm only?
Regards
Anders

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe