Menu

#211 Custom build broken due to forced removal of debug extensions

1.10.0
closed
None
2
2014-08-14
2013-02-02
Anonymous
No

I rebased my bundled GLEW installation to 1.9.0, and I encountered a problem while building a customized version:


Creating descriptors

rm -rf extensions
bin/update_ext.sh extensions registry blacklist
Hexadecimal number > 0xffffffff non-portable at bin/parse_spec.pl line 336.
Hexadecimal number > 0xffffffff non-portable at bin/parse_spec.pl line 336.
Hexadecimal number > 0xffffffff non-portable at bin/parse_spec.pl line 336.
Hexadecimal number > 0xffffffff non-portable at bin/parse_spec.pl line 336.
Hexadecimal number > 0xffffffff non-portable at bin/parse_spec.pl line 336.
rm: cannot remove ‘extensions/GL_ARB_debug_group’: No such file or directory
make: *** [extensions/.dummy] Error 1

update_ext.sh attempts to remove files relating to debug extensions, but those files don't exist, since they're not specified in my custom.txt file.

The fix is to use "rm -f" instead of just plain "rm" for the debug extensions.

Discussion

  • Nigel Stewart

    Nigel Stewart - 2013-02-04

    Ah, I see. Thanks.

    Would it be possible to use your current custom.txt file as a sample that gets bundled into GLEW? That way I could add some build coverage going forward, to avoid breaking it in future.

    • Nigel
     
  • Nigel Stewart

    Nigel Stewart - 2013-02-04
    • milestone: 1.9.0 --> 1.9.1
    • priority: 3 --> 2
     
  • Nigel Stewart

    Nigel Stewart - 2013-07-12
    • status: open --> pending
    • assigned_to: Nigel Stewart
     
  • Nigel Stewart

    Nigel Stewart - 2013-07-12

    Thanks for the report.
    Pretty sure this is already fixed for upcoming GLEW 1.10.0.
    I can repro in 1.9.0 with: cd auto; make clean; make custom

     
  • Nigel Stewart

    Nigel Stewart - 2013-07-22
    • status: pending --> closed
     
  • Nigel Stewart

    Nigel Stewart - 2013-07-22

    Fixed in GLEW 1.10.0
    Closing.
    Thanks for the report.