Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832706 - dev-lang/mercury-extras-20.06.1 - netdb.m: note: each undeclared identifier is reported only once for each function it appears in
Summary: dev-lang/mercury-extras-20.06.1 - netdb.m: note: each undeclared identifier i...
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:
Depends on:
Blocks:
 
Reported: 2022-02-04 14:45 UTC by Toralf Förster
Modified: 2022-05-22 16:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2022-02-04 14:45 UTC, Toralf Förster
Details
dev-lang:mercury-extras-20.06.1:20220204-074207.log.bz2 (dev-lang:mercury-extras-20.06.1:20220204-074207.log.bz2,26.02 KB, application/x-bzip)
2022-02-04 14:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,310.75 KB, text/plain)
2022-02-04 14:45 UTC, Toralf Förster
Details
environment (environment,65.07 KB, text/plain)
2022-02-04 14:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.45 KB, application/x-bzip)
2022-02-04 14: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 2022-02-04 14:45:45 UTC
netdb.m:1289:15: error: 'lookup_lock' undeclared (first use in this function)
/usr/lib/mercury/inc/mercury_thread.h:76:57: note: in definition of macro 'MR_LOCK'
   76 |     #define MR_LOCK(lck, from)      pthread_mutex_lock((lck))
      |                                                         ^~~
netdb.m:1289:15: note: each undeclared identifier is reported only once for each function it appears in
/usr/lib/mercury/inc/mercury_thread.h:76:57: note: in definition of macro 'MR_LOCK'
   76 |     #define MR_LOCK(lck, from)      pthread_mutex_lock((lck))

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
php cli:

  HEAD of ::gentoo
commit 86a12289e9740c1f9c46407c55d688215e3e05ce
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 4 06:22:14 2022 +0000

    2022-02-04 06:22:12 UTC

emerge -qpvO dev-lang/mercury-extras
[ebuild  N    ] dev-lang/mercury-extras-20.06.1  USE="X ncurses odbc ssl -cairo -examples -glut -gmp -iodbc -opengl -tk -tommath -xml"
Comment 1 Toralf Förster gentoo-dev 2022-02-04 14:45:46 UTC
Created attachment 764334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-04 14:45:47 UTC
Created attachment 764335 [details]
dev-lang:mercury-extras-20.06.1:20220204-074207.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-02-04 14:45:49 UTC
Created attachment 764336 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-02-04 14:45:50 UTC
Created attachment 764337 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-02-04 14:45:57 UTC
Created attachment 764338 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2022-05-22 16:24:58 UTC
The bug has been closed via the following commit(s):

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

commit 3b78f24ad9a265196432c7f7aefe11b4a2bb58b4
Author:     Keri Harris <keri@gentoo.org>
AuthorDate: 2022-05-22 16:24:18 +0000
Commit:     Keri Harris <keri@gentoo.org>
CommitDate: 2022-05-22 16:24:42 +0000

    dev-lang/mercury-extras: fix compile of netdb with musl
    
    Closes: https://bugs.gentoo.org/832706
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Keri Harris <keri@gentoo.org>

 dev-lang/mercury-extras/Manifest                      | 2 +-
 dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)