cs01 / gdbgui

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
https://gdbgui.com
GNU General Public License v3.0
9.91k stars 499 forks source link

Error, when I try to call gdbgui #72

Closed Overlordff closed 7 years ago

Overlordff commented 7 years ago

When I call gdbgui in terminal, error is throwing and nothing more happenes. Ubuntu 14.04

$ gdbgui

Traceback (most recent call last): File "/usr/local/bin/gdbgui", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in working_set = WorkingSet._build_master() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in _build_master ws.require(requires) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: click>=2.0

cs01 commented 7 years ago

Sorry it's not working for you, let see if we can get it working.

If you're not using a virtual environment or don't know what it means, can you copy and paste the output of these two commands?

sudo pip install gdbgui --upgrade
pip freeze

If you are using a virtual environment, can you copy and paste the output of these two commands?

pip install gdbgui --upgrade
pip freeze
Overlordff commented 7 years ago

Sorry for the long pause,

sudo pip install gdbgui --upgrade

Output: Requirement already up-to-date: gdbgui in /usr/local/lib/python2.7/dist-packages Requirement already up-to-date: Flask>=0.12 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Requirement already up-to-date: pygdbmi>=0.7.3.3 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Requirement already up-to-date: pypugjs>=4.2.0 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Requirement already up-to-date: Flask-SocketIO>=2.8.3 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Downloading/unpacking gevent>=1.2.1 from https://pypi.python.org/packages/1b/92/b111f76e54d2be11375b47b213b56687214f258fd9dae703546d30b837be/gevent-1.2.2.tar.gz#md5=7f0baf355384fe5ff2ecf66853422554 (from gdbgui) Downloading gevent-1.2.2.tar.gz (3.1MB): 3.1MB downloaded Running setup.py (path:/tmp/pip_build_root/gevent/setup.py) egg_info for package gevent /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg)

warning: no files found matching 'changelog.rst'
warning: no files found matching 'known_failures.py'
warning: no files found matching '.pep8'
no previously-included directories found matching '*/__pycache__'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
warning: no previously-included files matching '*.lo' found anywhere in distribution
warning: no previously-included files matching '*.la' found anywhere in distribution
warning: no previously-included files matching 'config.log' found anywhere in distribution
warning: no previously-included files matching 'config.status' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.coverage' found under directory 'src/greentest'
no previously-included directories found matching 'src/greentest/htmlcov'
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/c-ares'
warning: no previously-included files matching 'ares_build.h.orig' found under directory 'deps/c-ares'
no previously-included directories found matching 'deps/libev/.deps'
warning: no previously-included files matching 'Makefile' found under directory 'deps/libev'
warning: no previously-included files matching 'libtool' found under directory 'deps/libev'
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/libev'
warning: no previously-included files matching 'config.h' found under directory 'deps/libev'
warning: no previously-included files matching '_corecffi.c' found under directory 'src/gevent'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'configure-output'

Requirement already up-to-date: eventlet>=0.20.1 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Requirement already up-to-date: Pygments>=2.2.0 in /usr/local/lib/python2.7/dist-packages (from gdbgui) Requirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from pypugjs>=4.2.0->gdbgui) Requirement already up-to-date: python-socketio>=1.5.0 in /usr/local/lib/python2.7/dist-packages (from Flask-SocketIO>=2.8.3->gdbgui) Requirement already up-to-date: python-engineio>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from Flask-SocketIO>=2.8.3->gdbgui) Requirement already up-to-date: greenlet>=0.4.10 in /usr/local/lib/python2.7/dist-packages (from gevent>=1.2.1->gdbgui) Installing collected packages: gevent Found existing installation: gevent 1.2.1 Uninstalling gevent: Successfully uninstalled gevent Running setup.py install for gevent /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg)

warning: no files found matching 'changelog.rst'
warning: no files found matching 'known_failures.py'
warning: no files found matching '.pep8'
no previously-included directories found matching '*/__pycache__'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
warning: no previously-included files matching '*.lo' found anywhere in distribution
warning: no previously-included files matching '*.la' found anywhere in distribution
warning: no previously-included files matching 'config.log' found anywhere in distribution
warning: no previously-included files matching 'config.status' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.coverage' found under directory 'src/greentest'
no previously-included directories found matching 'src/greentest/htmlcov'
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/c-ares'
warning: no previously-included files matching 'ares_build.h.orig' found under directory 'deps/c-ares'
no previously-included directories found matching 'deps/libev/.deps'
warning: no previously-included files matching 'Makefile' found under directory 'deps/libev'
warning: no previously-included files matching 'libtool' found under directory 'deps/libev'
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/libev'
warning: no previously-included files matching 'config.h' found under directory 'deps/libev'
warning: no previously-included files matching '_corecffi.c' found under directory 'src/gevent'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'configure-output'
Running '(cd  "/tmp/pip_build_root/gevent/deps/libev"  && sh ./configure   && cp config.h "$OLDPWD" ) > configure-output.txt' in /tmp/pip_build_root/gevent/build/temp.linux-x86_64-2.7/libev
building 'gevent.libev.corecext' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -I/tmp/pip_build_root/gevent/deps/libev -I/usr/include/python2.7 -c src/gevent/libev/gevent.corecext.c -o build/temp.linux-x86_64-2.7/src/gevent/libev/gevent.corecext.o
In file included from src/gevent/libev/libev.h:2:0,
                 from src/gevent/libev/gevent.corecext.c:434:
/tmp/pip_build_root/gevent/deps/libev/ev.c:483:48: warning: "/*" within comment [-Wcomment]
 /*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */
 ^
In file included from src/gevent/libev/libev.h:2:0,
                 from src/gevent/libev/gevent.corecext.c:434:
/tmp/pip_build_root/gevent/deps/libev/ev.c:1831:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’ [enabled by default]
   EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
                               ^
In file included from src/gevent/libev/libev.h:2:0,
                 from src/gevent/libev/gevent.corecext.c:434:
/tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘ev_io_start’:
/tmp/pip_build_root/gevent/deps/libev/ev.c:3878:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
   fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                                  ^
/tmp/pip_build_root/gevent/deps/libev/ev.c: At top level:
/tmp/pip_build_root/gevent/deps/libev/ev.c:5135:27: warning: "/*" within comment [-Wcomment]
 /* EV_STAT     0x00001000 /* stat data changed */
 ^
/tmp/pip_build_root/gevent/deps/libev/ev.c:5136:27: warning: "/*" within comment [-Wcomment]
 /* EV_EMBED    0x00010000 /* embedded event loop needs sweep */
 ^
In file included from src/gevent/libev/libev.h:2:0,
                 from src/gevent/libev/gevent.corecext.c:434:
/tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘evpipe_write’:
/tmp/pip_build_root/gevent/deps/libev/ev.c:2468:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
           write (evpipe [1], &counter, sizeof (uint64_t));
                 ^
/tmp/pip_build_root/gevent/deps/libev/ev.c:2480:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
           write (evpipe [1], &(evpipe [1]), 1);
                 ^
/tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘pipecb’:
/tmp/pip_build_root/gevent/deps/libev/ev.c:2501:16: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
           read (evpipe [1], &counter, sizeof (uint64_t));
                ^
/tmp/pip_build_root/gevent/deps/libev/ev.c:2515:16: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
           read (evpipe [0], &dummy, sizeof (dummy));
                ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/gevent/libev/gevent.corecext.o -o build/lib.linux-x86_64-2.7/gevent/libev/corecext.so
Running '(cd  "/tmp/pip_build_root/gevent/deps/c-ares"  && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi   && sh ./configure --disable-dependency-tracking CONFIG_COMMANDS=   && cp ares_config.h ares_build.h "$OLDPWD"   && mv ares_build.h.orig ares_build.h) > configure-output.txt' in /tmp/pip_build_root/gevent/build/temp.linux-x86_64-2.7/c-ares
building 'gevent.ares' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c src/gevent/gevent.ares.c -o build/temp.linux-x86_64-2.7/src/gevent/gevent.ares.o
In file included from src/gevent/gevent.ares.c:435:0:
src/gevent/dnshelper.c:19:0: warning: "PyUnicode_FromString" redefined [enabled by default]
   #define PyUnicode_FromString         PyBytes_FromString
 ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from src/gevent/gevent.ares.c:4:
/usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition
 # define PyUnicode_FromString PyUnicodeUCS4_FromString
 ^
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares__close_sockets.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares__close_sockets.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares__get_hostent.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares__get_hostent.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares__read_line.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares__read_line.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares__timeval.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares__timeval.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_cancel.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_cancel.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_create_query.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_create_query.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_data.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_data.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_destroy.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_destroy.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_expand_name.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_expand_name.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_expand_string.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_expand_string.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_fds.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_fds.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_free_hostent.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_free_hostent.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_free_string.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_free_string.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_getenv.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getenv.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_gethostbyaddr.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_gethostbyaddr.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_gethostbyname.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_gethostbyname.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_getnameinfo.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getnameinfo.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_getopt.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getopt.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_getsock.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getsock.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_init.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_init.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_library_init.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_library_init.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_llist.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_llist.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_mkquery.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_mkquery.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_nowarn.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_nowarn.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_options.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_options.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_a_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_a_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_aaaa_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_aaaa_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_mx_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_mx_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_naptr_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_naptr_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_ns_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_ns_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_ptr_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_ptr_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_soa_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_soa_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_srv_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_srv_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_parse_txt_reply.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_txt_reply.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_platform.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_platform.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_process.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_process.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_query.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_query.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_search.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_search.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_send.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_send.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_strcasecmp.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strcasecmp.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_strdup.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strdup.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_strerror.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strerror.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_timeout.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_timeout.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_version.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_version.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/ares_writev.c -o build/temp.linux-x86_64-2.7/deps/c-ares/ares_writev.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/bitncmp.c -o build/temp.linux-x86_64-2.7/deps/c-ares/bitncmp.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/inet_net_pton.c -o build/temp.linux-x86_64-2.7/deps/c-ares/inet_net_pton.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/inet_ntop.c -o build/temp.linux-x86_64-2.7/deps/c-ares/inet_ntop.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c deps/c-ares/windows_port.c -o build/temp.linux-x86_64-2.7/deps/c-ares/windows_port.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/gevent/gevent.ares.o build/temp.linux-x86_64-2.7/deps/c-ares/ares__close_sockets.o build/temp.linux-x86_64-2.7/deps/c-ares/ares__get_hostent.o build/temp.linux-x86_64-2.7/deps/c-ares/ares__read_line.o build/temp.linux-x86_64-2.7/deps/c-ares/ares__timeval.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_cancel.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_create_query.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_data.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_destroy.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_expand_name.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_expand_string.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_fds.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_free_hostent.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_free_string.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getenv.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_gethostbyaddr.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_gethostbyname.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getnameinfo.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getopt.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_getsock.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_init.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_library_init.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_llist.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_mkquery.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_nowarn.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_options.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_a_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_aaaa_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_mx_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_naptr_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_ns_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_ptr_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_soa_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_srv_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_parse_txt_reply.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_platform.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_process.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_query.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_search.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_send.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strcasecmp.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strdup.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_strerror.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_timeout.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_version.o build/temp.linux-x86_64-2.7/deps/c-ares/ares_writev.o build/temp.linux-x86_64-2.7/deps/c-ares/bitncmp.o build/temp.linux-x86_64-2.7/deps/c-ares/inet_net_pton.o build/temp.linux-x86_64-2.7/deps/c-ares/inet_ntop.o build/temp.linux-x86_64-2.7/deps/c-ares/windows_port.o -lrt -o build/lib.linux-x86_64-2.7/gevent/ares.so
building 'gevent._semaphore' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/gevent/gevent._semaphore.c -o build/temp.linux-x86_64-2.7/src/gevent/gevent._semaphore.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/gevent/gevent._semaphore.o -o build/lib.linux-x86_64-2.7/gevent/_semaphore.so
  File "/usr/local/lib/python2.7/dist-packages/gevent/_socket3.py", line 195
    def makefile(self, mode="r", buffering=None, *,
                                                  ^
SyntaxError: invalid syntax

Successfully installed gevent Cleaning up...


pip freeze

Output: Flask==0.12.2 Flask-SocketIO==2.8.6 PAM==0.4.2 Pillow==2.3.0 Pygments==2.2.0 Twisted-Core==13.2.0 Twisted-Web==13.2.0 adium-theme-ubuntu==0.3.4 apt-xapian-index==0.45 argparse==1.2.1 chardet==2.0.1 colorama==0.2.5 command-not-found==0.3 compizconfig-python==0.9.11.3 debtagshw==0.1 defer==1.0.6 dirspec==13.10 duplicity==0.6.23 enum-compat==0.0.2 enum34==1.1.6 eventlet==0.21.0 f.lux-indicator-applet==1.1.8 fluendo-eula==0.6 gdbgui==0.7.7.0 gevent==1.2.2 greenlet==0.4.12 html5lib==0.999 httplib2==0.8 lockfile==0.8 lxml==3.3.3 oauthlib==0.6.1 oneconf==0.3.7.14.04.1 pexpect==3.1 piston-mini-client==0.7.5 pyOpenSSL==0.13 pycrypto==2.6.1 pycups==1.9.66 pycurl==7.19.3 pygdbmi==0.7.4.0 pygobject==3.12.0 pypugjs==4.2.2 pyserial==2.6 pysmbc==1.0.14.1 python-apt==0.9.3.5ubuntu2 python-debian==0.1.21-nmu2ubuntu2 python-distutils-extra==2.38 python-engineio==1.5.4 python-socketio==1.7.5 pyxdg==0.25 reportlab==3.0 requests==2.2.1 sessioninstaller==0.0.0 six==1.10.0 software-center-aptd-plugins==0.0.0 system-service==0.1.6 ubuntu-tweak==0.8.8 unity-lens-photos==1.0 urllib3==1.7.1 wheel==0.24.0 wsgiref==0.1.2 xdiagnose==3.6.3build2 zope.interface==4.0.5

Overlordff commented 7 years ago

After these manipulations the result is not changed.

cs01 commented 7 years ago

Thanks. Here are a few more things to try.

sudo apt-get install python-dev
sudo pip install gdbgui --upgrade

If that doesn't work, I would recommend using a virtual environment, and python 3.

sudo apt-get install python3-dev

then follow instructions in http://www.simononsoftware.com/virtualenv-tutorial/ or https://github.com/cs01/virtualenv_quickstart to create and activate a virtual environment, then run pip install gdbgui

Overlordff commented 7 years ago

Thanks, after creating and activating the virtual environment, gdbgui runs successfully.

cs01 commented 7 years ago

Glad it's working for you!