Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Character range error when attempting to install QGIS Dev via Homebrew #54

Open
Tele-Pet opened this issue Feb 20, 2018 · 4 comments
Open

Comments

@Tele-Pet
Copy link

See warning, the character range [?-] is ambiguous in a case-insensitive scanner errors:

M06131-0HV29:~ myUserName$ brew install qgis3-dev --with-3d --no-sandbox
==> Installing qgis3-dev from qgis/qgisdev
==> Cloning https://github.com/qgis/QGIS.git
Updating /Users/myUserName/Library/Caches/Homebrew/qgis3-dev--git
==> Checking out branch master
==> /usr/local/bin/pip3 install --user future psycopg2 python-dateutil httplib2 pytz six nose2 pygments jinj
==> cmake -G Ninja -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFI
==> cmake --build . --target all -- -j 4
Last 15 lines from /Users/myUserName/Library/Logs/Homebrew/qgis3-dev/03.cmake:
[325/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/attributetable/qgsgenericfeatureselectionmanager.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgsgenericfeatureselectionmanager.h
[326/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/attributetable/qgsvectorlayerselectionmanager.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgsvectorlayerselectionmanager.h
[327/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/attributetable/qgsorganizetablecolumnsdialog.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgsorganizetablecolumnsdialog.h
[328/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/effects/qgseffectdrawmodecombobox.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgseffectdrawmodecombobox.h
[329/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/effects/qgseffectstackpropertieswidget.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgseffectstackpropertieswidget.h
[330/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/effects/qgspainteffectpropertieswidget.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgspainteffectpropertieswidget.h
[331/4820] : && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG  -dynamiclib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks   -Qunused-arguments -F/Library/Frameworks  -compatibility_version 2.99.0 -current_version 2.99.0 -o output/lib/qgis_native.framework/Versions/2.99/qgis_native -install_name /tmp/qgis3-dev-20180220-21112-e62psm/build/output/lib/qgis_native.framework/Versions/2.99/qgis_native src/native/CMakeFiles/qgis_native.dir/qgsnative.cpp.o src/native/CMakeFiles/qgis_native.dir/mac/cocoainitializer.mm.o src/native/CMakeFiles/qgis_native.dir/mac/qgsmacnative.mm.o -L/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core  -L/tmp/qgis3-dev-20180220-21112-e62psm/build/src/gui -framework ApplicationServices -framework CoreFoundation -framework IOKit -framework AppKit && :
[332/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/effects/qgspainteffectwidget.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgspainteffectwidget.h
[333/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/editorwidgets/core/qgseditorconfigwidget.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgseditorconfigwidget.h
[334/4820] cd /tmp/qgis3-dev-20180220-21112-e62psm/build/src/core && /usr/local/opt/bison/bin/bison -o/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core/qgsexpressionparser.cpp -d -v -t /tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionparser.yy
FAILED: src/core/qgsexpressionparser.cpp 
cd /tmp/qgis3-dev-20180220-21112-e62psm/build/src/core && /usr/local/opt/bison/bin/bison -o/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core/qgsexpressionparser.cpp -d -v -t /tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionparser.yy
/bin/sh: line 1: 22412 Illegal instruction: 4  /usr/local/opt/bison/bin/bison -o/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core/qgsexpressionparser.cpp -d -v -t /tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionparser.yy
[335/4820] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/gui/editorwidgets/core/qgseditorwidgetregistry.h output/lib/qgis_gui.framework/Versions/2.99/Headers/qgseditorwidgetregistry.h
[336/4820] cd /tmp/qgis3-dev-20180220-21112-e62psm/build/src/core && /usr/local/opt/flex/bin/flex -o/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core/flex_qgsexpressionlexer.cpp /tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:209: warning, the character range [?-] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:209: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:211: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:211: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:213: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:213: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:215: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgsexpressionlexer.ll:215: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
[337/4820] cd /tmp/qgis3-dev-20180220-21112-e62psm/build/src/core && /usr/local/opt/flex/bin/flex -o/tmp/qgis3-dev-20180220-21112-e62psm/build/src/core/flex_qgssqlstatementlexer.cpp /tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgssqlstatementlexer.ll
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgssqlstatementlexer.ll:168: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgssqlstatementlexer.ll:189: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
/tmp/qgis3-dev-20180220-21112-e62psm/src/core/qgssqlstatementlexer.ll:189: warning, the character range [?-?] is ambiguous in a case-insensitive scanner
ninja: build stopped: subcommand failed.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/qgis/homebrew-qgisdev/issues

These open issues may also help:
Python 3.6.0 upgrade breaks existing qgis3-dev https://github.com/qgis/homebrew-qgisdev/issues/11
@Tele-Pet Tele-Pet changed the title Error when attempting to install QGIS Dev via Homebrew Character range error when attempting to install QGIS Dev via Homebrew Feb 20, 2018
@AsgerPetersen
Copy link

I think I had that error too. As I remember it, I solved it by uninstalling bison and then install it again.

@Tele-Pet
Copy link
Author

Tele-Pet commented Feb 24, 2018

I fully removed Hombrew, including all of my installed packages, reinstalled it and am no longer seeing the character range error. I am now getting another error, which I'll create a new issue for.

Update: Here's the link to the issue I created: #56

@resistor4u
Copy link

@Tele-Pet can you link that issue here plz?

@Tele-Pet
Copy link
Author

@resistor4u Thanks for the reminder. I've edited my comment above and added the link. It's #56.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants