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

Bug 536400

Summary: kde-base/kdelibs-4.14.3-r1 fail to build
Product: Gentoo Linux Reporter: Szef <gena.kazachek>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
strigiconfig.h
strigiconfig.h

Description Szef 2015-01-12 12:34:50 UTC
error msg:
/usr/include/strigi/strigiconfig.h:68:22: fatal error: socket.h: No such file or directory
Comment 1 Szef 2015-01-12 12:35:13 UTC
Created attachment 393770 [details]
emerge --info
Comment 2 Szef 2015-01-12 12:37:55 UTC
Created attachment 393782 [details]
build.log
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-01-28 15:39:35 UTC
Could you please attach a build log for strigi as well as /usr/include/strigi/strigiconfig.h ?
Comment 4 Szef 2015-01-29 10:53:34 UTC
Build log for strigi is not available now I afraid.
Comment 5 Szef 2015-01-29 10:54:31 UTC
Created attachment 395104 [details]
strigiconfig.h
Comment 6 Szef 2015-01-29 10:55:57 UTC
Created attachment 395106 [details]
strigiconfig.h
Comment 7 Szef 2015-01-29 11:00:06 UTC
NOTE!
I patched this strigiconfig.h in order to kdelibs build properly.
So instead of

67 #if 0
68 #  include <socket.h>
69 #endif

originally was

67 #if 1
68 #  include <socket.h>
69 #endif
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-01-29 11:01:14 UTC
What's at /usr/include/socket.h then - does it belong to any package?
Comment 9 Szef 2015-01-29 11:03:51 UTC
I don't have such file.
I guess, that may be, in other systems there is such file, and, probably, it has capabilities of sys/socket.h in Linux, but strigi was not configured properly.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-01-29 11:12:28 UTC
It's picking up a stray socket.h from somewhere, otherwise you would not have #if 1

CMakeFiles/{CMakeError.log,CMakeOutput.log} from the build dir would be helpful
Comment 11 Szef 2015-01-29 11:22:41 UTC
You mean strigi CMake* files or kdelibs ones? As strigi was compiled successfully no files remains.
Comment 12 Michael Palimaka (kensington) gentoo-dev 2015-01-29 11:38:47 UTC
Yeah, strigi.
Comment 13 Szef 2015-01-29 11:43:51 UTC
Sorry, then.