Geda* Will Not Compile On Fedora 32

Bug #1878401 reported by Morvan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Undecided
Unassigned

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?

Revision history for this message
Roland Lutz (rlutz) wrote :

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

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

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]: *** [M...

Read more...

Revision history for this message
Morvan (morvan000) wrote :
Download full text (4.5 KiB)

Hi. I send now file generated by configure and followed by make.

Ps.: if you have sme time, please read this page, about Fedora (and it
seems, Ubuntu, too) *orphaned gEDA*
<https://www.reddit.com/r/Fedora/comments/f0zthz/fedora_has_orphaned_geda/>.

*:-),*
<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 12:22, morvan bliasby <email address hidden>
escreveu:

> 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,
>> | ~~~~~~~~~~~~~
>> ...

Read more...

Revision history for this message
Roland Lutz (rlutz) wrote :

> https://www.reddit.com/r/Fedora/comments/f0zthz/fedora_has_orphaned_geda/

> “There also hasn't been a stable upstream release in over 6 years.”

The last stable version (gEDA/gaf 1.10.0) was released in October, four months before the discussion. How could that have been missed?

Revision history for this message
Morvan (morvan000) wrote :
Download full text (3.5 KiB)

Yes, I have tested against 1.10.0 (be stable or git version). I really do
not understand how could they do not maintain gEDA. Strange.

*:-),*
<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 14:40, Roland Lutz <
<email address hidden>> escreveu:

> >
> https://www.reddit.com/r/Fedora/comments/f0zthz/fedora_has_orphaned_geda/
>
> > “There also hasn't been a stable upstream release in over 6 years.”
>
> The last stable version (gEDA/gaf 1.10.0) was released in October, four
> months before the discussion. How could that have been missed?
>
> --
> 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
...

Read more...

Revision history for this message
Morvan (morvan000) wrote :

Someone has a .spec example to me, to test it against Fedora?

Revision history for this message
dmn (graahnul.grom) wrote :

Hi Morvan,
you may take a look at this github repository:
https://github.com/graahnul-grom/fedora-lepton-eda.
Although it allows one to build Fedora RPM package
of Lepton EDA (which is a fork of the gEDA/gaf suite),
probably, you could adapt the SPEC file for gEDA
without much effort.

Regards,
Dmitry.

Revision history for this message
Morvan (morvan000) wrote :
Download full text (3.4 KiB)

Thanks!

*:-),*
<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 sex., 12 de jun. de 2020 às 14:45, dmn <email address hidden>
escreveu:

> Hi Morvan,
> you may take a look at this github repository:
> https://github.com/graahnul-grom/fedora-lepton-eda.
> Although it allows one to build Fedora RPM package
> of Lepton EDA (which is a fork of the gEDA/gaf suite),
> probably, you could adapt the SPEC file for gEDA
> without much effort.
>
> Regards,
> Dmitry.
>
> --
> 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 und...

Read more...

Revision history for this message
Morvan (morvan000) wrote :
Download full text (3.4 KiB)

Hi, Dmitry. Thanks. I will try it.

*:-),*
<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 sex., 12 de jun. de 2020 às 14:45, dmn <email address hidden>
escreveu:

> Hi Morvan,
> you may take a look at this github repository:
> https://github.com/graahnul-grom/fedora-lepton-eda.
> Although it allows one to build Fedora RPM package
> of Lepton EDA (which is a fork of the gEDA/gaf suite),
> probably, you could adapt the SPEC file for gEDA
> without much effort.
>
> Regards,
> Dmitry.
>
> --
> 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
>
> ------------------------------------------------------------------------------...

Read more...

Revision history for this message
Morvan (morvan000) wrote :

Good afternoon. Some news about Fedora 33 (to be publicly available circa October, later) and gEDA?

Revision history for this message
Morvan (morvan000) wrote :

I updated Fedora and could count, again, on Lepton packages (Thanks, dmn).

Revision history for this message
Roland Lutz (rlutz) wrote :

This issue has been fixed in commit e7cfde62980bd63c982d9a80e450588734a84c6c.

Changed in geda:
status: New → Fix Committed
Revision history for this message
Morvan (morvan000) wrote :
Download full text (3.3 KiB)

Hi. Good to know.

*:-),*
<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 sex., 11 de dez. de 2020 às 13:31, Roland Lutz <
<email address hidden>> escreveu:

> This issue has been fixed in commit
> e7cfde62980bd63c982d9a80e450588734a84c6c.
>
>
> ** Changed in: geda
> Status: New => Fix Committed
>
> --
> 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:
> Fix Committed
>
> 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 Mak...

Read more...

Revision history for this message
Roland Lutz (rlutz) wrote :

fixed in gEDA/gaf 1.10.1

Changed in geda:
milestone: none → 1.10.1
status: Fix Committed → Fix Released
Revision history for this message
Morvan (morvan000) wrote :
Download full text (3.3 KiB)

Thanks a lot!

*:-),*
<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., 16 de dez. de 2020 às 17:21, Roland Lutz <
<email address hidden>> escreveu:

> fixed in gEDA/gaf 1.10.1
>
> ** Changed in: geda
> Milestone: None => 1.10.1
>
> ** Changed in: geda
> Status: Fix Committed => Fix Released
>
> --
> 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:
> Fix Released
>
> 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 M...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.