Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715926 - net-dialup/mwavem-2.0-r2 : /.../mwmparse.c: error: expected declaration specifiers before _THROW
Summary: net-dialup/mwavem-2.0-r2 : /.../mwmparse.c: error: expected declaration speci...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-02 16:10 UTC by Toralf Förster
Modified: 2025-02-10 08:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2020-04-02 16:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,256.61 KB, text/plain)
2020-04-02 16:10 UTC, Toralf Förster
Details
environment (environment,90.37 KB, text/plain)
2020-04-02 16:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.55 KB, application/x-bzip)
2020-04-02 16:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.06 KB, application/x-bzip)
2020-04-02 16:10 UTC, Toralf Förster
Details
net-dialup:mwavem-2.0-r2:20200402-160421.log (net-dialup:mwavem-2.0-r2:20200402-160421.log,206.17 KB, text/plain)
2020-04-02 16:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.84 KB, application/x-bzip)
2020-04-02 16:10 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-04-02 16:10:10 UTC
      |                     ^
/var/tmp/portage/net-dialup/mwavem-2.0-r2/work/mwavem-2.0/src/mwmpw32/mwmparse.c: In function swab:
/var/tmp/portage/net-dialup/mwavem-2.0-r2/work/mwavem-2.0/src/mwmpw32/mwmparse.c:327:20: error: expected declaration specifiers before __THROW
  327 | extern void swab() __THROW;
      |                    ^~~~~~~
/var/tmp/portage/net-dialup/mwavem-2.0-r2/work/mwavem-2.0/src/mwmpw32/mwmparse.c:330:1: error: expected =, ,, ;, asm or __attribute__ before { token

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  2 14:37:38 UTC 2020
/var/db/repos/musl	Thu Apr  2 13:46:05 UTC 2020

emerge -qpvO net-dialup/mwavem
[ebuild  N    ] net-dialup/mwavem-2.0-r2
Comment 1 Toralf Förster gentoo-dev 2020-04-02 16:10:12 UTC
Created attachment 629078 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 16:10:15 UTC
Created attachment 629080 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-02 16:10:18 UTC
Created attachment 629082 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-02 16:10:21 UTC
Created attachment 629084 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-02 16:10:23 UTC
Created attachment 629086 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 16:10:26 UTC
Created attachment 629088 [details]
net-dialup:mwavem-2.0-r2:20200402-160421.log
Comment 7 Toralf Förster gentoo-dev 2020-04-02 16:10:29 UTC
Created attachment 629090 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2025-02-10 08:56:32 UTC
The bug has been closed via the following commit(s):

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

commit bddf10139c64151ed822ad7adadea7162c63637f
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-26 09:09:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 08:55:00 +0000

    net-dialup/mwavem: update EAPI 7 -> 8, fix compilation errors
    
    Fixes C23 problems and difference in pthread_t between musl and glibc
    Included in C23 problems: Actual usage of va_args instead of handrolled
    pointers, system includes, removal of redefinitions of system functions
    and completion of externs with function arguments.
    
    Closes: https://bugs.gentoo.org/897844
    Closes: https://bugs.gentoo.org/715926
    Closes: https://bugs.gentoo.org/945184
    Closes: https://bugs.gentoo.org/921186
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40311
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dialup/mwavem/files/mwavem-2.0-C23.patch     | 128 +++++++++++++++++++++++
 net-dialup/mwavem/files/mwavem-2.0-pthread.patch |  14 +++
 net-dialup/mwavem/mwavem-2.0-r3.ebuild           |  57 ++++++++++
 3 files changed, 199 insertions(+)