Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707854 - app-admin/pwcrypt-1.2.2-r2 : fails to build with -fno-common or gcc-10
Summary: app-admin/pwcrypt-1.2.2-r2 : 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: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-02 04:14 UTC by Toralf Förster
Modified: 2020-05-12 14:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.19 KB, text/plain)
2020-02-02 04:14 UTC, Toralf Förster
Details
app-admin:pwcrypt-1.2.2-r2:20200202-020548.log (app-admin:pwcrypt-1.2.2-r2:20200202-020548.log,11.43 KB, text/plain)
2020-02-02 04:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,238.57 KB, text/plain)
2020-02-02 04:14 UTC, Toralf Förster
Details
environment (environment,51.89 KB, text/plain)
2020-02-02 04:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.57 KB, application/x-bzip)
2020-02-02 04:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.31 KB, application/x-bzip)
2020-02-02 04:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.19 KB, application/x-bzip)
2020-02-02 04:14 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-02 04:14:22 UTC
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -W -Wall -o pwcrypt main.o getopt.o random.o crypt.o -Wl,-O1 -Wl,--as-needed -lcrypt
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: getopt.o:(.bss+0x4): multiple definition of `quiet'; main.o:(.bss+0x4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: getopt.o:(.bss+0xc20): multiple definition of `cleartext_pass'; main.o:(.bss+0xc20): 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:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 02 Feb 2020 00:48:00 +0000

emerge -qpvO app-admin/pwcrypt
[ebuild  N    ] app-admin/pwcrypt-1.2.2-r2
Comment 1 Toralf Förster gentoo-dev 2020-02-02 04:14:25 UTC
Created attachment 610832 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 04:14:29 UTC
Created attachment 610834 [details]
app-admin:pwcrypt-1.2.2-r2:20200202-020548.log
Comment 3 Toralf Förster gentoo-dev 2020-02-02 04:14:33 UTC
Created attachment 610836 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-02 04:14:36 UTC
Created attachment 610838 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-02 04:14:39 UTC
Created attachment 610840 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-02 04:14:42 UTC
Created attachment 610842 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-02 04:14:45 UTC
Created attachment 610844 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-12 14:43:12 UTC
The bug has been closed via the following commit(s):

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

commit 5c65f9976ebf4e21f5cf31d8c0fa1757447ab676
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-05-12 14:42:29 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-05-12 14:42:53 +0000

    app-admin/pwcrypt: fix build with >=sys-devel/gcc-10
    
    Closes: https://bugs.gentoo.org/707854
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-admin/pwcrypt/files/pwcrypt-gcc-10.patch | 66 ++++++++++++++++++++++++++++
 app-admin/pwcrypt/pwcrypt-1.2.2-r2.ebuild    |  1 +
 2 files changed, 67 insertions(+)