Comment 2 for bug 1878401

Revision history for this message
Morvan (morvan000) wrote : Re: [Bug 1878401] Re: Geda* Will Not Compile On Fedora 32

Thanks for kind and fast response. I will compile afternoon, cause just now
I am on homework and will need exit to lunch.
gEDA is very important to me, as freedom and as tool.

*:-),*
<https://morvanzinho.com> <https://web.whatsapp.com/>
<https://web.whatsapp.com/>

*Morvan, Usuário GNU-Linux #433640. Seja Legal; seja Livre. Use GNU-Linux.*

Em qua., 13 de mai. de 2020 às 10:10, Roland Lutz <
<email address hidden>> escreveu:

> Hi,
>
> thank you for reporting this. Indeed, I did not know; is there anything
> I can do to help you get gEDA/gaf back into Fedora?
>
> The errors appear to be correct. There is a case (view != NULL,
> view->page == NULL) where screen_* are indeed uninitialized. I don't
> know why this compiles on Debian and Fedore 31, but not on Fedora 32; I
> guess the checks have become stricter in more recent compiler versions.
>
> You can circumvent the problem by removing
> `$Werror_maybe_uninitialized_IF_SUPPORTED' from configure.ac. However,
> ideally, the underlying problems should be fixed. In order to do that,
> could you please send me the full compiler output?
>
> Roland
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878401
>
> Title:
> Geda* Will Not Compile On Fedora 32
>
> Status in gEDA:
> New
>
> Bug description:
> Hi. If nobody knows, Fedora has orphanated Geda*, because some problems
> with maintainer. Hence, we have to compile majority of these tools, if one
> needs gEDA working again. It is possible to install, via dnf, only
> pcb[-rnd] and gerb*. Under Fedora 31, compiling succeeds; via ´32, it bails.
> ./configure does the trick, but when make[ing], occurs a bunch of
> warnings and these, finally, are treated as errors.
> An excerpt:
>
> -----------------------------------------------------------------------------
> gschem_page_view.c: In function ‘gschem_page_view_invalidate_world_rect’:
> gschem_page_view.c:596:3: error: ‘screen_right’ may be used
> uninitialized in this function [-Werror=maybe-uninitialized]
> 596 | gschem_page_view_invalidate_screen_rect (view,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 597 | screen_left,
> | ~~~~~~~~~~~~
> 598 | screen_top,
> | ~~~~~~~~~~~
> 599 | screen_right,
> | ~~~~~~~~~~~~~
> 600 | screen_bottom);
> | ~~~~~~~~~~~~~~
> gschem_page_view.c:596:3: error: ‘screen_bottom’ may be used
> uninitialized in this function [-Werror=maybe-uninitialized]
> gschem_page_view.c:596:3: error: ‘screen_top’ may be used uninitialized
> in this function [-Werror=maybe-uninitialized]
> gschem_page_view.c:596:3: error: ‘screen_left’ may be used uninitialized
> in this function [-Werror=maybe-uninitialized]
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:1561: gschem-gschem_page_view.o] Erro 1
> make[4]: Saindo do diretório '/home/morvan/compila/geda-gaf/gschem/src'
>
> make[3]: *** [Makefile:736: all] Erro 2
> make[3]: Saindo do diretório '/home/morvan/compila/geda-gaf/gschem/src'
>
> make[2]: *** [Makefile:473: all-recursive] Erro 1
> make[2]: Saindo do diretório '/home/morvan/compila/geda-gaf/gschem'
>
> make[1]: *** [Makefile:548: all-recursive] Erro 1
>
> ---------------------------------------------------------------------------------
> Aborts! I tried under gcc and clang. No help.
>
> ---------------------------------------------------------------------------------
> gcc version 10.1.1
> GNU Make 4.3
> Any clue?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/geda/+bug/1878401/+subscriptions
>