Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870856 - net-mail/dot-forward-0.71-r4 - dot-forward.c: error: call to undeclared function pipe; ISO C99 and later
Summary: net-mail/dot-forward-0.71-r4 - dot-forward.c: error: call to undeclared funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
: 871264 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 16:03 UTC by Toralf Förster
Modified: 2023-04-06 08:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2022-09-17 16:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.72 KB, text/plain)
2022-09-17 16:03 UTC, Toralf Förster
Details
environment (environment,92.67 KB, text/plain)
2022-09-17 16:03 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.51 KB, application/x-bzip)
2022-09-17 16:03 UTC, Toralf Förster
Details
net-mail:dot-forward-0.71-r4:20220917-152854.log (net-mail:dot-forward-0.71-r4:20220917-152854.log,47.33 KB, text/plain)
2022-09-17 16:03 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.71 KB, application/x-bzip)
2022-09-17 16:03 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 2022-09-17 16:03:18 UTC
    ^
./strerr.h:37:12: note: expanded from macro 'strerr_warn2'
strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struc...
           ^
dot-forward.c:78:7: error: call to undeclared function 'pipe'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	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-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 27e349751fc08f79c6f96f84652edf0c93ba9a1f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 14:46:52 2022 +0000

    2022-09-17 14:46:52 UTC

emerge -qpvO net-mail/dot-forward
[ebuild  N    ] net-mail/dot-forward-0.71-r4
Comment 1 Toralf Förster gentoo-dev 2022-09-17 16:03:20 UTC
Created attachment 808186 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 16:03:21 UTC
Created attachment 808189 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 16:03:23 UTC
Created attachment 808192 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 16:03:24 UTC
Created attachment 808195 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 16:03:26 UTC
Created attachment 808198 [details]
net-mail:dot-forward-0.71-r4:20220917-152854.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 16:03:27 UTC
Created attachment 808201 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-30 21:01:47 UTC
*** Bug 871264 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-30 21:10:56 UTC
I started on this and got frustrated with the stdio wrappers.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-04 00:00:22 UTC
The bug has been closed via the following commit(s):

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

commit 9c55e17fa71a6e6c06b486aa5436b94f2560b25b
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-10-23 17:41:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-03 23:51:56 +0000

    net-mail/dot-forward: fix ebuild to work with clang16
    
    Closes: https://bugs.gentoo.org/870856
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/27918
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/dot-forward/Manifest                   |  1 +
 net-mail/dot-forward/dot-forward-0.71-r5.ebuild | 65 +++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2023-04-06 08:09:29 UTC
The bug has been referenced in the following commit(s):

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

commit a8ad1dd3093bf5c4e83424f8366a7dde9e1a486d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-06 08:09:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-06 08:09:16 +0000

    net-mail/dot-forward: fix AR
    
    Closes: https://bugs.gentoo.org/890192
    Bug: https://bugs.gentoo.org/879555
    Bug: https://bugs.gentoo.org/870856
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/dot-forward/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)