[Bug 195105] New: qt5 cannot find GL/gl.h with Clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 17 15:19:04 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195105

            Bug ID: 195105
           Summary: qt5 cannot find GL/gl.h with Clang
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: alex.v.wolf at gmail.com

When I try compile Stellarium on my buildbot via Clang then Qt5 can't find
GL/gl.h file. I got error like this:
In file included from
/usr/home/aw/achernar/achernar-FreeBSD/source/src/gui/StelGui.cpp:31:
In file included from
/usr/home/aw/achernar/achernar-FreeBSD/source/src/StelMainView.hpp:26:
In file included from /usr/local/include/qt5/QtGui/QOpenGLContext:1:
In file included from /usr/local/include/qt5/QtGui/qopenglcontext.h:62:
/usr/local/include/qt5/QtGui/qopengl.h:110:12: fatal error: 'GL/gl.h' file not
found
#  include <GL/gl.h>
           ^
1 error generated.

I'm tried build Stellarium on FreeBSD 10.1/amd64 with Qt 5.3.2 and 4 different
compilers: Clang 3.4.1 (from base system) and 3.6.0 (from ports), GCC 5.0.0 and
4.9.2.

This issue can't be reproduced with GCC.

Detailed logs can be found here: http://gcc10.fsffrance.org:8010/waterfall

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list