After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770673 - FTBFS due 'timespan' may be used uninitialized
FTBFS due 'timespan' may be used uninitialized
Status: RESOLVED DUPLICATE of bug 770667
Product: gnome-calendar
Classification: Applications
Component: General
3.21.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-31 19:57 UTC by Dan Horák
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Horák 2016-08-31 19:57:20 UTC
When building gnome-calendar-3.21.91-1.fc26 on Fedora Rawhide on s390x arch I';m getting a warning that's threated as error dur compiler flags and build breaks.


from build.log at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2333211
...
  CC       gcal-multi-choice.o
  CC       gcal-quick-add-popover.o
  CC       gcal-search-view.o
  CC       gcal-shell-search-provider.o
gcal-month-view.c: In function 'gcal_month_view_drag_drop':
gcal-month-view.c:908:32: error: 'timespan' may be used uninitialized in this function [-Werror=maybe-uninitialized]
           GDateTime *new_end = g_date_time_add (new_start, timespan);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       gcal-source-dialog.o
  CC       gcal-subscriber-view.o
  CC       gcal-time-selector.o
cc1: all warnings being treated as errors
Makefile:569: recipe for target 'gcal-month-view.o' failed
make[3]: *** [gcal-month-view.o] Error 1
...

But it looks to me rather as a compiler deficiency (gcc-6.1.1-6.fc26.s390x).
Comment 1 Ernestas Kulik 2016-08-31 19:58:56 UTC

*** This bug has been marked as a duplicate of bug 770667 ***