Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673070 - net-analyzer/wireshark-99999999 checks for >=python-3.4 and fails if default python version is lower
Summary: net-analyzer/wireshark-99999999 checks for >=python-3.4 and fails if default ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-12-13 11:16 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-12-13 14:20 UTC (History)
0 users

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


Attachments
wireshark-99999999.ebuild.diff (wireshark-99999999.ebuild.diff,1.38 KB, patch)
2018-12-13 11:16 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-12-13 11:16:10 UTC
Created attachment 557714 [details, diff]
wireshark-99999999.ebuild.diff

# eselect python show
python2.7

-- POD FOUND
-- Found Perl: /usr/bin/perl (found version "5.26.2") 
-- PERL FOUND
-- Perl executable: /usr/bin/perl
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonInterp: Found unsuitable version "2.7.15", but
  required is at least "3.4" (found /usr/bin/python)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPythonInterp.cmake:165 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:1121 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-analyzer/wireshark-99999999/work/wireshark-99999999_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/net-analyzer/wireshark-99999999/work/wireshark-99999999_build/CMakeFiles/CMakeError.log".
 * ERROR: net-analyzer/wireshark-99999999::gentoo failed (configure phase):
 *   cmake failed


The attached patch fixes this. Oh and this is also required for >=wireshark-2.9.0 once you get to add this to portage.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-13 11:33:49 UTC
Comment on attachment 557714 [details, diff]
wireshark-99999999.ebuild.diff

Looks good.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-13 14:20:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18511c4c06b68c69cf4c02b37f5ef6bf03f06939

commit 18511c4c06b68c69cf4c02b37f5ef6bf03f06939
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-12-13 14:00:50 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-12-13 14:20:51 +0000

    net-analyzer/wireshark: Set python version
    
    Patch by Lars Wendler (Polynomial-C)
    Fixes: https://bugs.gentoo.org/673070
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/wireshark/wireshark-99999999.ebuild | 25 ++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)