Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780633 - gnome-extra/gnome-calendar-3.38.2 build failed (gmacros.h:1032:49: error: redefinition of ‘glib_autoptr_clear_GWeatherLocation’)
Summary: gnome-extra/gnome-calendar-3.38.2 build failed (gmacros.h:1032:49: error: red...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-06 16:33 UTC by HougeLangley
Modified: 2021-04-17 22:26 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
buildlog (gnome-calendar-build.log,85.26 KB, text/plain)
2021-04-06 16:33 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2021-04-06 16:33:18 UTC
Created attachment 698007 [details]
buildlog

FAILED: src/libgcal-private.a.p/core_gcal-clock.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/libgcal-private.a.p -Isrc -I../gnome-calendar-3.38.2/src -I. -I../gnome-calendar-3.38.2 -I../gnome-calendar-3.38.2/src/core -I../gnome-calendar-3.38.2/src/gui -I../gnome-calendar-3.38.2/src/gui/calendar-management -I../gnome-calendar-3.38.2/src/search -I../gnome-calendar-3.38.2/src/utils -I../gnome-calendar-3.38.2/src/views -I../gnome-calendar-3.38.2/src/weather -I/usr/include/gsettings-desktop-schemas -I/usr/include/evolution-data-server -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libdazzle-1.0 -I/usr/include/libhandy-0.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/libgweather-3.0 -I/usr/include/geocode-glib-1.0 -I/usr/include/libgeoclue-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DPACKAGE_DATA_DIR="/usr/share/gnome-calendar"' '-DUI_DATA_DIR="/usr/share"' -DEDS_DISABLE_DEPRECATED -DGOA_API_IS_SUBJECT_TO_CHANGE -DGWEATHER_I_KNOW_THIS_IS_UNSTABLE -march=skylake -O3 -fPIC -pthread -MD -MQ src/libgcal-private.a.p/core_gcal-clock.c.o -MF src/libgcal-private.a.p/core_gcal-clock.c.o.d -o src/libgcal-private.a.p/core_gcal-clock.c.o -c ../gnome-calendar-3.38.2/src/core/gcal-clock.c
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from ../gnome-calendar-3.38.2/src/core/gcal-clock.h:22,
                 from ../gnome-calendar-3.38.2/src/core/gcal-clock.c:21:
/usr/include/glib-2.0/glib/gmacros.h:1032:49: error: redefinition of ‘glib_autoptr_clear_GWeatherLocation’
 1032 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1048:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
 1048 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr)                     \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1065:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1065 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gnome-calendar-3.38.2/src/utils/gcal-utils.h:41:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   41 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GWeatherLocation, gweather_location_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1032:49: note: previous definition of ‘glib_autoptr_clear_GWeatherLocation’ was here
 1032 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
      |                                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1048:36: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
 1048 |   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr)                     \
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1065:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
 1065 |   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libgweather-3.0/libgweather/gweather-location.h:56:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
   56 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (GWeatherLocation, gweather_location_unref);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1031:43: error: redefinition of ‘glib_autoptr_cleanup_GWeatherLocation’
 1031 | #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
Comment 1 Kobboi 2021-04-06 20:35:50 UTC
Can you please cleanup the summary? Mention the exact package version and one-liner of the error (in this case: "/usr/include/glib-2.0/glib/gmacros.h:1032:49: error: redefinition of ‘glib_autoptr_clear_GWeatherLocation’" for example)

It makes it easier to find back specific issues.
Comment 2 Kobboi 2021-04-06 20:37:33 UTC
Compiles fine after downgrading libgweather back to 3.36.2.
Comment 3 Matt Turner gentoo-dev 2021-04-16 04:09:43 UTC
So is it an incompatibility between gnome-calendar-3.38 and libgweather-40?
Comment 4 Kobboi 2021-04-16 10:11:52 UTC
(In reply to Matt Turner from comment #3)
> So is it an incompatibility between gnome-calendar-3.38 and libgweather-40?

Yes, not sure why libgweather-40 is not also in package.mask
Comment 5 Matt Turner gentoo-dev 2021-04-16 13:18:41 UTC
(In reply to Kobboi from comment #4)
> (In reply to Matt Turner from comment #3)
> > So is it an incompatibility between gnome-calendar-3.38 and libgweather-40?
> 
> Yes, not sure why libgweather-40 is not also in package.mask

Because there was no indication of widespread incompatibility.
Comment 6 Larry the Git Cow gentoo-dev 2021-04-17 22:26:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=021e4d86ab8c246f6893ec655d317b8cf472820b

commit 021e4d86ab8c246f6893ec655d317b8cf472820b
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-17 22:25:51 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-17 22:25:58 +0000

    profiles: Mask >=dev-libs/libgweather-40
    
    Closes: https://bugs.gentoo.org/780633
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 2 ++
 1 file changed, 2 insertions(+)