Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710108 - net-im/profanity-0.7.1 : fails to build with -fno-common or gcc-10
Summary: net-im/profanity-0.7.1 : 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: Andriy Utkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-18 19:34 UTC by Toralf Förster
Modified: 2021-01-06 16:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.21 KB, text/plain)
2020-02-18 19:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,164.96 KB, text/plain)
2020-02-18 19:34 UTC, Toralf Förster
Details
environment (environment,19.78 KB, text/plain)
2020-02-18 19:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.84 KB, application/x-bzip)
2020-02-18 19:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.36 KB, application/x-bzip)
2020-02-18 19:34 UTC, Toralf Förster
Details
net-im:profanity-0.7.1:20200218-192010.log (net-im:profanity-0.7.1:20200218-192010.log,67.66 KB, text/plain)
2020-02-18 19:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.57 KB, application/x-bzip)
2020-02-18 19:34 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-18 19:34:32 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wno-deprecated-declarations -I./src -O2 -pipe -march=native -fno-common -pthread -I/usr/include/libxml2  -export-dynamic -Wl,-O1 -Wl,--as-needed -o profanity src/xmpp/contact.o src/log.o src/common.o src/profanity.o src/xmpp/chat_session.o src/xmpp/muc.o src/xmpp/jid.o src/xmpp/chat_state.o src/xmpp/resource.o src/xmpp/roster_list.o src/xmpp/capabilities.o src/xmpp/session.o src/xmpp/connection.o src/xmpp/iq.o src/xmpp/message.o src/xmpp/presence.o src/xmpp/stanza.o src/xmpp/roster.o src/xmpp/bookmark.o src/xmpp/blocking.o src/xmpp/form.o src/event/common.o src/event/server_events.o src/event/client_events.o src/ui/window.o src/ui/core.o src/ui/titlebar.o src/ui/statusbar.o src/ui/inputwin.o src/ui/screen.o src/ui/console.o src/ui/notifier.o src/ui/window_list.o src/ui/rosterwin.o src/ui/occupantswin.o src/ui/buffer.o src/ui/chatwin.o src/ui/mucwin.o src/ui/privwin.o src/ui/confwin.o src/ui/xmlwin.o src/command/cmd_defs.o src/command/cmd_funcs.o src/command/cmd_ac.o src/tools/parser.o src/tools/http_upload.o src/tools/autocomplete.o src/tools/tinyurl.o src/config/files.o src/config/conflists.o src/config/accounts.o src/config/tlscerts.o src/config/account.o src/config/preferences.o src/config/theme.o src/config/scripts.o src/plugins/plugins.o src/plugins/api.o src/plugins/callbacks.o src/plugins/autocompleters.o src/plugins/themes.o src/plugins/settings.o src/plugins/disco.o src/ui/tray.o src/plugins/python_plugins.o src/plugins/python_api.o src/plugins/c_plugins.o src/plugins/c_api.o     src/main.o  -lglib-2.0  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lcurl   -L/usr/lib64 -lpython3.8   -lreadline -lncursesw -ltinfow  -lstrophe    -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wno-deprecated-declarations -I./src -O2 -pipe -march=native -fno-common -pthread -I/usr/include/libxml2 -Wl,-O1 -Wl,--as-needed -o profanity src/xmpp/contact.o src/log.o src/common.o src/profanity.o src/xmpp/chat_session.o src/xmpp/muc.o src/xmpp/jid.o src/xmpp/chat_state.o src/xmpp/resource.o src/xmpp/roster_list.o src/xmpp/capabilities.o src/xmpp/session.o src/xmpp/connection.o src/xmpp/iq.o src/xmpp/message.o src/xmpp/presence.o src/xmpp/stanza.o src/xmpp/roster.o src/xmpp/bookmark.o src/xmpp/blocking.o src/xmpp/form.o src/event/common.o src/event/server_events.o src/event/client_events.o src/ui/window.o src/ui/core.o src/ui/titlebar.o src/ui/statusbar.o src/ui/inputwin.o src/ui/screen.o src/ui/console.o src/ui/notifier.o src/ui/window_list.o src/ui/rosterwin.o src/ui/occupantswin.o src/ui/buffer.o src/ui/chatwin.o src/ui/mucwin.o src/ui/privwin.o src/ui/confwin.o src/ui/xmlwin.o src/command/cmd_defs.o src/command/cmd_funcs.o src/command/cmd_ac.o src/tools/parser.o src/tools/http_upload.o src/tools/autocomplete.o src/tools/tinyurl.o src/config/files.o src/config/conflists.o src/config/accounts.o src/config/tlscerts.o src/config/account.o src/config/preferences.o src/config/theme.o src/config/scripts.o src/plugins/plugins.o src/plugins/api.o src/plugins/callbacks.o src/plugins/autocompleters.o src/plugins/themes.o src/plugins/settings.o src/plugins/disco.o src/ui/tray.o src/plugins/python_plugins.o src/plugins/python_api.o src/plugins/c_plugins.o src/plugins/c_api.o src/main.o -Wl,--export-dynamic  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcurl -L/usr/lib64 -lpython3.8 -lreadline -lncursesw -ltinfow -lstrophe -ldl -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/common.o:(.bss+0x0): multiple definition of `upload_processes'; src/log.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/profanity.o:(.bss+0x0): multiple definition of `upload_processes'; src/log.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20200215-095802

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

  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:

ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 18:38:11 +0000

emerge -qpvO net-im/profanity
[ebuild  N    ] net-im/profanity-0.7.1  USE="-gpg -libnotify -omemo -otr -xscreensaver"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 19:34:35 UTC
Created attachment 614396 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 19:34:38 UTC
Created attachment 614398 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-18 19:34:40 UTC
Created attachment 614400 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-18 19:34:43 UTC
Created attachment 614402 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-18 19:34:46 UTC
Created attachment 614404 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 19:34:48 UTC
Created attachment 614406 [details]
net-im:profanity-0.7.1:20200218-192010.log
Comment 7 Toralf Förster gentoo-dev 2020-02-18 19:34:51 UTC
Created attachment 614408 [details]
temp.tbz2
Comment 8 Nils Freydank 2020-04-18 17:59:16 UTC
Upstream fixed it in[1] - will be probably part of profanity-0.9.0[2].

[1] https://github.com/profanity-im/profanity/issues/1314
[2] https://github.com/profanity-im/profanity/milestone/19
Comment 9 Andriy Utkin (RETIRED) gentoo-dev 2020-10-12 07:09:09 UTC
Fixed as of 0.9.5 ebuild.
Comment 10 Larry the Git Cow gentoo-dev 2021-01-06 16:35:34 UTC
The bug has been referenced in the following commit(s):

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

commit 40b5215293801bc29a2410a16a0da1725faadb67
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-06 16:34:45 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-06 16:35:22 +0000

    net-im/profanity: Remove old
    
    Bug: https://bugs.gentoo.org/710108
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 net-im/profanity/Manifest               |  2 --
 net-im/profanity/profanity-0.6.0.ebuild | 39 -----------------------------
 net-im/profanity/profanity-0.7.1.ebuild | 44 ---------------------------------
 3 files changed, 85 deletions(-)