Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708040 - net-print/mtink-1.0.16-r2 : fails to build with -fno-common or gcc-10
Summary: net-print/mtink-1.0.16-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: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-02-03 18:45 UTC by Toralf Förster
Modified: 2021-02-14 10:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.55 KB, text/plain)
2020-02-03 18:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,272.83 KB, text/plain)
2020-02-03 18:45 UTC, Toralf Förster
Details
environment (environment,18.82 KB, text/plain)
2020-02-03 18:45 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.14 KB, application/x-bzip)
2020-02-03 18:45 UTC, Toralf Förster
Details
net-print:mtink-1.0.16-r2:20200203-020843.log (net-print:mtink-1.0.16-r2:20200203-020843.log,9.69 KB, text/plain)
2020-02-03 18:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.00 KB, application/x-bzip)
2020-02-03 18:45 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-03 18:45:16 UTC
Compile usbHlp.c
Compile rdRes.c
Compile access.c
Link ttink
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mainSrc/nXcmd.o:(.bss+0x20): multiple definition of `alignHead'; mainSrc/ttink.o:(.bss+0x100): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mainSrc/nXcmd.o:(.bss+0x60): multiple definition of `exchangeCartridge'; mainSrc/ttink.o:(.bss+0x140): 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 23:48:43 +0000

emerge -qpvO net-print/mtink
[ebuild  N    ] net-print/mtink-1.0.16-r2  USE="-X -cups -doc"
Comment 1 Toralf Förster gentoo-dev 2020-02-03 18:45:19 UTC
Created attachment 611310 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 18:45:22 UTC
Created attachment 611312 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 18:45:25 UTC
Created attachment 611314 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 18:45:28 UTC
Created attachment 611316 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 18:45:30 UTC
Created attachment 611318 [details]
net-print:mtink-1.0.16-r2:20200203-020843.log
Comment 6 Toralf Förster gentoo-dev 2020-02-03 18:45:33 UTC
Created attachment 611320 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-14 10:36:51 UTC
The bug has been closed via the following commit(s):

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

commit eab7bcd2b21a9fcdbeffa663549547007740e523
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-14 10:32:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 10:32:57 +0000

    net-print/mtink: Fix build issues
    
    * Fix build with gcc-10
    * Fix detection of lesstif library
    * Do not call CC directly
    * Fix broken README symlink
    
    Closes: https://bugs.gentoo.org/708040
    Closes: https://bugs.gentoo.org/679324
    Closes: https://bugs.gentoo.org/727952
    Closes: https://bugs.gentoo.org/725196
    Closes: https://bugs.gentoo.org/741062
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-print/mtink/files/mtink-1.0.16-flags.patch     |  5 +--
 .../mtink/files/mtink-1.0.16-fno-common.patch      | 20 +++++++++
 net-print/mtink/files/mtink-1.0.16-motif.patch     | 49 ++++++++++++++++++++++
 net-print/mtink/files/mtink-1.0.16-overflow.patch  |  4 +-
 net-print/mtink/metadata.xml                       |  8 ++--
 net-print/mtink/mtink-1.0.16-r2.ebuild             | 35 ++++++++++------
 6 files changed, 100 insertions(+), 21 deletions(-)