maintainer-feedback requested: [Bug 225006] graphics/libgltf: fails to build with clang 6.0 (blocks 113 ports)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 8 17:04:15 UTC 2018
Jan Beich <jbeich at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to office at FreeBSD.org:
Bug 225006: graphics/libgltf: fails to build with clang 6.0 (blocks 113 ports)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225006
--- Description ---
Created attachment 189528
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189528&action=edit
ugly fix
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
port failed to build.
Shaders.cpp:178:13: error: non-constant-expression cannot be narrowed from type
'size_t' (aka 'unsigned int') to 'GLint' (aka 'int') in initializer list
[-Wc++11-narrowing]
strlen("#version 130\n"),
^~~~~~~~~~~~~~~~~~~~~~~~
Shaders.cpp:178:13: note: insert an explicit cast to silence this issue
strlen("#version 130\n"),
^~~~~~~~~~~~~~~~~~~~~~~~
static_cast<GLint>( )
To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 graphics/libgltf
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_08h3
2m49s/logs/errors/libgltf-0.0.2_10.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-07_22h53
m03s/logs/errors/libgltf-0.0.2_10.log
More information about the freebsd-office
mailing list