Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707684 - net-dialup/mwavem-2.0-r2 : fails to build with -fno-common or gcc-10
Summary: net-dialup/mwavem-2.0-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: 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-01-31 22:20 UTC by Toralf Förster
Modified: 2020-11-26 10:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,271.46 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
environment (environment,92.72 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.66 KB, application/x-bzip)
2020-01-31 22:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.67 KB, application/x-bzip)
2020-01-31 22:21 UTC, Toralf Förster
Details
net-dialup:mwavem-2.0-r2:20200131-215012.log (net-dialup:mwavem-2.0-r2:20200131-215012.log,246.55 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.28 KB, application/x-bzip)
2020-01-31 22:21 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-31 22:20:58 UTC
/var/tmp/portage/net-dialup/mwavem-2.0-r2/work/mwavem-2.0/src/include/port_functions.h:66:11: note: expected ‘LPCTSTR’ {aka ‘char *’} but argument is of type ‘unsigned char *’
   66 |   LPCTSTR lpFileName // initialization file name
      |   ~~~~~~~~^~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -I/var/tmp/portage/net-dialup/mwavem-2.0-r2/work/mwavem-2.0/src/include -fno-strict-aliasing -Wall  -Wl,-O1 -Wl,--as-needed -o mwavem modem.o ../../src/mwmlw32/libmwmlw32.a ../../src/mwmpw32/libmwmpw32.a ../../src/meio/libmeio.a ../../src/manager/libmwave.a ../../src/mwwtt32/libmwwtt32.a ../../src/mwmutil/libmwmutil.a ../../src/mwmbl/libmwmbl.a -lm -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/mwmlw32/libmwmlw32.a(mwmspcfc.o):(.bss+0x2e0): multiple definition of `shit'; modem.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/mwmlw32/libmwmlw32.a(mwmipc.o):(.bss+0x0): multiple definition of `shit'; modem.o:(.bss+0x0): first defined here

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 20:47:54 +0000

emerge -qpvO net-dialup/mwavem
[ebuild  N    ] net-dialup/mwavem-2.0-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-31 22:21:01 UTC
Created attachment 610090 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 22:21:04 UTC
Created attachment 610092 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 22:21:07 UTC
Created attachment 610094 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 22:21:09 UTC
Created attachment 610096 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 22:21:12 UTC
Created attachment 610098 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 22:21:15 UTC
Created attachment 610100 [details]
net-dialup:mwavem-2.0-r2:20200131-215012.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 22:21:18 UTC
Created attachment 610102 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-26 10:33:01 UTC
The bug has been closed via the following commit(s):

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

commit c3868b2816dccb819eb62eb0570be4d0eb57e413
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-26 10:32:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-26 10:32:45 +0000

    net-dialup/mwavem: port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18402
    Closes: https://bugs.gentoo.org/724974
    Closes: https://bugs.gentoo.org/707684
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-dialup/mwavem/files/mwavem-2.0-ar.patch        | 10 ++++++
 .../mwavem/files/mwavem-2.0-fno-common.patch       | 22 ++++++++++++
 net-dialup/mwavem/mwavem-2.0-r2.ebuild             | 40 ++++++++++++----------
 3 files changed, 54 insertions(+), 18 deletions(-)