Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706916 - net-misc/minidlna-1.2.1-r1 : fails to build with -fno-common or gcc-10
Summary: net-misc/minidlna-1.2.1-r1 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:38 UTC by Toralf Förster
Modified: 2020-05-23 12:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.02 KB, text/plain)
2020-01-28 18:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,76.05 KB, text/plain)
2020-01-28 18:38 UTC, Toralf Förster
Details
environment (environment,138.62 KB, text/plain)
2020-01-28 18:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.28 KB, application/x-bzip)
2020-01-28 18:38 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.40 KB, application/x-bzip)
2020-01-28 18:38 UTC, Toralf Förster
Details
net-misc:minidlna-1.2.1-r1:20200128-093035.log (net-misc:minidlna-1.2.1-r1:20200128-093035.log,46.25 KB, text/plain)
2020-01-28 18:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.20 KB, application/x-bzip)
2020-01-28 18:38 UTC, Toralf Förster
Details
Correct defiintions preventing successful compilation (gcc10-support.patch,1.38 KB, patch)
2020-05-23 12:49 UTC, event
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-28 18:38:28 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o containers.o containers.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o avahi.o avahi.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o tagutils/tagutils.o tagutils/tagutils.c
x86_64-pc-linux-gnu-gcc -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o minidlnad minidlna.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o clients.o getifaddr.o process.o upnpglobalvars.o options.o minissdp.o uuid.o upnpevents.o sql.o utils.o metadata.o scanner.o monitor.o tivo_utils.o tivo_beacon.o tivo_commands.o playlist.o image_utils.o albumart.o log.o containers.o avahi.o tagutils/tagutils.o -ljpeg -lid3tag -lsqlite3 -lavformat -lavutil -lexif -lFLAC  -lvorbis -logg  -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: upnphttp.o:(.bss+0x0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: metadata.o:(.bss+0xe0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 08:46:21 +0000

emerge -qpvO net-misc/minidlna
[ebuild  N    ] net-misc/minidlna-1.2.1-r1  USE="-libav -netgear -readynas -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:38:30 UTC
Created attachment 606548 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:38:33 UTC
Created attachment 606550 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:38:36 UTC
Created attachment 606552 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:38:38 UTC
Created attachment 606554 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:38:41 UTC
Created attachment 606556 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:38:44 UTC
Created attachment 606558 [details]
net-misc:minidlna-1.2.1-r1:20200128-093035.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:38:47 UTC
Created attachment 606560 [details]
temp.tbz2
Comment 8 event 2020-05-23 12:49:20 UTC
Created attachment 641058 [details, diff]
Correct defiintions preventing successful compilation

This patch fixed an issue for me for minidlna-1.2.1-r1