Bug 70581

Summary: ./autogen.sh warnings in Mesa build system since commit 4e9028b
Product: Mesa Reporter: Johannes Obermayr <johannesobermayr>
Component: EGLAssignee: Emil Velikov <emil.l.velikov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: emil.l.velikov, eric, maraeo, tstellar
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Johannes Obermayr 2013-10-17 18:00:22 UTC
Introduced with
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e9028b

./autogen.sh

src/gallium/state_trackers/egl/Makefile.sources:20: warning: variable 'gdi_SOURCES' is defined but no program or
src/gallium/state_trackers/egl/Makefile.sources:20: library has 'gdi' as canonical name (possible typo)
src/gallium/state_trackers/egl/Makefile.am:25:   'src/gallium/state_trackers/egl/Makefile.sources' included from here
src/gallium/state_trackers/egl/Makefile.sources:10: warning: variable 'android_SOURCES' is defined but no program or
src/gallium/state_trackers/egl/Makefile.sources:10: library has 'android' as canonical name (possible typo)
src/gallium/state_trackers/egl/Makefile.am:25:   'src/gallium/state_trackers/egl/Makefile.sources' included from here
Comment 1 Emil Velikov 2013-10-17 18:30:27 UTC
Thanks for reporting this Johannes, I wonder how many people did notice this (btw you're not the first one :)

AFAICS these warnings are harmless and should not cause any issues. There is a patch/fix for it (sitting for about 2 weeks) and I'll include it in my next automake(build systems) patch set.
Comment 2 Johannes Obermayr 2013-10-17 18:43:36 UTC
Please also remove -module from DRI_DRIVER_LDFLAGS and move it back to *_la_LDFLAGS to fix other warnings ...

http://cgit.freedesktop.org/mesa/mesa/commit/?id=c207fa6
http://cgit.freedesktop.org/mesa/mesa/commit/?id=11e494a
Comment 3 Emil Velikov 2013-10-17 19:00:20 UTC
Here, I've noticed those too, but I'd rather let the megadrivers work get merged first.

With that said, I believe that the messages introduced by moving -module to DRI_DRIVER_LDFLAGS, are a bug in autoconf.

My next batch will handle most (a few subdir-objects will remain) of the automake warning, apart from the usual cleanup/symmetry between build systems.
Comment 4 Emil Velikov 2013-11-16 16:48:11 UTC
Just pushed fixes for both "issues"

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.