Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622334 - net-misc/bird-1.6.3 : io.c:1121:56: error: macro "xrealloc" passed 2 arguments, but takes just 1
Summary: net-misc/bird-1.6.3 : io.c:1121:56: error: macro "xrealloc" passed 2 argument...
Status: RESOLVED UPSTREAM
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: 2017-06-20 17:21 UTC by Toralf Förster
Modified: 2023-03-06 22:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2017-06-20 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,318.70 KB, text/plain)
2017-06-20 17:21 UTC, Toralf Förster
Details
environment (environment,16.27 KB, text/plain)
2017-06-20 17:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,34.60 KB, application/x-bzip)
2017-06-20 17:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.95 KB, application/x-bzip)
2017-06-20 17:21 UTC, Toralf Förster
Details
net-misc:bird-1.6.3:20170620-123855.log (net-misc:bird-1.6.3:20170620-123855.log,24.86 KB, text/plain)
2017-06-20 17:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.60 KB, application/x-bzip)
2017-06-20 17:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-20 17:21:08 UTC
                 ^
io.c: In function ‘sk_set_tbsize’:
io.c:1121:56: error: macro "xrealloc" passed 2 arguments, but takes just 1
   s->tbuf = s->tbuf_alloc = xrealloc(s->tbuf_alloc, val);
                                                        ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: plasma-systemd_libressl_20170609-232249

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-06-20 17:21:11 UTC
Created attachment 477418 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-20 17:21:14 UTC
Created attachment 477420 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-20 17:21:17 UTC
Created attachment 477422 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-06-20 17:21:20 UTC
Created attachment 477424 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-20 17:21:23 UTC
Created attachment 477426 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-20 17:21:26 UTC
Created attachment 477428 [details]
net-misc:bird-1.6.3:20170620-123855.log
Comment 7 Toralf Förster gentoo-dev 2017-06-20 17:21:29 UTC
Created attachment 477430 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-05-22 12:11:33 UTC
The bug has been referenced in the following commit(s):

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

commit 5c925cf427ea6590a61b9030cca0cae090f21201
Author:     Tony Vroon <chainsaw@gentoo.org>
AuthorDate: 2019-05-22 12:11:04 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2019-05-22 12:11:18 +0000

    net-misc/bird: 1.6.6 & 2.0.4 version bumps
    
    New init script by Alarig Le Lay fixes bad behaviour for 2.x daemons,
    by rewriting in a different style as suggested by Michael Orlitzky.
    1.6.6 contains several bugfixes related to route propagation.
    2.0.4 contains:
     * OSPF: DN-bit handling (RFC 4576)
     * Preferred route counters are back
     * Important BGP bugfix
     * Several bugfixes related to route propagation
     * Some minor bugfixes
    
    Closes: https://bugs.gentoo.org/682628
    Bug: https://bugs.gentoo.org/622334
    Suggested-By: Michael Orlitzky <mjo@gentoo.org>
    Tested-by: Alarig Le Lay <alarig@swordarmor.fr>
    Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 net-misc/bird/Manifest           |  2 ++
 net-misc/bird/bird-1.6.6.ebuild  | 68 ++++++++++++++++++++++++++++++++++++++++
 net-misc/bird/bird-2.0.4.ebuild  | 36 +++++++++++++++++++++
 net-misc/bird/files/initd-bird-2 | 51 ++++++++++++++++++++++++++++++
 4 files changed, 157 insertions(+)
Comment 9 Petr Vaněk gentoo-dev 2023-03-06 22:13:56 UTC
This issue was fixed in upstream in version 2.0.5, see https://gitlab.nic.cz/labs/bird/-/commit/2ce25ebbefd2eaf517361a446fe40679e78e23e9