Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832706

Summary: dev-lang/mercury-extras-20.06.1 - netdb.m: note: each undeclared identifier is reported only once for each function it appears in
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: keri
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:mercury-extras-20.06.1:20220204-074207.log.bz2
emerge-history.txt
environment
etc.portage.tar.bz2

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(-)