Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875443 - net-vpn/vtun-3.0.3-r2 - client.c: error: call to undeclared function setproctitle; ISO C99 and
Summary: net-vpn/vtun-3.0.3-r2 - client.c: error: call to undeclared function setproct...
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: PMASKED, PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:12 UTC by Toralf Förster
Modified: 2022-12-16 05:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.68 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,28.30 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
environment (environment,80.45 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.15 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.43 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
net-vpn:vtun-3.0.3-r2:20221005-135627.log (net-vpn:vtun-3.0.3-r2:20221005-135627.log,10.72 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.01 KB, application/x-bzip)
2022-10-05 18:12 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-10-05 18:12:02 UTC
            ^
main.c:142:2: note: used here
        clear_nat_hack_flags(svr);
        ^
client.c:90:2: error: call to undeclared function 'setproctitle'; 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_desktop_plasma-j4-20221005-090901

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit ca8c7cbebeb4c62522c12f7ef4e88fd9eb82fbc5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 13:03:21 2022 +0000

    2022-10-05 13:03:21 UTC

emerge -qpvO net-vpn/vtun
[ebuild  N    ] net-vpn/vtun-3.0.3-r2  USE="ssl zlib -lzo -socks5"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:12:03 UTC
Created attachment 821128 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:12:03 UTC
Created attachment 821131 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:12:05 UTC
Created attachment 821134 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:12:06 UTC
Created attachment 821137 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:12:07 UTC
Created attachment 821140 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:12:08 UTC
Created attachment 821143 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:12:09 UTC
Created attachment 821146 [details]
net-vpn:vtun-3.0.3-r2:20221005-135627.log
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:12:10 UTC
Created attachment 821149 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-12-16 05:20:42 UTC
The bug has been closed via the following commit(s):

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

commit ca305be17ae525e1b4ed7ba9bf87dba5f9d5c326
Author:     Jan-Espen Oversand <sigsegv@radiotube.org>
AuthorDate: 2022-12-13 18:31:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-16 05:20:05 +0000

    net-vpn/vtun: fix implicit function decls
    
    Fix implicit setproctitle, also this is libbsd so libbsd is a runtime depencency.
    
    Also fix implicit getpt, grantpt, ptsname, by enabling nonstandard (_GNU_SOURCE)
    gnu extensions and extra open/posix (_XOPEN_SOURCE).
    
    Closes: https://bugs.gentoo.org/875443
    Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>
    Closes: https://github.com/gentoo/gentoo/pull/28656
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/vtun/files/vtun-3.0.3-includes.patch       | 12 ++++++++++-
 net-vpn/vtun/files/vtun-3.0.4-includes.patch       | 24 +++++++++++++++++++++-
 .../{vtun-3.0.3-r2.ebuild => vtun-3.0.3-r3.ebuild} |  5 +++--
 .../{vtun-3.0.4.ebuild => vtun-3.0.4-r1.ebuild}    |  3 ++-
 4 files changed, 39 insertions(+), 5 deletions(-)