Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707618 - net-ftp/frox-0.7.18-r6 : fails to build with -fno-common or gcc-10
Summary: net-ftp/frox-0.7.18-r6 : fails to build with -fno-common or gcc-10
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Behun
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 17:39 UTC by Toralf Förster
Modified: 2020-03-14 09:55 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2020-01-31 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.63 KB, text/plain)
2020-01-31 17:39 UTC, Toralf Förster
Details
environment (environment,107.57 KB, text/plain)
2020-01-31 17:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.18 KB, application/x-bzip)
2020-01-31 17:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.10 KB, application/x-bzip)
2020-01-31 17:39 UTC, Toralf Förster
Details
net-ftp:frox-0.7.18-r6:20200131-035936.log (net-ftp:frox-0.7.18-r6:20200131-035936.log,17.43 KB, text/plain)
2020-01-31 17:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.12 KB, application/x-bzip)
2020-01-31 17:39 UTC, Toralf Förster
Details
frox-0.7.18-no-common.patch (frox-no-common.patch,1.61 KB, patch)
2020-02-01 01:11 UTC, Marek Behun
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-31 17:39:03 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -pipe -march=native -fno-common -c -o ntp.o ntp.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -pipe -march=native -fno-common -c -o ssl.o ssl.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -pipe -march=native -fno-common -c -o linux.o linux.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -L../lib -Wl,-O1 -Wl,--as-needed -o frox configs.o data.o main.o misc.o control.o ftp-cmds.o cache.o httpcache.o localcache.o cachemgr.o ntp.o   ssl.o linux.o -lsstr -lssl -lcrypto   
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: data.o:(.bss+0x0): multiple definition of `info'; configs.o:(.bss+0x198): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x10): multiple definition of `info'; configs.o:(.bss+0x198): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200125-232521

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 01:26:20 +0000

emerge -qpvO net-ftp/frox
[ebuild  N    ] net-ftp/frox-0.7.18-r6  USE="libressl ssl -clamav -transparent"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:39:06 UTC
Created attachment 609704 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:39:09 UTC
Created attachment 609706 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:39:12 UTC
Created attachment 609708 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:39:15 UTC
Created attachment 609710 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:39:17 UTC
Created attachment 609712 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:39:20 UTC
Created attachment 609714 [details]
net-ftp:frox-0.7.18-r6:20200131-035936.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:39:23 UTC
Created attachment 609716 [details]
temp.tbz2
Comment 8 Marek Behun 2020-02-01 01:11:18 UTC
Created attachment 610148 [details, diff]
frox-0.7.18-no-common.patch

Support building with -fno-common (default for GCC 10)
Comment 9 Marek Behun 2020-02-01 01:12:27 UTC
Please test the attached patch. I am only a proxy maintainer.
What should I do if I want this merged into the repository?
Comment 10 Marek Behun 2020-02-01 01:19:39 UTC
Ok I am submitting pull request via Github
Comment 11 Larry the Git Cow gentoo-dev 2020-03-14 09:55:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ceda5b4dd67c70904757cf967a02f37aa4117ee

commit 5ceda5b4dd67c70904757cf967a02f37aa4117ee
Author:     Marek Behún <kabel@blackhole.sk>
AuthorDate: 2020-03-07 08:37:44 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-14 09:55:11 +0000

    net-ftp/frox: fix building with -fno-common (default for GCC 10)
    
    Fix some definitions so that the package builds for GCC 10, where
    -fno-common is default.
    
    Bug: https://bugs.gentoo.org/707618
    Signed-off-by: Marek Behún <kabel@blackhole.sk>
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Closes: https://github.com/gentoo/gentoo/pull/14518
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-ftp/frox/files/frox-0.7.18-no-common.patch | 63 ++++++++++++++++++++++++++
 net-ftp/frox/frox-0.7.18-r6.ebuild             |  1 +
 2 files changed, 64 insertions(+)