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 bugzilla.redhat.com.
Bug 1794478 - texlive-base-20190410-9.fc32 FTBS: /usr/bin/ld: autosp-src/utils.o: /builddir/build/BUILD/texlive-base-20190410/source/work/utils/autosp/../../../utils/autosp/autosp-src/utils.h:64: multiple definition of `lineno'
Summary: texlive-base-20190410-9.fc32 FTBS: /usr/bin/ld: autosp-src/utils.o: /builddir...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive-base
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F32FTBFS GCC10
TreeView+ depends on / blocked
 
Reported: 2020-01-23 16:58 UTC by Petr Pisar
Modified: 2020-01-23 21:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 21:43:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-01-23 16:58:38 UTC
texlive-base-20190410-9.fc32 fails to build with GCC 10 in Fedora 32:

gcc -Wall -Wunused -Wimplicit -Wreturn-type -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -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 -fno-strict-aliasing -Werror=format-security  -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tex2aspc autosp-src/tex2aspc.o autosp-src/utils.o  
/usr/bin/ld: autosp-src/utils.o: in function `$d':
/builddir/build/BUILD/texlive-base-20190410/source/work/utils/autosp/../../../utils/autosp/autosp-src/utils.h:64: multiple definition of `lineno'; autosp-src/tex2aspc.o:/builddir/build/BUILD/texlive-base-20190410/source/work/utils/autosp/../../../utils/autosp/autosp-src/utils.h:64: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:649: tex2aspc] Error 1

Comment 1 Tom "spot" Callaway 2020-01-23 17:24:44 UTC
This sure seems like a GCC issue. In the case above, "lineno" is only defined once in utils/autosp/autosp-src/utils.h (on line 64):

int lineno;

In a local test, there are several other "multiple definition" errors being thrown and all of them seem like false positives as well.

Comment 2 Tom "spot" Callaway 2020-01-23 18:19:17 UTC
NM, i see the thread on fedora-devel. I know how to fix this now.

Comment 3 Tom "spot" Callaway 2020-01-23 21:43:26 UTC
Should be fixed in texlive-base-20190410-10.fc32, trying to build now.


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