Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557300 - media-tv/kodi-14.1: fails to build with gcc-5: multiple definition of argp_usage
Summary: media-tv/kodi-14.1: fails to build with gcc-5: multiple definition of argp_usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Xbox herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-08-11 13:46 UTC by Konstantin (elxa)
Modified: 2015-08-26 05:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
media-tv/kodi-14.1 build.log (build.log.gz,41.36 KB, application/gzip)
2015-08-11 13:48 UTC, Konstantin (elxa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (elxa) 2015-08-11 13:46:40 UTC
../../lib/libmisc.a(argp-parse.o): In function `argp_usage':
argp-parse.c:(.text+0x570): multiple definition of `argp_usage'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x3590): first defined here
../../lib/libmisc.a(argp-parse.o): In function `_option_is_short':
argp-parse.c:(.text+0x590): multiple definition of `_option_is_short'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c20): first defined here
../../lib/libmisc.a(argp-parse.o): In function `_option_is_end':
argp-parse.c:(.text+0x5d0): multiple definition of `_option_is_end'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c60): first defined here
../../lib/libmisc.a(argp-pvh.o): In function `argp_usage':
argp-pvh.c:(.text+0x0): multiple definition of `argp_usage'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x3590): first defined here
../../lib/libmisc.a(argp-pvh.o): In function `_option_is_short':
argp-pvh.c:(.text+0x20): multiple definition of `_option_is_short'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c20): first defined here
../../lib/libmisc.a(argp-pvh.o): In function `_option_is_end':
argp-pvh.c:(.text+0x60): multiple definition of `_option_is_end'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c60): first defined here
../../lib/libmisc.a(argp-eexst.o): In function `argp_usage':
argp-eexst.c:(.text+0x0): multiple definition of `argp_usage'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x3590): first defined here
../../lib/libmisc.a(argp-eexst.o): In function `_option_is_short':
argp-eexst.c:(.text+0x20): multiple definition of `_option_is_short'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c20): first defined here
../../lib/libmisc.a(argp-eexst.o): In function `_option_is_end':
argp-eexst.c:(.text+0x60): multiple definition of `_option_is_end'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c60): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_set_lmargin':
argp-fmtstream.c:(.text+0x5e0): multiple definition of `argp_fmtstream_set_lmargin'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1da0): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_set_rmargin':
argp-fmtstream.c:(.text+0x610): multiple definition of `argp_fmtstream_set_rmargin'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1dd0): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_set_wmargin':
argp-fmtstream.c:(.text+0x640): multiple definition of `argp_fmtstream_set_wmargin'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1e00): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_point':
argp-fmtstream.c:(.text+0x670): multiple definition of `argp_fmtstream_point'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1e30): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_write':
argp-fmtstream.c:(.text+0x7b0): multiple definition of `argp_fmtstream_write'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1c90): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_putc':
argp-fmtstream.c:(.text+0x800): multiple definition of `argp_fmtstream_putc'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1d50): first defined here
../../lib/libmisc.a(argp-fmtstream.o): In function `argp_fmtstream_puts':
argp-fmtstream.c:(.text+0x850): multiple definition of `argp_fmtstream_puts'
../../lib/libmisc.a(argp-help.o):argp-help.c:(.text+0x1ce0): first defined here
collect2: error: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. make gcc-5.2.0 system default
2. emerge =kodi-14.1
Actual Results:  
build fails

Expected Results:  
build succeeds

A working patch is available at https://github.com/mooninite/xbmc-rpm/blob/master/kodi-14.0-gcc5.patch
Comment 1 Konstantin (elxa) 2015-08-11 13:48:37 UTC
Created attachment 408798 [details]
media-tv/kodi-14.1 build.log