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

Bug 927179

Summary: net-im/profanity-0.14.0-r2 fails tests: accounts.h:47:7: error: type of accounts_find_all does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michael Vetter <jubalh>
Status: RESOLVED FIXED    
Severity: normal CC: jubalh, proxy-maint
Priority: Normal Keywords: PullRequest, TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35863
https://bugs.gentoo.org/show_bug.cgi?id=932874
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-17 08:09:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/profanity-0.14.0-r2 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-17 08:09:54 UTC
Created attachment 887801 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-17 08:09:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


configure: libexpect not found, will not be able to run functional tests
configure: libstabber not found, will not be able to run functional tests
./src/config/accounts.h:47:7: error: type of 'accounts_find_all' does not match original declaration [-Werror=lto-type-mismatch[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlto-type-mismatch]]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-17 10:35:49 UTC
(In reply to Agostino Sarubbo from comment #2)
> Error(s) that match a know pattern in addition to what has been reported in
> the summary:
> 
> 
> configure: libexpect not found, will not be able to run functional tests
> configure: libstabber not found, will not be able to run functional tests

This makes it sound like we're missing test deps too.
Comment 4 Michael Vetter 2024-03-17 15:45:51 UTC
(In reply to Sam James from comment #3)
> (In reply to Agostino Sarubbo from comment #2)
> > Error(s) that match a know pattern in addition to what has been reported in
> > the summary:
> > 
> > 
> > configure: libexpect not found, will not be able to run functional tests
> > configure: libstabber not found, will not be able to run functional tests
> 
> This makes it sound like we're missing test deps too.

We are not. Functional tests are disabled. libstabber and libexpect thus not used.
Comment 5 Michael Vetter 2024-03-17 15:46:29 UTC
(In reply to Agostino Sarubbo from comment #2)
> ./src/config/accounts.h:47:7: error: type of 'accounts_find_all' does not
> match original declaration
> [-Werror=lto-type-mismatch[https://gcc.gnu.org/onlinedocs/gcc/Warning-
> Options.html#index-Wlto-type-mismatch]]

Thanks for catching this!
I created https://github.com/profanity-im/profanity/commit/6b9d0e86472574132e8621cea19cf40e668999bd and will soon create a PR for the Gentoo package if necessary.
Comment 6 Larry the Git Cow gentoo-dev 2024-04-24 06:42:43 UTC
The bug has been closed via the following commit(s):

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

commit c2fc06b214c1b54b1f818566e9751ef74e70c1df
Author:     Michael Vetter <jubalh@iodoru.org>
AuthorDate: 2024-03-22 09:25:51 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-04-24 06:42:40 +0000

    net-im/profanity: fix declaration mismatch in test
    
    Closes: https://bugs.gentoo.org/927179
    Signed-off-by: Michael Vetter <jubalh@iodoru.org>
    Closes: https://github.com/gentoo/gentoo/pull/35863
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-im/profanity/Manifest                   | 1 +
 net-im/profanity/profanity-0.14.0-r2.ebuild | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)