Hi, I hit this issue with ncbi-tools++-12.0.0 but realized same happens with gbench-2.10.7 and 2.11.7. I have glew-2.0.0 installed. 2.11.7 /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu11 -fgnu89-inline -c -Wall -Wno-format-y2k -pthread -pipe -maes -mpclmul -mpopcnt -mavx -march=native -fPIC -gdwarf-3 -DNCBI_BYPASS_FL_GL -I/usr/include/freetype2 -I/usr/include/libdrm -D_DEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_MT -D_REENTRANT -D_THREAD_SAFE -I/scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/GCC493-DebugMT64/inc -I/scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/include /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/src/gui/opengl/ncbi_12x24.c -o ncbi_12x24.o In file included from /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/src/gui/opengl/glutbitmap.h:15:0, from /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/src/gui/opengl/ncbi_12x24.c:4: /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/include/gui/opengl.h:59:23: error: unknown type name 'GLEWContext' NCBI_GUIOPENGL_EXPORT GLEWContext* glewGetContext(); ^ In file included from /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/src/gui/opengl/glutbitmap.h:15:0, from /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/src/gui/opengl/ncbi_10x20.c:4: /scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/include/gui/opengl.h:59:23: error: unknown type name 'GLEWContext' NCBI_GUIOPENGL_EXPORT GLEWContext* glewGetContext(); ^ make[4]: *** [/scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/GCC493-DebugMT64/build/Makefile.rules:67: ncbi_12x24.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [/scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/GCC493-DebugMT64/build/Makefile.rules:67: ncbi_10x20.o] Error 1 make[4]: Leaving directory '/scratch/var/tmp/portage/sci-biology/gbench-2.11.7/work/gbench-src-2.11.7/GCC493-DebugMT64/build/gui/opengl' The issue is actually with media-libs/glew-2.0.0, as diagnosed by Aaron: Hi, Martin. This code needs a variant of GLEW that the 2.0 release dropped: https://github.com/nigels-com/glew/issues/38 For ncbi-tools++, you might consider simply building --without-gui, but that's obviously not an option for gbench. -- Aaron Ucko <ucko at ncbi>, NCBI C++ Toolkit core development group
Upstream dropped its support on purpose, we will need to check the reverse deps then @Toralf, could you please give a run of media-libs/glew reverse deps with media-libs/glew-2.1.0 installed? Thanks!
(In reply to Pacho Ramos from comment #1) sure: tinderbox@mr-fox ~ $ scw run/17.0-desktop_20180107-202026 mr-fox / # equery d media-libs/glew * These packages depend on media-libs/glew: dev-cpp/eigen-3.3.3 (test ? media-libs/glew) media-libs/libprojectm-2.1.0-r2 (media-libs/glew) media-sound/clementine-1.3.1_p20171113 (projectm ? media-libs/glew)
But, I think equery d only takes care of the *installed* packages requiring them. I used this for getting reverse deps: $ qgrep -H media-libs/glew|cut -d / -f1,2|sort|uniq app-admin/logstalgia dev-cpp/eigen dev-games/cegui dev-games/mygui dev-python/soya dev-tcltk/tkzinc dev-util/gource dev-util/nvidia-cuda-sdk games-action/openclonk games-action/supertuxkart games-arcade/supertux games-emulation/daphne games-emulation/openmsx games-engines/renpy games-roguelike/dwarf-fortress games-rpg/arx-libertatis games-rpg/eternal-lands games-rpg/runescape-launcher games-simulation/flightgear games-sports/vdrift games-strategy/endless-sky games-strategy/freeorion games-strategy/megaglest games-strategy/scorched3d games-strategy/warzone2100 games-strategy/widelands games-util/atlas media-gfx/blender media-gfx/enblend media-gfx/freewrl media-gfx/hugin media-gfx/meshlab media-gfx/nvidia-texture-tools media-gfx/opencsg media-gfx/openscad media-gfx/opentoonz media-libs/glew media-libs/libprojectm media-libs/mediastreamer media-libs/opencolorio media-libs/openctm media-libs/openimageio media-libs/opensubdiv media-libs/quesoglc media-plugins/gst-plugins-gl media-sound/clementine media-video/bino sci-biology/arb sci-chemistry/avogadro sci-chemistry/ball sci-chemistry/pymol sci-chemistry/wxmacmolplt sci-electronics/kicad sci-libs/avogadrolibs sci-physics/root www-plugins/lightspark x11-apps/mesa-progs x11-misc/rss-glx x11-misc/slop Thanks :)
Ah, good to know qgrep -H media-libs/glew 2>/dev/null | cut -d / -f1,2 | sort -u Indeed, brought the same result list, thx ! :-)
did the tinderbox run ended well? Thanks
(In reply to Pacho Ramos from comment #5) well, it builds fine here at many images : /home/tinderbox/run/17.0_20180130-192241/var/log/emerge.log Thu Feb 1 03:40:48 2018 >>> media-libs/glew-2.1.0 glew: Thu Feb 1 03:40:20 2018: 28 seconds /home/tinderbox/run/17.0-desktop_libressl-test_20180203-123634/var/log/emerge.log Tue Feb 6 03:19:24 2018 >>> media-libs/glew-2.1.0 glew: Tue Feb 6 03:18:45 2018: 39 seconds /home/tinderbox/run/17.0-desktop-plasma_libressl_20180201-185100/var/log/emerge.log Sat Feb 3 23:56:04 2018 >>> media-libs/glew-2.1.0 glew: Sat Feb 3 23:55:32 2018: 32 seconds /home/tinderbox/run/17.0-developer_20180204-180656/var/log/emerge.log Tue Feb 6 19:11:33 2018 >>> media-libs/glew-2.1.0 glew: Tue Feb 6 19:10:57 2018: 36 seconds /home/tinderbox/run/17.0-no-multilib_20180202-195308/var/log/emerge.log Mon Feb 5 09:33:28 2018 >>> media-libs/glew-2.1.0 glew: Mon Feb 5 09:32:56 2018: 32 seconds /home/tinderbox/run/17.0-systemd_20180204-165542/var/log/emerge.log Tue Feb 6 19:11:48 2018 >>> media-libs/glew-2.1.0 glew: Tue Feb 6 19:11:09 2018: 39 seconds /home/tinderbox/run/17.0-systemd_abi32+64_20180131-183348/var/log/emerge.log Fri Feb 2 02:40:33 2018 >>> media-libs/glew-2.1.0 glew: Fri Feb 2 02:39:37 2018: 56 seconds /home/tinderbox/run/17.0-systemd_abi32+64-test_20180203-182621/var/log/emerge.log Mon Feb 5 06:36:07 2018 >>> media-libs/glew-2.1.0 glew: Mon Feb 5 06:35:02 2018: 1 minute, 5 seconds
Ah, nice to know :D Thanks a lot
@pacho, so why is this bug closed now? What changes/patches were applied to the apps requiring glew?
because we found no broken reverse deps in the tinderbox run