← Back to team overview

kicad-developers team mailing list archive

Re: Unable to build on Ubuntu 18.04 for 6.0 branch

 

Hi Seth,

Yes, but the build is failing at compile time for code that is not in
boost 1.59 or earlier.  The boost version should have been bumped to the
version of boost that includes the missing code (I don't know which
version that is).  This way the failure will occur during configuration
so it will be obvious to developers that they need to upgrade to a newer
version of boost.

- Wayne

On 5/9/22 11:52 AM, Seth Hillbrand wrote:
> Hi Wayne,
> 
> From the page you linked, 18.04 is not a supported system and has never
> been supported for v6.  We had decided some time ago that we would
> support Ubuntu LTS versions for 1 year after the release of the next LTS
> [1].
> 
> Jean-Samuel, you may be able to use the mhier PPA[2] as the source for
> newer Boost versions that will allow KiCad on older Ubuntus.
> 
> -Seth
> 
> [1] https://lists.launchpad.net/kicad-developers/msg43255.html
> <https://lists.launchpad.net/kicad-developers/msg43255.html>
> [2]
> https://launchpad.net/~mhier/+archive/ubuntu/libboost-latest/+packages
> <https://launchpad.net/~mhier/+archive/ubuntu/libboost-latest/+packages>
> 
> On Mon, May 9, 2022 at 6:06 AM Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> wrote:
> 
>     It looks like someone back ported some random number generator fixes
>     from master that are not available in boost 1.56 which is the minimum
>     version in the 6.0 branch.  We should address this since 18.04 LTS is a
>     supported system[1].
> 
> 
>     [1]:https://www.kicad.org/help/system-requirements/
>     <https://www.kicad.org/help/system-requirements/>
> 
>     On 5/9/22 4:05 AM, Jean-Samuel Reynaud wrote:
>     > Hi,
>     >
>     > As I see, since one of those commits:
>     > 891c919c239223ef601284a8f166d0f229f6b030
>     > 0ea7dabc1271dbc77b8d5764e4eecbeba85903d6
>     > e1cd74dd78031b002737a79ddffcf3489d74105c
>     > 4d8297a1f6f18d59cb38361b88a959d7af062480
>     >
>     > KiCad is unable to build on Ubuntu 18.04. I guess it's a boost version
>     > issue (Boost is 1.65.1 on Ubuntu 18.04).
>     > The build error:
>     > kicad/common/kiid.cpp:50:73:   required from here
>     > /usr/include/boost/random/detail/seed_impl.hpp:269:9: error: ‘class
>     > boost::uuids::detail::seed_rng’ has no member named ‘generate’
>     >      seq.generate(&storage[0], &storage[0] + ((w+31)/32) * n);
>     >      ~~~~^~~~~~~~
>     >
>     >
>     > You can take a look as the build output at
>     >
>     https://launchpadlibrarian.net/600354670/buildlog_ubuntu-bionic-amd64.kicad_6.0.0+nightly-202205081117+43b8adad1a~116~ubuntu18.04.1_BUILDING.txt.gz
>     <https://launchpadlibrarian.net/600354670/buildlog_ubuntu-bionic-amd64.kicad_6.0.0+nightly-202205081117+43b8adad1a~116~ubuntu18.04.1_BUILDING.txt.gz>
>     > (large log, error message near the end ;)
>     >
>     >
>     > Is this version of Ubuntu is still supported for 6.0 branch ? (for me
>     > yes since the Ubuntu support is up to April 2023)...
>     > Note that it affect version 6.0.5 (6.0.4 was built correctly)
>     >
>     > Regards,
>     >
>     > _______________________________________________
>     > Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     > Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 
> 
> -- 
> KiCad Services Corporation Logo
> Seth Hillbrand
> *Lead Developer*
> +1-530-302-5483‬
> Long Beach, CA
> www.kipro-pcb.com <https://www.kipro-pcb.com/>    info@xxxxxxxxxxxxx
> <mailto:info@xxxxxxxxxxxxx>
> 


References