Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/gobject-introspection-1.78.1-r2: g-ir-scanner error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tropicalm
n00b
n00b


Joined: 29 Oct 2024
Posts: 1

PostPosted: Tue Oct 29, 2024 9:47 am    Post subject: dev-libs/gobject-introspection-1.78.1-r2: g-ir-scanner error Reply with quote

Hi,

I'm stuck trying to fix a weird issue with updating gobject-introspection. Any hints and advices are more than welcome.

Code:

/usr/include/sys/stat.h:127: syntax error, unexpected identifier in '#define S_ISBLK(mode) __S_ISTYPE((mode), __S_IFBLK)' at '__S_ISTYPE'
/usr/include/sys/stat.h:128: syntax error, unexpected identifier in '#define S_ISREG(mode) __S_ISTYPE((mode), __S_IFREG)' at '__S_ISTYPE'
/usr/include/sys/stat.h:130: syntax error, unexpected identifier in '#define S_ISFIFO(mode) __S_ISTYPE((mode), __S_IFIFO)' at '__S_ISTYPE'
/usr/include/sys/stat.h:133: syntax error, unexpected identifier in '#define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK)' at '__S_ISTYPE'
/usr/include/sys/stat.h:142: syntax error, unexpected identifier in '# 142 "/usr/include/sys/stat.h" 3 4' at '__S_ISTYPE'
/usr/include/sys/stat.h:152: syntax error, unexpected identifier in '#define S_TYPEISMQ(buf) __S_TYPEISMQ(buf)' at '__S_TYPEISMQ'
/usr/include/sys/stat.h:153: syntax error, unexpected identifier in '#define S_TYPEISSEM(buf) __S_TYPEISSEM(buf)' at '__S_TYPEISSEM'
/usr/include/sys/stat.h:154: syntax error, unexpected identifier in '#define S_TYPEISSHM(buf) __S_TYPEISSHM(buf)' at '__S_TYPEISSHM'
/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/g-ir-cpp-a4f6z1ch.c:88: syntax error, unexpected end of file in '# 35 "/usr/include/glib-2.0/glib/gwin32.h" 2' at ''
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/tools/g-ir-scanner", line 104, in <module>
    sys.exit(scanner_main(sys.argv))
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/scannermain.py", line 616, in scanner_main
    main.transform()
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/maintransformer.py", line 97, in transform
    self._namespace.walk(self._pass_type_resolution)
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/ast.py", line 512, in walk
    node.walk(callback, [])
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/ast.py", line 654, in walk
    res = callback(self, chain)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/maintransformer.py", line 1089, in _pass_type_resolution
    self._transformer.resolve_type(parameter.type)
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/transformer.py", line 1010, in resolve_type
    if not self._resolve_type_internal(typeval):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1-r2/work/gobject-introspection-1.78.1-build/giscanner/transformer.py", line 1002, in _resolve_type_internal
    elif typeval.resolved:
         ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'resolved'
[107/161] aarch64-unknown-linux-gnu-gcc -Itests/libgimarshallingtests-1.0.so.1.0.0.p -Itests -I../gobject-introspection-1.78.1/tests -I. -I../gobject-introspection-1.78.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Warray-bounds -Wcast-align -Wduplicated-branches -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wrestrict -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -O2 -pipe -fPIC -fvisibility=hidden -Wno-unused-parameter -MD -MQ tests/libgimarshallingtests-1.0.so.1.0.0.p/gimarshallingtests.c.o -MF tests/libgimarshallingtests-1.0.so.1.0.0.p/gimarshallingtests.c.o.d -o tests/libgimarshallingtests-1.0.so.1.0.0.p/gimarshallingtests.c.o -c ../gobject-introspection-1.78.1/tests/gimarshallingtests.c
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/gobject-introspection-1.78.1-r2::gentoo failed (compile phase):
 *   ninja -v -j8 -l0 failed


build.log
emerge_info.txt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum