Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1838662 - MagicPoint-1.13a-25.fc33 FTBFS: /usr/bin/ld: grammar.o:/builddir/build/BUILD/magicpoint-1.13a/./grammar.y:76: multiple definition of `yylineno'
Summary: MagicPoint-1.13a-25.fc33 FTBFS: /usr/bin/ld: grammar.o:/builddir/build/BUILD/...
Alias: None
Product: Fedora
Classification: Fedora
Component: MagicPoint
Version: 32
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2020-05-21 14:20 UTC by Petr Pisar
Modified: 2020-07-24 13:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-07-24 13:11:40 UTC
Type: Bug

Attachments (Terms of Use)

Description Petr Pisar 2020-05-21 14:20:41 UTC
MagicPoint-1.13a-25.fc33 fails to build in Fedora 33:

gcc -o mgp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE      -L/usr/lib64   mgp.o draw.o parse.o plist.o globals.o x11.o font.o background.o 	scanner.o grammar.o postscript.o tfont.o embed.o unimap.o mng.o m17n.o strlcpy.o strlcat.o     -L./image -lmgpimage -lm  -lpng16 -lz  -L/usr/lib64 -lXft  -lgif  -lXext -lX11 
/usr/bin/ld: grammar.o:/builddir/build/BUILD/magicpoint-1.13a/./grammar.y:76: multiple definition of `yylineno'; scanner.o:(.data+0x0): first defined here

A difference between failing and passing build root is at <>.

This bug is very probably triggered by upgrading gcc to version 10.
The same happens in Fedora 32.

Comment 1 Fedora Release Engineering 2020-05-31 04:22:12 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 32.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2020-07-16).

A week before the mass branching of Fedora 33 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 31 will be
retired regardless of the status of this bug.


Comment 2 Hans de Goede 2020-05-31 13:02:58 UTC
I have looking into this on my TODO list, changing status to assigned.

Comment 3 Hans de Goede 2020-07-24 13:11:40 UTC
Jeff Law fixed this and I just build MagicPoint-1.13a-26.fc33, closing.

Note You need to log in before you can comment on or make changes to this bug.