Created attachment 333552 [details] build log app-office/gnumeric-1.12.0 fails to build : /usr/bin/g-ir-scanner -v --warn-all --accept-unprefixed --identifier-prefix="Gnm" --identifier-prefix="Gnumeric" -I.. -DGOFFICE_NAMESPACE_DISABLE --namespace=Gnm --nsversion=1.12 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=Gio-2.0 --include=libxml2-2.0 --include=Gsf-1 --include=GOffice-0.10 --library=libspreadsheet.la -I.. -I. -I./widgets -I./dialogs -I./tools -pthread -I/usr/include/libgoffice-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm go-val.h go-val.c goffice-data.h go-data-cache-source.c go-data-cache-source.h go-data-cache-impl.h go-data-cache.h go-data-cache.c go-data-cache-field-impl.h go-data-cache-field.h go-data-cache-field.c go-data-slicer-impl.h go-data-slicer.h go-data-slicer.c go-data-slicer-field-impl.h go-data-slicer-field.h go-data-slicer-field.c gnm-data-cache-source.h gnm-data-cache-source.c gnm-sheet-slicer.h gnm-sheet-slicer.c gnm-sheet-slicer-combo.h gnm-sheet-slicer-combo.c gnm-cell-combo.h gnm-cell-combo.c gnm-marshalers.c application.c auto-format.c cell.c cell-draw.c cellspan.c clipboard.c cmd-edit.c collect.c colrow.c command-context.c command-context-stderr.c commands.c complete.c complete-sheet.c complex.c consolidate.c dependent.c expr.c expr-name.c file-autoft.c format-template.c func.c func-builtin.c gnm-commands-slicer.c gnm-datetime.c gnm-format.c gnm-graph-window.c gnm-pane.c gnm-pane-impl.h gnm-random.c gnumeric-simple-canvas.c graph.c gutils.c gui-clipboard.c gui-file.c gui-util.c hlink.c history.c input-msg.c item-bar.c item-cursor.c item-edit.c item-grid.c libgnumeric.c mathfunc.c mstyle.c number-match.c parser.y parse-util.c pattern.c position.c preview-grid.c preview-grid-impl.h print-info.c rangefunc.c rangefunc-strings.c ranges.c rendered-value.c search.c selection.c session.c sheet.c sheet-view.c sheet-control.c sheet-control-gui.c sheet-merge.c sheet-autofill.c sheet-filter.c sheet-utils.c sheet-object.c sheet-object-cell-comment.c gnm-so-filled.c gnm-so-line.c gnm-so-path.c gnm-so-polygon.c sheet-object-component.c sheet-object-graph.c sheet-object-image.c sheet-object-widget.c sheet-style.c gnm-plugin.c sort.c stf.c stf-export.c stf-parse.c style.c style-border.c style-color.c style-conditions.c symbol.c undo.c validation.c value.c value-sheet.c workbook.c workbook-cmd-format.c workbook-view.c workbook-control.c wbc-gtk.c wbc-gtk-actions.c wbc-gtk-edit.c xml-sax-read.c xml-sax-write.c gnumeric-conf.c print.c print-cell.c application.h auto-format.h cell.h cell-draw.h cellspan.h clipboard.h cmd-edit.h collect.h colrow.h command-context.h command-context-stderr.h commands.h complete.h complete-sheet.h complex.h consolidate.h dependent.h expr.h expr-impl.h expr-name.h file-autoft.h format-template.h func.h func-builtin.h gnm-command-impl.h gnm-commands-slicer.h gnm-datetime.h gnm-format.h gnm-graph-window.h gnm-pane.h gnm-random.h gnm-style-impl.h gnumeric.h gnumeric-simple-canvas.h graph.h gutils.h gui-clipboard.h gui-file.h gui-util.h gui-gnumeric.h hlink.h hlink-impl.h history.h input-msg.h item-bar.h item-cursor.h item-edit.h item-grid.h libgnumeric.h mathfunc.h mstyle.h number-match.h numbers.h parse-util.h pattern.h position.h preview-grid.h print-info.h rangefunc.h rangefunc-strings.h ranges.h regression.h rendered-value.h search.h selection.h session.h sheet.h sheet-view.h sheet-control.h sheet-control-priv.h sheet-control-gui.h sheet-control-gui-priv.h sheet-merge.h sheet-private.h sheet-autofill.h sheet-filter.h sheet-utils.h sheet-filter-combo.h sheet-object.h sheet-object-impl.h sheet-object-cell-comment.h sheet-object-widget-impl.h gnm-so-filled.h gnm-so-line.h gnm-so-path.h gnm-so-polygon.h sheet-object-component.h sheet-object-graph.h sheet-object-image.h sheet-object-widget.h sheet-style.h gnm-plugin.h sort.h stf.h stf-export.h stf-parse.h style.h style-border.h style-color.h style-conditions.h style-font.h symbol.h undo.h validation.h validation-combo.h value.h workbook.h workbook-priv.h workbook-cmd-format.h workbook-view.h workbook-control.h workbook-control-priv.h wbc-gtk.h wbc-gtk-impl.h xml-io-version.h xml-sax.h gnumeric-conf.h print.h print-cell.h tools/dao.c tools/dao.h tools/scenarios.c tools/scenarios.h tools/tools.h widgets/gnumeric-expr-entry.c widgets/gnumeric-expr-entry.h /usr/bin/g-ir-scanner libspreadsheet.la Makefile --output Gnm-1.12.gir libtool: link: x86_64-pc-linux-gnu-gcc -mtune=native -O2 -msse3 -pipe -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -Werror=format-security -Wl,-O1 -Wl,--as-needed -o .libs/sstest sstest.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic ./.libs/libspreadsheet.so -lgoffice-0.10 -lgsf-1 -lxml2 -lgmodule-2.0 -lgthread-2.0 -lrt -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lm -pthread In file included from <stdin>:52:0: /var/tmp/portage/app-office/gnumeric-1.12.0/work/gnumeric-1.12.0/src/gnm-style-impl.h:40:2: warning: #warning TODO use GOFont [-Wcpp] cell.c:249: Warning: Gnm: ignoring unrecognized GTK-Doc comment block, identifier not found: * gnm_cell_set_expr: Stores and references the supplied expression ^ Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 46, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 416, in scanner_main blocks = ap.parse(ss.get_comments()) File "/usr/lib64/gobject-introspection/giscanner/annotationparser.py", line 541, in parse comment_block = self.parse_comment_block(comment) File "/usr/lib64/gobject-introspection/giscanner/annotationparser.py", line 578, in parse_comment_block return self._parse_comment_block(comment_lines, filename, lineno) File "/usr/lib64/gobject-introspection/giscanner/annotationparser.py", line 858, in _parse_comment_block if comment_block.comment: AttributeError: 'NoneType' object has no attribute 'comment'
I confirm.
Same problem for me.
Perhaps this bug? https://mail.gnome.org/archives/gnumeric-list/2012-December/msg00014.html I have build failure identical to Helmut with introspection flag set; the build completes OK if I set USE="-introspection" My emerge --info: Portage 2.3.5-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r3, 3.7.1-gentoo x86_64) ================================================================= System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.2.0 Timestamp of tree: Fri, 28 Dec 2012 06:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12-r1000 dev-lang/python: 2.7.3-r1000, 3.2.3-r1000 dev-util/cmake: 2.8.10.2 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2.0-r3 sys-apps/openrc: 0.10.2-r7 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.4.5, 4.6.3 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo g-ctan local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula skype-4.0.0.7-copyright AdobeFlash-10.3 Intel-SDP beta google-chrome" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-mtune=generic -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j17" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/g-ctan /usr/local/portage" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X acl alsa amd64 berkdb bzip2 cdr cleartype colord corefonts cracklib crypt cxx dbus dri dvd dvdr dvdread evo flac fortran gdbm gif gnome gnome-keyring gpm graphite gstreamer gtk iconv icu imap infinality introspection ipv6 java jpeg lame latex libnotify mad maildir mmx modules mp3 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pcre png policykit povray pppd pulseaudio python readline resolvconf sse sse2 ssl tcpd tiff tk truetype type3 udev udisks unicode vorbis wavpack xml xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Created attachment 333642 [details, diff] patch for gobject-introspection This patch allow gobject-introspection don't fail on wrong comments.
Also please send my patch to upstream. It may be useful.
Created attachment 333644 [details, diff] patch for gnumeric sources Fix wrong comments in gnumeric source.
Thanks for the report. Fixed in gnumeric-1.12.0-r1; patch submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=684159 +*gnumeric-1.12.0-r1 (29 Dec 2012) + + 29 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + +gnumeric-1.12.0-r1.ebuild: + Fix build failure with gobject-introspection-1.34 (bug #448992).
*** Bug 449088 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > Also please send my patch to upstream. It may be useful. I've submitted a somewhat different patch (still die if annotation parsing raises an exception, but at least print the filename and line number of the file being parsed) at https://bugzilla.gnome.org/show_bug.cgi?id=690850
*** Bug 449162 has been marked as a duplicate of this bug. ***