Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941516 - sci-libs/coinasl-2.0.1 has implicit function declarations in configure logs
Summary: sci-libs/coinasl-2.0.1 has implicit function declarations in configure logs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew Udvare
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2024-10-14 09:01 UTC by Agostino Sarubbo
Modified: 2024-11-04 01:22 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,104.78 KB, text/plain)
2024-10-14 09:01 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-14 09:01:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/coinasl-2.0.1 has implicit function declarations in configure logs.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-14 09:01:45 UTC
Created attachment 905767 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-14 09:01:46 UTC
Found the following implicit function declarations in configure logs:

config.log:338 - getrusage
Comment 3 Agostino Sarubbo gentoo-dev 2024-10-14 09:02:04 UTC
also:

 * QA Notice: econf called in src_compile instead of src_configure
Comment 4 Andrew Udvare 2024-10-14 21:07:23 UTC
Acknowledged. Will fix shortly.

There's actually a patch in an attempt to fix the getrusage call but I guess it did not work.
Comment 5 Larry the Git Cow gentoo-dev 2024-10-21 12:08:42 UTC
The bug has been closed via the following commit(s):

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

commit 07bc74a917a14155521ad67fefd5f119353f8442
Author:     Andrew Udvare <audvare@gmail.com>
AuthorDate: 2024-10-15 08:04:14 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-10-21 12:08:34 +0000

    sci-libs/coinasl: fix implicit declaration issue
    
    - Correctly detect getrusage(). The patch was present before but eautoreconf was never run before
      because it was failing due to missing includes. This is resolved by pulling in coin-or BuildTools.
    - Move econf to the correct phase function.
    
    Closes: https://bugs.gentoo.org/941516
    Signed-off-by: Andrew Udvare <audvare@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38997
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/coinasl/Manifest                                  |  1 +
 .../{coinasl-2.0.1.ebuild => coinasl-2.0.1-r1.ebuild}      | 14 ++++++++++++--
 sci-libs/coinasl/files/coinasl-2.0.1-getrusage.patch       |  2 +-
 3 files changed, 14 insertions(+), 3 deletions(-)