Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710878 - net-ftp/gproftpd-8.3.2-r1 : fails to build with -fno-common or gcc-10
Summary: net-ftp/gproftpd-8.3.2-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:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-26 17:13 UTC by Toralf Förster
Modified: 2020-05-28 10:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.15 KB, text/plain)
2020-02-26 17:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,178.40 KB, text/plain)
2020-02-26 17:13 UTC, Toralf Förster
Details
environment (environment,11.39 KB, text/plain)
2020-02-26 17:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.99 KB, application/x-bzip)
2020-02-26 17:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.99 KB, application/x-bzip)
2020-02-26 17:13 UTC, Toralf Förster
Details
net-ftp:gproftpd-8.3.2-r1:20200226-010125.log (net-ftp:gproftpd-8.3.2-r1:20200226-010125.log,259.04 KB, text/plain)
2020-02-26 17:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.63 KB, application/x-bzip)
2020-02-26 17:13 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-02-26 17:13:39 UTC
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gproftpd  gproftpd.o populate_gproftpd.o widgets.o support.o create_main_window.o create_server_tab.o populate_servers.o server_treeview_row_clicked.o add_server.o delete_server.o create_server_settings.o populate_server_settings.o apply_server_settings.o select_first_server.o create_user_tab.o populate_users.o user_treeview_row_clicked.o populate_shell_combo.o add_user.o dir_treeview_funcs.o create_user_settings.o populate_user_settings.o select_first_user.o apply_user.o delete_user.o create_del_system_user_question.o make_settings_entries.o make_settings_combos.o make_settings_spinbuttons.o make_settings_buttons.o make_settings_checkbuttons.o make_settings_progressbars.o make_settings_labels.o make_settings_hseparators.o create_transfer_tab.o kick_button_clicked.o kick_ban_button_clicked.o status_update.o create_disc_tab.o populate_disc_tab.o create_file_tab.o populate_file_tab.o clear_file_tab.o create_security_tab.o populate_security_tab.o clear_security_tab.o create_conf_tab.o populate_conf_tab.o save_conf_tab.o set_version.o reread_conf.o apply_button_clicked.o commands.o generate_cert.o functions.o commented.o credits_window.o activate_button_clicked.o deactivate_button_clicked.o show_info.o chars_are_digits.o allocate.o system_defines.o create_import_window.o import_functions.o show_shutdown.o shutdown_ok_clicked.o standard_conf.o add_standard_users.o show_help.o -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  -lcrypt 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: apply_user.o:(.bss+0x0): multiple definition of `user_profile'; add_user.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: apply_user.o:(.bss+0x20): multiple definition of `dir_val'; dir_treeview_funcs.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200221-195709

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

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 25 Feb 2020 23:37:15 +0000

emerge -qpvO net-ftp/gproftpd
[ebuild  N    ] net-ftp/gproftpd-8.3.2-r1  USE="ssl -gnome"
Comment 1 Toralf Förster gentoo-dev 2020-02-26 17:13:42 UTC
Created attachment 615990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-26 17:13:44 UTC
Created attachment 615992 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-26 17:13:47 UTC
Created attachment 615994 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-26 17:13:50 UTC
Created attachment 615996 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-26 17:13:53 UTC
Created attachment 615998 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-26 17:13:56 UTC
Created attachment 616000 [details]
net-ftp:gproftpd-8.3.2-r1:20200226-010125.log
Comment 7 Toralf Förster gentoo-dev 2020-02-26 17:13:59 UTC
Created attachment 616002 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-28 10:13:39 UTC
The bug has been closed via the following commit(s):

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

commit fd79bfc0c19fd6985c6b4dcd4782006eb2123a66
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-28 10:03:52 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-28 10:13:35 +0000

    net-ftp/gproftpd: Fix building with CFLAGS=-fno-common
    
    Also:
    - EAPI=7
    - Use HTTPS (except for SRC_URI which was already failing)
    - Drop pointless USE flags (see below)
    - Fix dependencies: openssl is not used (drop USE=ssl), proftpd should not be a
      dependency at all as gproftpd merely edits its run-time configuration
      files, add gettext/libiconv
    - Fix .desktop file and install it at the correct location (drop
      USE=gnome)
    - Drop configuration flags that very obviously belong to proftpd and not
      gproftpd
    
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/710878
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../gproftpd/files/gproftpd-8.3.2-desktop.patch    | 12 +++++
 .../gproftpd/files/gproftpd-8.3.2-fno-common.patch | 25 +++++++++++
 .../gproftpd/files/gproftpd-8.3.2-install.patch    | 39 ++++++++++++++++
 net-ftp/gproftpd/gproftpd-8.3.2-r2.ebuild          | 52 ++++++++++++++++++++++
 4 files changed, 128 insertions(+)