Control: clone -1 -2
Control: retitle -2 gobject-introspection randomly hangs liferea build
Control: reassign -2 gobject-introspection
Control: block -1 by -2
Control: found -2 1.50.0-1

@gobject-introspection maintainers:
Currently liferea sometimes FTBFS due to build timeout. I was able to
reproduce this once in my pbuilder environment after the build
succeeded. The manual g-ir-scanner call showed all the symptoms of a
hang. When I aborted the call, I got the attached back-trace.

I guess that line 177 of
/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/gdumpparser.py
could specify a decent timeout and handle the timeout case properly (at
least with a decent error message). Ideally, it shouldn't timeout at all
obviously, I haven't debugged why the call sometimes doesn't finish yet.

Paul
(pbuild8809) testavoira liferea-1.12~rc1 # cd src/
(pbuild8809) testavoira src # CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" 
CFLAGS="-g -O2 -fdebug-prefix-map=/build/liferea-1.12~rc1=. 
-fstack-protector-strong -Wformat -Werror=format-security" 
LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" CC="gcc" 
PKG_CONFIG="/usr/bin/pkg-config" DLLTOOL="false"  /usr/bin/g-ir-scanner  
-I../src --warn-all --accept-unprefixed --identifier-prefix=Liferea --verbose 
--namespace=Liferea --nsversion=3.0 --libtool="/bin/bash ../libtool"  
--include=Gtk-3.0 --include=libxml2-2.0  --program=./liferea   --cflags-begin  
--cflags-end  auth.c auth.h auth_activatable.c auth_activatable.h enclosure.h 
feedlist.c feedlist.h item.h itemlist.c itemlist.h itemset.c itemset.h node.h 
node.c node_view.h social.c social.h subscription_type.h ui/browser_tabs.c 
ui/browser_tabs.h ui/icons.c ui/icons.h ui/itemview.c ui/itemview.h 
ui/item_list_view.c ui/item_list_view.h ui/liferea_htmlview.c 
ui/liferea_htmlview.h ui/liferea_shell.c ui/liferea_shell.h 
ui/liferea_shell_activatable.c ui/liferea_shell_activatable.h ui/media_player.c 
ui/media_player.h ui/media_player_activatable.c ui/media_player_activatable.h 
fl_sources/node_source.c fl_sources/node_source.h 
fl_sources/node_source_activatable.c fl_sources/node_source_activatable.h 
liferea --output Liferea-3.0.gir
^CTraceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 66, in <module>
    sys.exit(scanner_main(sys.argv))
  File 
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/scannermain.py", 
line 544, in scanner_main
    shlibs = create_binary(transformer, options, args)
  File 
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/scannermain.py", 
line 423, in create_binary
    gdump_parser.parse()
  File 
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/gdumpparser.py", 
line 115, in parse
    tree = self._execute_binary_get_tree()
  File 
"/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/gdumpparser.py", 
line 177, in _execute_binary_get_tree
    subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr)
  File "/usr/lib/python3.5/subprocess.py", line 266, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python3.5/subprocess.py", line 249, in call
    return p.wait(timeout=timeout)
  File "/usr/lib/python3.5/subprocess.py", line 1389, in wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.5/subprocess.py", line 1339, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to