Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707206 - net-ftp/pureadmin-0.4-r1 : fails to build with -fno-common or gcc-10
Summary: net-ftp/pureadmin-0.4-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-29 18:01 UTC by Toralf Förster
Modified: 2021-01-12 09:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2020-01-29 18:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.43 KB, text/plain)
2020-01-29 18:01 UTC, Toralf Förster
Details
environment (environment,30.96 KB, text/plain)
2020-01-29 18:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.59 KB, application/x-bzip)
2020-01-29 18:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.34 KB, application/x-bzip)
2020-01-29 18:01 UTC, Toralf Förster
Details
net-ftp:pureadmin-0.4-r1:20200129-063645.log (net-ftp:pureadmin-0.4-r1:20200129-063645.log,56.96 KB, text/plain)
2020-01-29 18:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.35 KB, application/x-bzip)
2020-01-29 18:01 UTC, Toralf Förster
Details

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-29 18:01:20 UTC
  637 | void        g_value_set_object_take_ownership (GValue         *value,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pureadmin\" -DVERSION=\"0.4\" -DSTDC_HEADERS=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBFAM=1 -DHAVE_LIBDL=1 -DGETTEXT_PACKAGE=\"pureadmin\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I. -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -DBINDIR=\"/usr/bin\" -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -I/usr/include/libxml2    -std=gnu99 -Wall  -O2 -pipe -march=native -fno-common -c -o pureadmin-eggtrayicon.o `test -f 'eggtrayicon.c' || echo './'`eggtrayicon.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o pureadmin -export-dynamic pureadmin-main.o pureadmin-mainwin.o pureadmin-mainwin_cb.o pureadmin-usr_manager_cb.o pureadmin-srv_comm.o pureadmin-gui_helper.o pureadmin-usr_manager.o pureadmin-helper.o pureadmin-prefwin.o pureadmin-cfg.o pureadmin-logfile.o pureadmin-dirbrowser.o pureadmin-helpview.o pureadmin-famwrap.o pureadmin-debugging.o pureadmin-binreloc.o pureadmin-suexec.o pureadmin-purepw.o pureadmin-prereq_usrmanager.o pureadmin-system_accounts.o pureadmin-eggstatusicon.o pureadmin-eggmarshalers.o pureadmin-eggtrayicon.o -lgthread-2.0 -pthread -lglib-2.0 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2    -lm -lX11 -ldl -lfam -lcrypt 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pureadmin-mainwin.o:(.bss+0x0): multiple definition of `ftp_runmode'; pureadmin-main.o:(.bss+0x38): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pureadmin-mainwin_cb.o:(.bss+0x8): multiple definition of `ftp_runmode'; pureadmin-main.o:(.bss+0x38): first defined here

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

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

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

  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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 05:26:17 +0000

emerge -qpvO net-ftp/pureadmin
[ebuild  N    ] net-ftp/pureadmin-0.4-r1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:01:23 UTC
Created attachment 607898 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:01:29 UTC
Created attachment 607900 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:01:35 UTC
Created attachment 607902 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:01:41 UTC
Created attachment 607904 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:01:45 UTC
Created attachment 607906 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:01:50 UTC
Created attachment 607908 [details]
net-ftp:pureadmin-0.4-r1:20200129-063645.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:01:56 UTC
Created attachment 607910 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-12 09:37:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed2a39abb986e3f4264e059559f1865a1519881

commit 7ed2a39abb986e3f4264e059559f1865a1519881
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-12 09:36:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-12 09:36:55 +0000

    net-ftp/pureadmin: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707206
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Closes: https://github.com/gentoo/gentoo/pull/18967
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../pureadmin/files/pureadmin-0.4-fno-common.patch | 42 +++++++++++++++
 net-ftp/pureadmin/files/pureadmin-0.4-gold.patch   |  8 ---
 net-ftp/pureadmin/pureadmin-0.4-r2.ebuild          | 63 ++++++++++++++++++++++
 3 files changed, 105 insertions(+), 8 deletions(-)