Ask Your Question
0

Building on Debian 10 - gcrypt not found?

asked 2021-02-18 17:21:55 +0000

mahdimahatma gravatar image

updated 2021-02-19 10:15:00 +0000

Hello. I tried to install wireshark from source using cmakegui and ninja and this happened while configuring in my Debian 10. I don't use WSL. It's just Chicago95 theming my console also the packages.microsoft.com happened probably because of me trying to install mono-runtime and .NET for wine

The C compiler identification is GNU 8.3.0
The CXX compiler identification is GNU 8.3.0
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Generating build using CMake 3.13.4
LTO/LPO is not enabled
CMake build type: RelWithDebInfo
V: 3.4.3, MaV: 3, MiV: 4, PL: 3, EV: .
Performing Test C_fexcess_precision_fast_VALID
Performing Test C_fexcess_precision_fast_VALID - Success
Performing Test C_Wall_VALID
Performing Test C_Wall_VALID - Success
Performing Test C_Wextra_VALID
Performing Test C_Wextra_VALID - Success
Performing Test C_Wendif_labels_VALID
Performing Test C_Wendif_labels_VALID - Success
Performing Test C_Wpointer_arith_VALID
Performing Test C_Wpointer_arith_VALID - Success
Performing Test C_Wformat_security_VALID
Performing Test C_Wformat_security_VALID - Success
Performing Test C_fwrapv_VALID
Performing Test C_fwrapv_VALID - Success
Performing Test C_fno_strict_overflow_VALID
Performing Test C_fno_strict_overflow_VALID - Success
Performing Test C_Wvla_VALID
Performing Test C_Wvla_VALID - Success
Performing Test C_Waddress_VALID
Performing Test C_Waddress_VALID - Success
Performing Test C_Wattributes_VALID
Performing Test C_Wattributes_VALID - Success
Performing Test C_Wdiv_by_zero_VALID
Performing Test C_Wdiv_by_zero_VALID - Success
Performing Test C_Wignored_qualifiers_VALID
Performing Test C_Wignored_qualifiers_VALID - Success
Performing Test C_Wpragmas_VALID
Performing Test C_Wpragmas_VALID - Success
Performing Test C_Wno_overlength_strings_VALID
Performing Test C_Wno_overlength_strings_VALID - Success
Performing Test C_Wno_long_long_VALID
Performing Test C_Wno_long_long_VALID - Success
Performing Test C_Wheader_guard_VALID
Performing Test C_Wheader_guard_VALID - Failed
Performing Test C_Wcomma_VALID
Performing Test C_Wcomma_VALID - Failed
Performing Test C_Wshorten_64_to_32_VALID
Performing Test C_Wshorten_64_to_32_VALID - Failed
Performing Test C_Wframe_larger_than_32768_VALID
Performing Test C_Wframe_larger_than_32768_VALID - Success
Performing Test C_Wc___compat_VALID
Performing Test C_Wc___compat_VALID - Success
Performing Test C_Wunused_const_variable_VALID
Performing Test C_Wunused_const_variable_VALID - Success
Performing Test C_Wshadow_VALID
Performing Test C_Wshadow_VALID - Success
Performing Test C_Wold_style_definition_VALID
Performing Test C_Wold_style_definition_VALID - Success
Performing Test C_Wstrict_prototypes_VALID
Performing Test C_Wstrict_prototypes_VALID - Success
Performing Test C_Wlogical_op_VALID
Performing Test C_Wlogical_op_VALID - Success
Performing Test C_Wjump_misses_init_VALID
Performing Test C_Wjump_misses_init_VALID - Success
Performing Test C_Werror_implicit_VALID
Performing Test C_Werror_implicit_VALID - Success
Performing Test C_Wno_pointer_sign_VALID
Performing Test C_Wno_pointer_sign_VALID - Success
Performing Test CXX_fexcess_precision_fast_VALID
Performing Test CXX_fexcess_precision_fast_VALID - Success
Performing Test CXX_Wall_VALID
Performing Test CXX_Wall_VALID - Success
Performing Test CXX_Wextra_VALID
Performing Test CXX_Wextra_VALID - Success
Performing Test CXX_Wendif_labels_VALID
Performing Test CXX_Wendif_labels_VALID - Success
Performing Test CXX_Wpointer_arith_VALID
Performing Test CXX_Wpointer_arith_VALID - Success
Performing Test CXX_Wformat_security_VALID
Performing Test CXX_Wformat_security_VALID - Success
Performing Test CXX_fwrapv_VALID
Performing Test CXX_fwrapv_VALID - Success
Performing Test CXX_fno_strict_overflow_VALID
Performing Test CXX_fno_strict_overflow_VALID - Success
Performing Test CXX_Wvla_VALID
Performing Test CXX_Wvla_VALID - Success
Performing Test CXX_Waddress_VALID
Performing Test CXX_Waddress_VALID - Success
Performing Test CXX_Wattributes_VALID
Performing Test CXX_Wattributes_VALID - Success
Performing Test CXX_Wdiv_by_zero_VALID
Performing Test CXX_Wdiv_by_zero_VALID - Success
Performing Test CXX_Wignored_qualifiers_VALID
Performing Test CXX_Wignored_qualifiers_VALID - Success
Performing Test CXX_Wpragmas_VALID
Performing Test CXX_Wpragmas_VALID - Success
Performing Test CXX_Wno_overlength_strings_VALID
Performing Test CXX_Wno_overlength_strings_VALID - Success
Performing Test CXX_Wno_long_long_VALID
Performing Test CXX_Wno_long_long_VALID - Success
Performing Test CXX_Wheader_guard_VALID
Performing Test CXX_Wheader_guard_VALID - Failed
Performing Test CXX_Wcomma_VALID
Performing Test CXX_Wcomma_VALID - Failed
Performing ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-18 17:36:27 +0000

grahamb gravatar image

Did you run tools/debian-setup.sh first? That ensures all the needed libraries are present.

edit flag offensive delete link more

Comments

Microsoft(R) Windows 95 (C)Copyright Microsoft Corp 1981-1996.

    C:\home\debian> '/home/debian/Downloads/wireshark-wireshark-3.4.3/tools/debian-setup.sh'
    You must be root.
    C:\home\debian> sudo '/home/debian/Downloads/wireshark-wireshark-3.4.3/tools/debian-setup.sh'
    [sudo] password for debian: 
    Hit:1 http://deb.debian.org/debian buster InRelease
    Hit:2 https://packages.microsoft.com/debian/10/prod buster InRelease
    Reading package lists... Done                           
    libnghttp2-dev is unavailable
    libssh-gcrypt-dev and libssh-dev are unavailable
    libgnutls28-dev is unavailable
    libmaxminddb-dev is unavailable
    libbrotli-dev is unavailable
    libsystemd-dev is unavailable
    libilbc-dev is unavailable
    libopus-dev is unavailable
    softhsm2 is unavailable
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package bison is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
      bison-doc

    Package flex is not available, but is ...
(more)
mahdimahatma gravatar imagemahdimahatma ( 2021-02-18 17:52:03 +0000 )edit

Ahh, you didn't say that you were actually building on WSL. You may be working at the bleeding edge here.

grahamb gravatar imagegrahamb ( 2021-02-19 08:29:29 +0000 )edit
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 https://packages.microsoft.com/debian/10/prod buster InRelease`

...

Package bison is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

That's not a good sign. Debian buster does have a package named "bison", so if it's not being found, something's going wrong.

Perhaps you should ask Microsoft about this. Hopefully it's not looking only at Microsoft's package collection, as they might just have WSL-specific packages and leave the rest up to Debian's package collection.

Guy Harris gravatar imageGuy Harris ( 2021-02-19 09:21:04 +0000 )edit

Actually I am not running WSL. I installed Chicago95 for the Windows classic 2000 look on my debian and it played with my console a little bit. I think the packages.microsoft.com is because I tried to install mono-runtime and install net framework to my wine setup. I remember adding some repostiroy for wine and net framework and it stayed there. I tried running debian.sh but turns out there are missing packages and stuff. I have both nonfree and contrib enabled.

mahdimahatma gravatar imagemahdimahatma ( 2021-02-19 10:08:17 +0000 )edit

This bit of your output is what made me think you were using WSL along with the MS repo being searched.

Microsoft(R) Windows 95
       (C)Copyright Microsoft Corp 1981-1996.

C:\home\debian> '/home/debian/Downloads/wireshark-wireshark-3.4.3/tools/debian-setup.sh'
You must be root.
C:\home\debian> sudo '/home/debian/Downloads/wireshark-wireshark-3.4.3/tools/debian-setup.sh'
[sudo] password for debian: 
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 https://packages.microsoft.com/debian/10/prod buster InRelease
grahamb gravatar imagegrahamb ( 2021-02-19 14:08:24 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-02-18 17:21:55 +0000

Seen: 94 times

Last updated: Feb 19