Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 672122

Summary: net-wireless/kismet-2016.07.1-r1: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Sergey 'L29Ah' Alirzaev 2018-11-28 01:28:03 UTC
Created attachment 556544 [details]
build log

aircrack-crypto.cc: In function ‘void calc_mic(AP_info*, unsigned char*, unsigned char*, unsigned char*)’:
aircrack-crypto.cc:277:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
  HMAC_CTX ctx;
           ^~~
aircrack-crypto.cc:303:2: error: ‘HMAC_CTX_init’ was not declared in this scope
  HMAC_CTX_init(&ctx);
  ^~~~~~~~~~~~~
aircrack-crypto.cc:303:2: note: suggested alternative: ‘HMAC_CTX_new’
  HMAC_CTX_init(&ctx);
  ^~~~~~~~~~~~~
  HMAC_CTX_new
aircrack-crypto.cc:313:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
  HMAC_CTX_cleanup(&ctx);
  ^~~~~~~~~~~~~~~~
aircrack-crypto.cc:313:2: note: suggested alternative: ‘HMAC_CTX_get_md’
  HMAC_CTX_cleanup(&ctx);
  ^~~~~~~~~~~~~~~~
  HMAC_CTX_get_md
Comment 1 Sergey 'L29Ah' Alirzaev 2018-11-28 01:28:24 UTC
Created attachment 556546 [details]
emerge --info
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2018-12-03 16:09:31 UTC
I suspect this was caused by the missing openssl dep which is added in -r2
Comment 3 Sergey 'L29Ah' Alirzaev 2018-12-03 19:56:28 UTC
No effect, though thanks for hinting that -plugin-ptw will make it build.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2018-12-04 16:22:41 UTC
this is probably gcc 8.2 being stricter than 7.  Patches welcome if anyone wants this fixed.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2019-05-30 17:59:25 UTC
*** Bug 677266 has been marked as a duplicate of this bug. ***
Comment 6 Toralf Förster gentoo-dev 2019-08-05 18:19:17 UTC
*** Bug 691506 has been marked as a duplicate of this bug. ***
Comment 7 Rick Farina (Zero_Chaos) gentoo-dev 2020-12-04 15:14:46 UTC
obsolete and removed from the tree