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

Bug 874420

Summary: net-misc/wol-0.7.1-r3 - realloc.c: error: conflicting types for rpl_realloc
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal CC: soap
Priority: Normal Keywords: PMASKED, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=871063
https://github.com/gentoo/gentoo/pull/28012
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:wol-0.7.1-r3:20221002-225911.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 07:57:25 UTC
          ^~~~
4 warnings generated.
clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getpass4.c' || echo './'`getpass4.c
clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'ether_hostton.c' || echo './'`ether_hostton.c
realloc.c:31:1: error: conflicting types for 'rpl_realloc'
rpl_realloc (char *p, size_t n)
^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221001-190003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO net-misc/wol
[ebuild  N    ] net-misc/wol-0.7.1-r3  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:57:26 UTC
Created attachment 816454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:57:27 UTC
Created attachment 816457 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:57:28 UTC
Created attachment 816460 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:57:30 UTC
Created attachment 816463 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:57:31 UTC
Created attachment 816466 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:57:32 UTC
Created attachment 816469 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 07:57:33 UTC
Created attachment 816472 [details]
net-misc:wol-0.7.1-r3:20221002-225911.log
Comment 8 Toralf Förster gentoo-dev 2022-10-03 07:57:34 UTC
Created attachment 816475 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-25 12:49:58 UTC
The bug has been referenced in the following commit(s):

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

commit d81e6fb119e0fd226f6001a463458d3f296b6522
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-25 12:46:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 12:47:48 +0000

    net-misc/wol: last-rite net-misc/wol
    
    Bug: https://bugs.gentoo.org/874420
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/wol/wol-0.7.1-r3.ebuild | 2 +-
 profiles/package.mask            | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 10 Larry the Git Cow gentoo-dev 2022-10-25 13:02:12 UTC
The bug has been referenced in the following commit(s):

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

commit 8c87820a089f8a2fb76bbd3ba5dd2783682e5744
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-25 13:02:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 13:02:06 +0000

    net-misc/wol: Clang 16 fixes
    
    Still hosed with newer linux-headers.
    
    Bug: https://bugs.gentoo.org/874420
    Signed-off-by: Sam James <sam@gentoo.org>

 .../wol-0.7.1-Fix-config.h-test-consumption.patch  | 35 +++++++++++++++++++
 .../wol/files/wol-0.7.1-Fix-malloc-detection.patch | 39 ++++++++++++++++++++++
 net-misc/wol/wol-0.7.1-r3.ebuild                   | 15 +++++++--
 3 files changed, 87 insertions(+), 2 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2022-10-29 13:06:53 UTC
The bug has been closed via the following commit(s):

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

commit 605319b0023d5ff2d4a7340102227362e0555618
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-28 20:24:51 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-10-29 13:06:33 +0000

    profiles: un-last-rite net-misc/wol
    
    Closes: https://bugs.gentoo.org/874420
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/28012
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 profiles/package.mask | 5 -----
 1 file changed, 5 deletions(-)

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

commit a630c6eaaf5a17419028c4e311380e2423fcc9c1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-28 20:23:53 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-10-29 13:06:32 +0000

    net-misc/wol: additional build fixes
    
    - Try harder to convince it we've got a decent malloc & realloc
      (if upstream were alive, it'd be worth fixing up the autoconf here, but...)
    
    - Fix build with newer linux-headers(?)
    
    Closes: https://bugs.gentoo.org/874420
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-misc/wol/files/wol-0.7.1-linux-headers.patch          | 11 +++++++++++
 net-misc/wol/{wol-0.7.1-r3.ebuild => wol-0.7.1-r4.ebuild} |  3 +++
 2 files changed, 14 insertions(+)