Revision history [back]
cmake dependency failed for v4.0 when trying to build an RPM package from a source tarball
Hi, I'm trying to create a rpm file Wireshark v4.0.0 On CentOs7.9 using ninja the same way as for previous versions:
Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0 when trying to build an RPM package from a source tarball
Hi, I'm trying to create a rpm file Wireshark v4.0.0 On CentOs7.9 using ninja the same way as for previous versions:
Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0 when trying to build an RPM package from a source tarball
Hi,
I'm trying to create a rpm file Wireshark v4.0.0 On CentOs7.9 using ninja the same way as for previous versions:
Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0 when trying to build an RPM package from a source tarballv4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions:
Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions:
Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi,
I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions:
versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi,
I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions:
1. Running this command from an empty created 'build' directory:
cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
.. 2. Running 'ninja wireshark_rpm' (in older versions 'ninja
rpm_package')rpm_package') 3. got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to wireshark/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi,
I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions:
1. Running this command from an empty created 'build' directory:
cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
2. Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package')
3. got this error:
The build system cannot produce a source tarball outside of a git repository.
If you are trying to build an RPM package from source extracted from a tarball,
copy it (i.e., wireshark-4.0.0.tar.xz) to
wireshark/build
/home/wireshark4_upgrade/wireshark_probe_3.6.5/build
and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
one:
xzcat: build/wireshark-4.0.0.tar.xz: /home/wireshark4_upgrade/wireshark_probe_3.6.5/build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr .. 2. Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package') 3. got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to /home/wireshark4_upgrade/wireshark_probe_3.6.5/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one:
xzcat: /home/wireshark4_upgrade/wireshark_probe_3.6.5/build/wireshark-4.0.0.tar.xz: File format not recognized fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr .. 2. Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package') 3. got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to /home/wireshark4_upgrade/wireshark_probe_3.6.5/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one: fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.
cmake dependency failed for v4.0
Hi, I'm trying to create a rpm file Wireshark v4.0.0 using ninja the same way as for previous versions: 1. Running this command from an empty created 'build' directory: cmake3 -G Ninja -DBUILD_wireshark=OFF -DCMAKE_INSTALL_PREFIX=/usr .. 2. Running 'ninja wireshark_rpm' (in older versions 'ninja rpm_package') 3. got this error: The build system cannot produce a source tarball outside of a git repository. If you are trying to build an RPM package from source extracted from a tarball, copy it (i.e., wireshark-4.0.0.tar.xz) to /home/wireshark4_upgrade/wireshark_probe_3.6.5/build and run the build command again.
-> in order to fix it I created a tar with 'tar -czvf *' to all the wireshark dir and copied it to 'build' directory but then got this one: fatal: git get-tar-commit-id: EOF before reading tar header: No such file or directory
and a few lines after: or: Failed build dependencies: cmake >= 3.10 is needed by wireshark-4.0.0-1.x86_64
although I am running cmake version 3.24.3
Can someone please advice? Thanks in advance.