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

Bug 550624

Summary: dev-qt/qtcore-4.8.6-r2[ssl] - config.tests/unix/openssl/openssl.cpp:42:30: fatal error: openssl/opensslv.h: No such file or directory
Product: Gentoo Linux Reporter: Arsen Shnurkov <Arsen.Shnurkov>
Component: [OLD] DevelopmentAssignee: Qt Bug Alias <qt>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
emerge -pqv '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
environment
build log

Description Arsen Shnurkov 2015-05-28 08:17:16 UTC
emerge --info '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
https://bpaste.net/show/26835fa71165

emerge -pqv '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
https://bpaste.net/show/da52763914a4

environment
https://bpaste.net/show/06cdd55f3aa2

build log:
https://bpaste.net/show/bfa3419321be

Steps to reproduce:
1) boot SystemResqueCD in qemu-system-x86_64 -enable-kvm
2) emerge --sync && emerge portage
3) emerge unetbootin
Comment 1 Arsen Shnurkov 2015-05-28 08:25:41 UTC
Created attachment 404144 [details]
emerge --info '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
Comment 2 Arsen Shnurkov 2015-05-28 08:26:48 UTC
Created attachment 404146 [details]
emerge -pqv '=dev-qt/qtcore-4.8.6-r2::gentoo' | wgetpaste
Comment 3 Arsen Shnurkov 2015-05-28 08:27:51 UTC
Created attachment 404148 [details]
environment
Comment 4 Arsen Shnurkov 2015-05-28 08:28:34 UTC
Created attachment 404150 [details]
build log
Comment 5 Andrew Miller 2015-05-28 20:49:11 UTC
This bug should be renamed "=dev-qt/qtcore-4.8.6-r2 fails to build with USE=ssl - openssl.cpp:42:30: fatal error: openssl/opensslv.h: No such file or directory"

Arsen, does the file /usr/include/openssl/opensslv.h exist on your system?

What happens if you change your CHOST from i486 to i686, then merge qtcore again? Follow this guide to do so:

https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable
Comment 6 Andrew Miller 2015-05-29 04:48:35 UTC
I've successfully built =dev-qt/qtcore-4.8.6-r2 in an i486 chroot, with the same gcc settings. That's not the problem.

Arsen, the SystemResqueCD is missing header files. This is discussed on the FAQ page here: http://bit.ly/1QercCs

To get around this problem, you can run:

emerge dev-libs/openssl =dev-qt/qtcore-4.8.6-r2

However, you might want to run:

emerge -e @world =dev-qt/qtcore-4.8.6-r2

To rebuild all packages and avoid any further problems with missing header files.

Please close this bug as Resolved -> WONTFIX.