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

Bug 716264

Summary: net-irc/irc-server-2.11.1_p1-r4 : ../.../s_bsd.c: error: too many arguments to function setpgrp
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: musl, sam
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-irc:irc-server-2.11.1_p1-r4:20200404-231759.log

Description Toralf Förster gentoo-dev 2020-04-05 09:07:13 UTC
      |  ^~~~~~~
../ircd/s_bsd.c: In function daemonize:
../ircd/s_bsd.c:782:9: error: too many arguments to function setpgrp
  782 |   (void)setpgrp(0, (int)getpid());
      |         ^~~~~~~
In file included from ../common/os.h:61,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr  4 22:37:54 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO net-irc/irc-server
[ebuild  N    ] net-irc/irc-server-2.11.1_p1-r4  USE="ipv6 zlib"
Comment 1 Toralf Förster gentoo-dev 2020-04-05 09:07:16 UTC
Created attachment 630218 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-05 09:07:19 UTC
Created attachment 630220 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-05 09:07:22 UTC
Created attachment 630222 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-05 09:07:25 UTC
Created attachment 630224 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-05 09:07:27 UTC
Created attachment 630226 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-05 09:07:30 UTC
Created attachment 630228 [details]
net-irc:irc-server-2.11.1_p1-r4:20200404-231759.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-05 09:13:01 UTC
As per http://man7.org/linux/man-pages/man2/setpgid.2.html, need to use setpgid() instead for musl.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-30 01:05:10 UTC
The bug has been referenced in the following commit(s):

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

commit 01100e28006a203f7c11a353eb66b59f08de80ff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-08-30 01:04:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-30 01:05:00 +0000

    profiles/package.mask: last-rite net-irc/irc-server
    
    Bug: https://bugs.gentoo.org/633346
    Bug: https://bugs.gentoo.org/708408
    Bug: https://bugs.gentoo.org/716264
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2020-09-30 15:17:48 UTC
The bug has been referenced in the following commit(s):

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

commit ca36de6c32adb446067d48d898a524dc03d905c2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-30 15:10:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-30 15:17:14 +0000

    net-irc/irc-server: remove last-rited package
    
    Bug: https://bugs.gentoo.org/633346
    Bug: https://bugs.gentoo.org/708408
    Bug: https://bugs.gentoo.org/716264
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/irc-server/Manifest                       |   1 -
 net-irc/irc-server/files/2.10.3_p3-gentoo.patch   |  11 ---
 net-irc/irc-server/files/ircd.confd               |  10 --
 net-irc/irc-server/files/ircd.rc                  |  30 ------
 net-irc/irc-server/irc-server-2.11.1_p1-r4.ebuild | 110 ----------------------
 net-irc/irc-server/metadata.xml                   |   5 -
 profiles/package.mask                             |   1 -
 7 files changed, 168 deletions(-)