shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

[groovy] indicator-sound - unknown child element `docsection' in `namespace' #245

Closed c4pp4 closed 3 years ago

c4pp4 commented 3 years ago

1) upgrade to groovy version dev-libs/gobject-introspection and dev-libs/gobject-introspection-common 2) re-emerge sys-apps/accountsservice 3) re-emerge unity-indicators/indicator-sound

[  1%] Generating accounts-service.vapi
cd /var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/work/indicator-sound-12.10.2_p20180612_p0_p03_build/src && /usr/bin/vapigen-0.44 --pkg gio-2.0 --library=accounts-service /usr/share/gir-1.0/AccountsService-1.0.gir
AccountsService-1.0.gir:2606.5-2606.21: error: unknown child element `docsection' in `namespace'
    <docsection name="act-user">
    ^^^^^^^^^^^^^^^^^
AccountsService-1.0.gir:2611.5-2611.37: error: unknown child element `docsection' in `namespace'
    <docsection name="act-user-manager">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Generation failed: 2 error(s), 0 warning(s)
make[2]: *** [src/CMakeFiles/accounts-service.dir/build.make:81: src/accounts-service.vapi] Error 1
make[2]: Leaving directory '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/work/indicator-sound-12.10.2_p20180612_p0_p03_build'
make[1]: *** [CMakeFiles/Makefile2:213: src/CMakeFiles/accounts-service.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/work/indicator-sound-12.10.2_p20180612_p0_p03_build'
make: *** [Makefile:150: all] Error 2
 * ERROR: unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03::unity-gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03::unity-gentoo'`,
 * the complete build log and the output of `emerge -pqv '=unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03::unity-gentoo'`.
 * The complete build log is located at '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/temp/environment'.
 * Working directory: '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/work/indicator-sound-12.10.2_p20180612_p0_p03_build'
 * S: '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/work'

>>> Failed to emerge unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03, Log file:

>>>  '/var/tmp/portage/unity-indicators/indicator-sound-12.10.2_p20180612_p0_p03/temp/build.log'

sys-apps/accountsservice is generating /usr/share/gir-1.0/AccountsService-1.0.gir with docsection namespace when using groovy gobject-introspection:

    <docsection name="act-user">
      <doc xml:space="preserve"
           filename="../src/libaccountsservice/act-user.c"
           line="38">An ActUser object represents a user account on the system.</doc>
    </docsection>
    <docsection name="act-user-manager">
      <doc xml:space="preserve"
           filename="../src/libaccountsservice/act-user-manager.c"
           line="58">ActUserManager is a manager object that gives access to user
creation, deletion, enumeration, etc.

There is typically a singleton ActUserManager object, which
can be obtained by act_user_manager_get_default().</doc>
    </docsection>

Workaround: 1) downgrade to focal version dev-libs/gobject-introspection and dev-libs/gobject-introspection-common 2) re-emerge sys-apps/accountsservice 3) re-emerge unity-indicators/indicator-sound