pkgsrc-Users archive

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

Re: libaom-3.9.0 Build Fails in pkgsrc current: multimedia/libaom



yancm%sdf.org@localhost writes:

> I added:
>    GCC_REQD+= 10
> to the Makefile and it builds and runs.
>
> I do not know if this is correct, but I already had gcc10 built, so went
> with that.

It is probably not correct, but not harmful for you.  Somewhat recently,
we moved from "needs this compiler/language feature, so say it needs N"
to "declare the language variant and features".

> It might be possible to patch the underlying code to work with NetBSD
> 9_Stable gcc 7.5 compiler, or lower version than gcc 10, but for me it
> builds...

I would suggest trying to see if it needs C++NN for some higher value
than is declared, or std::filesystem or something like that.  Also see
if upstream says you need a particular language variant.

But, upstream says that a "modern" compiler is needed which they define
as gcc >=6!

  https://aomedia.googlesource.com/aom/#prerequisites

so it really should not need 10 instead of 7.

I went to to build this on my n9/amd64 test box.  I noticed it had been
built a few weeks ago.  The build went fine, all the way to a binary
package, uneventfully.

Do you have any non-default settings in mk.conf?  cpuflags?

Do you have an old version of libaom installed?

Have you done pkg_admin rebuild/rebuild-tree, patrolled pkgin sk, and
done pkgin ar?

Do you have cruft in /usr/pkg/include?  In /usr/include (specifically
/usr/include/g++)?


Home | Main Index | Thread Index | Old Index