tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc frozen for 2017Q2




MesaLib fails on CentOS 6 with the following:

cc1plus: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized"
make[3]: *** [gallivm/lp_bld_debug.lo] Error 1
make[3]: Leaving directory `/home/bacon/Pkgsrc/pkgsrc/graphics/MesaLib/work/mesa-11.2.2/src/gallium/auxiliary'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bacon/Pkgsrc/pkgsrc/graphics/MesaLib/work/mesa-11.2.2/src/gallium'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bacon/Pkgsrc/pkgsrc/graphics/MesaLib/work/mesa-11.2.2/src'
make: *** [all-recursive] Error 1
*** Error code 2

Stop.
bmake.bin[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/graphics/MesaLib
*** Error code 1

The Makefile has

GCC_REQD=4.2

which does not make sense to me, since the first GCC to fully support C++11 is 4.8.1:

https://gcc.gnu.org/projects/cxx-status.html

CentOS 6 has 4.4.7 as the "base" compiler (from Yum).  Changing this to

GCC_REQD=4.8

resolved the problem for me.

This fix also works for 2017Q1, so I'd suggest updating that branch as well.

Cheers,

    JB

On 06/26/17 03:40, Jonathan Perkin wrote:
Hi all,

The pkgsrc tree is now frozen in preparation for the upcoming 2017Q2
branch.  We are aiming to cut the branch this coming weekend.

There have been a lot of changes for this branch, many coming very
late in the day, and so we would really appreciate any help from the
community in providing fixes and ensuring this branch is a good one.

Ways you can help:

  - Test a bootstrap on your favourite platform and try to build a
    basic set of packages (meta-pkgs/bulk-small may be a good choice).

  - Perform a full bulk build on a platform not already covered by
    others on pkgsrc-bulk@ http://mail-index.netbsd.org/pkgsrc-bulk/

  - Look through bulk build reports from others and submit fixes for
    broken packages.

This coming weekend is pkgsrcCon 2017 in London.  For those attending
I will buy $choice_of_beverage for each 10 fixes/commits that anyone
submits this week (not including dependencies).

Hope to see you there with a great pkgsrc-2017Q2 branch!


--
Earth is a beta site.



Home | Main Index | Thread Index | Old Index