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

Bug 699746

Summary: net-libs/libhubbub-0.3.3 fails tests: test/tokeniser2.c:51:10: error: implicit declaration of function is_error
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jaco Kroon <jaco>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=694042
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-libs:libhubbub-0.3.3:20191110-152410.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-11-10 15:27:09 UTC
In file included from test/tokeniser2.c:15:
test/tokeniser2.c: In function ‘main’:
test/tokeniser2.c:51:10: error: implicit declaration of function ‘is_error’; did you mean ‘mc_error’? [-Werror=implicit-function-declaration]
   51 |  assert(!is_error(json));
      |          ^~~~~~~~
test/testutils.h:31:13: note: in definition of macro ‘assert’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl_test-20191105-191648

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)

Available Rust versions:
  [1]   rust-1.38.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 10 Nov 2019 15:06:23 +0000

emerge -qpvO net-libs/libhubbub
[ebuild  N    ] net-libs/libhubbub-0.3.5-r1  USE="test -doc"
Comment 1 Toralf Förster gentoo-dev 2019-11-10 15:27:12 UTC
it is still an issue at unstable amd64 tinderbox image 17.1-libressl_test-20191105-191648 (see bug 675836)
Comment 2 Toralf Förster gentoo-dev 2019-11-10 15:27:14 UTC
Created attachment 595642 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-10 15:27:17 UTC
Created attachment 595644 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-10 15:27:20 UTC
Created attachment 595646 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-10 15:27:23 UTC
Created attachment 595648 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-10 15:27:26 UTC
Created attachment 595650 [details]
net-libs:libhubbub-0.3.3:20191110-152410.log
Comment 7 Toralf Förster gentoo-dev 2019-11-10 15:27:28 UTC
Created attachment 595652 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 09:58:21 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-16 00:09:18 UTC
Fixed as part of changes in bug 694042.
Comment 10 Larry the Git Cow gentoo-dev 2022-03-16 01:01:29 UTC
The bug has been referenced in the following commit(s):

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

commit 3a92e6baff1fc5a5e15499c1d9ad657893d87e17
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-16 00:10:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-16 01:01:12 +0000

    net-libs/libhubbub: add upstream link to patch
    
    Bug: https://bugs.gentoo.org/699746
    Bug: https://bugs.gentoo.org/694042
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch | 3 +++
 1 file changed, 3 insertions(+)