Bug#589196: gnome-shell: FTBFS: AttributeError: 'NoneType' object has no attribute 'endswith'

Cyril Brulebois kibi at debian.org
Thu Jul 15 17:43:42 UTC 2010


Source: gnome-shell
Version: 2.31.5-1
Severity: serious
Justification: FTBFS

Hi,

looks like the path == None case isn't taken into account?
| /usr/bin/g-ir-scanner						\
| 	        --namespace=St							\
| 	        --nsversion=1.0							\
| 	        --include=Clutter-1.0						\
| 	        --include=Gtk-2.0						\
| 		--add-include-path=.     				\
| 	        --libtool="/bin/bash ../libtool"						\
| 	        --library=libst-1.0.la						\
| 	        -DST_COMPILATION						\
| 	        ./st/st-adjustment.h ./st/st-bin.h ./st/st-border-image.h ./st/st-box-layout.h ./st/st-box-layout-child.h ./st/st-button.h ./st/st-clickable.h ./st/st-clipboard.h ./st/st-container.h ./st/st-drawing-area.h ./st/st-entry.h ./st/st-group.h ./st/st-im-text.h ./st/st-label.h ./st/st-overflow-box.h ./st/st-private.h ./st/st-scrollable.h ./st/st-scroll-bar.h ./st/st-scroll-view.h ./st/st-shadow.h ./st/st-subtexture.h ./st/st-table.h ./st/st-table-child.h ./st/st-texture-cache.h ./st/st-theme.h ./st/st-theme-context.h ./st/st-theme-node.h ./st/st-tooltip.h ./st/st-types.h ./st/st-widget.h				\
| 	        ./st/st-adjustment.c ./st/st-bin.c ./st/st-border-image.c ./st/st-box-layout.c ./st/st-box-layout-child.c ./st/st-button.c ./st/st-clickable.c ./st/st-clipboard.c ./st/st-container.c ./st/st-drawing-area.c ./st/st-entry.c ./st/st-group.c ./st/st-im-text.c ./st/st-label.c ./st/st-overflow-box.c ./st/st-private.c ./st/st-scrollable.c ./st/st-scroll-bar.c ./st/st-scroll-view.c ./st/st-shadow.c ./st/st-subtexture.c ./st/st-table.c ./st/st-table-child.c ./st/st-texture-cache.c ./st/st-theme.c ./st/st-theme-context.c ./st/st-theme-node.c ./st/st-theme-node-drawing.c ./st/st-theme-node-transition.c ./st/st-tooltip.c ./st/st-widget.c				\
| 	        ./st-enum-types.h					\
| 	        -I../src -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/lib"\" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"St\" -DST_COMPILATION -DPACKAGE_DATA_DIR=\"/usr/share/gnome-shell\" -pthread -I/usr/include/clutter-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libcroco-0.6 -I/usr/include/libxml2 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0   							\
| 	        -o St-1.0.gir
| Traceback (most recent call last):
|   File "/usr/bin/g-ir-scanner", line 38, in <module>
|     sys.exit(scanner_main(sys.argv))
|   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 266, in scanner_main
|     cachestore = CacheStore()
|   File "/usr/lib/gobject-introspection/giscanner/cachestore.py", line 76, in __init__
|     self._check_cache_version()
|   File "/usr/lib/gobject-introspection/giscanner/cachestore.py", line 80, in _check_cache_version
|     version = os.path.join(self._directory, _CACHE_VERSION_FILENAME)
|   File "/usr/lib/python2.6/posixpath.py", line 67, in join
|     elif path == '' or path.endswith('/'):
| AttributeError: 'NoneType' object has no attribute 'endswith'
| make[4]: *** [St-1.0.gir] Error 1

Full build logs:
  https://buildd.debian.org/status/package.php?p=gnome-shell&suite=experimental

Mraw,
KiBi.






More information about the pkg-gnome-maintainers mailing list