kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38571
Re: Build failure on Fedora 29
-
To:
Seth Hillbrand <seth@xxxxxxxxxxxxx>
-
From:
"Steven A. Falco" <stevenfalco@xxxxxxxxx>
-
Date:
Sun, 9 Dec 2018 13:27:37 -0500
-
Autocrypt:
addr=stevenfalco@xxxxxxxxx; keydata= xsBNBFsz14EBCACybmOt8ADXje8UJJ4hPBTZo3Sm3XS5hhMUDb1/6rQSbT7dpFf3CGp4qwIB DMfS4sV1JMyr3Sl67HzvTMqqHCOTj/QSWiRtFEiasYy82ujfN0/82esM5uKK7Ev2QTs+PZ+Z oqZCwuD7FIRgKtKogJrYmM0aNkKYf1cw4WsND8eGcN1EmmVAQ0PIptpXhiSkJbQLFm06lyTp OBA9MctcPXCRE3DRgByx0YJAjeSckHnU8grJY6niIJgYv5pfrOYSEI+aHgEyePgPzuVz5Y1G 1lb35JG6kdH7GJ406Gggrwe/ia15+HDUMMIy+7EHUSeVWhuXjyW8h4IbbdJ9/YJJa5R9ABEB AAHNJ1N0ZXZlbiBBLiBGYWxjbyA8c3RldmVuZmFsY29AZ21haWwuY29tPsLAlAQTAQgAPhYh BFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAAAoJELdBZWVuLJcia4EIAKziir4OlOCoOnrcLkL5uHGPD1DmbmvBPGiAmgMRvtFC TZ+AhAH10B/Bl7zrti3sNrCs4Q74cU9ApY13ZWeRHfFGnoQnVNQHMf7bTF+iBLqMJvCLOLva mT0mE38fwhwiHD/f1E8AG+vQWgodOwX6Y1qFc4XkozkOJGSW/ZH8mOS28ctdSjVliV4dqTZ3 5Tfb34HDKBtmh/pPAfEfEldN9p3iNo8nkKfAFaYS4HcGj7M2EZ3yPPs8ALRUKs3D4YvDMM8G Uc63nBYmOAnXnXkqb39VnqpELJQjVoL9vDOmxY/yxoZQvtwBhTsXtWGH6czoNxj+QHp+KjUW PmMweX10dyjOwE0EWzPXgQEIAN5WNTBUyL/eZ6wr4le5J6zoUZTm2pwxaqsyOje+iyoa/Cpa imhAaFnYe3N3z3gvlIPOLUAmyzUmy2ph9yMsi+GXFP3ZxaPk5uP4fmvivF6OuOlrNSpbEdn1 2AU0msRZccTbWIU6wunkvi7cUYJLe+ZZEn43ALaIMwFegRZqe57Re8pc8k0wlYOsVrZ8UTTp NEXGJ+c/aC1K5xhPUt6nCZNfvkAOdQ74mVrg4ogXuGl1vbZS0J8mv+OOe9RYUqFSUPo3MIGT M68SOfE6NmsVXI/Glb7m6kMKQt+Tm22hKVxyptIgNqA4qrYBc/PMCvGObnCKEy4GSLii1bcz D9a+2ZcAEQEAAcLAfAQYAQgAJhYhBFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsMBQkD wmcAAAoJELdBZWVuLJci65cIAKbId2gAW8DVDkra1aMfhqp9NvdiMVCMSvDbSY8iHKDURMHp Tj1Dzi5W8yroqM3Gi2P4ixDHxMuEiwRLqP/E9XubXCBEJyZz/9oTiG9XumY2x2lj4U9/YZsQ 3Cn9vS7r4197ryw/xWBDZeqx/JpUwLhRSK6t8PaXD+nlrwHfs0CihfiYdkCbgJljibZAGziF 31gG4iTqNVpJupOAjL8pFt9KuuvcJEDjU9xPxvfFn3MwbBWSEBH1xbVc8Mwt3Tq1tD7+47GR HLb/21KLBIxfXB+wDvl3Dlgg9UhQCuxVfjTFPUBi9Lqv3NZg8+o0gEzHepAmFc/QvdH8quum hkppYOY=
-
Cc:
Kicad-developers <kicad-developers-bounces+seth=hillbrand.org@xxxxxxxxxxxxxxxxxxx>, KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<44bc0672-d0e1-440c-34ab-5e3f86bd36c1@gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
On 12/9/18 11:53 AM, Steven A. Falco wrote:
> On 12/9/18 10:47 AM, Seth Hillbrand wrote:
>> Am 2018-12-09 10:24, schrieb Steven A. Falco:
>>> I had been able to build KiCad successfully for Fedora 29, but
>>> something has apparently changed very recently, because I am now
>>> getting a build failure.
>>>
>>> Below is part of my build log. The error relates to an include file
>>> called KHR/khrplatform.h:
>>>
>>> [ 23%] Building CXX object
>>
>>> /builddir/build/BUILD/kicad-5.0.2/pcbnew/pcb_base_frame.cpp:42:
>>> BUILDSTDERR: /usr/include/GL/glext.h:467:10: fatal error:
>>> KHR/khrplatform.h: No such file or directory
>>> BUILDSTDERR: #include <KHR/khrplatform.h>
>>> BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~
>>
>>> Does anyone have an idea as to what is going on? Is it a Fedora bug
>>> or a KiCad bug?
>>>
>>> Steve
>>
>> Hi Steve-
>>
>> That is the Khronos group header file that is used for older OpenGL implementations. It is still included from the glext.h file.
>>
>> It may be that the Fedora packaging changed who provides this file or the dependencies. Do you require mesa-libEGL-devel-** for the build? If not, adding it should fix the issue.
>>
>> -S
>>
>
> Thanks much. Adding mesa-libEGL-devel looks like it fixes the build. I have more testing to do, but once I am confident, I'll create a pull request to fix the nightlies, and also push the fix into the official Fedora build system.
>
> Steve
>
>
I completed my testing, and adding a BuildRequires for mesa-libEGL-devel does indeed fix the Fedora 29 build. I've opened a pull request:
https://github.com/KiCad/fedora-packaging/pull/22
which should fix the nightly Fedora builds.
Steve
References