Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900104 - net-misc/bird-2.0.10 fails to compile: printf_test.c:35:40: error: tmp_linpool undeclared (first use in this function)
Summary: net-misc/bird-2.0.10 fails to compile: printf_test.c:35:40: error: tmp_linpoo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alarig Le Lay
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 09:28 UTC by Agostino Sarubbo
Modified: 2023-03-07 13:33 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,57.38 KB, text/plain)
2023-03-07 09:28 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 2023-03-07 09:28:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/bird-2.0.10 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-07 09:28:35 UTC
Created attachment 856566 [details]
build.log

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


fatal: not a git repository (or any parent up to mount point /var/tmp)
lib/printf_test.c:35:40: error: ‘tmp_linpool’ undeclared (first use in this function); did you mean ‘linpool’?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-07 09:40:51 UTC
arkamar's patch was fine, but the version upstream committed is broken - nothing defines tmp_linpool.
Comment 4 Petr Vaněk gentoo-dev 2023-03-07 13:10:13 UTC
It works in upstream because tmp_linpool was introduced in version 2.0.11 in commit https://gitlab.nic.cz/labs/bird/-/commit/48bf1322aa141ca6259b26b37551402758cff0cc .
Comment 5 Larry the Git Cow gentoo-dev 2023-03-07 13:33:15 UTC
The bug has been closed via the following commit(s):

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

commit 7377c09d61dd996d0bed4f5c293eec02144eecf3
Author:     Alarig Le Lay <alarig@swordarmor.fr>
AuthorDate: 2023-03-07 12:50:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-07 13:32:19 +0000

    net-misc/bird: Fixing musl patch for < 2.0.12
    
    Closes: https://bugs.gentoo.org/900104
    Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/bird/files/bird-2.0.12-musl-tests.patch | 43 ++++++++++++++++++++++++
 net-misc/bird/files/bird-2.0.9-musl-tests.patch  | 39 +++++++--------------
 2 files changed, 56 insertions(+), 26 deletions(-)