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

Bug 716210

Summary: net-vpn/pptpd-1.4.0-r2 : bcrelay.c: error: MSG_TRYHARD undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: pinkbyte
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-vpn:pptpd-1.4.0-r2:20200404-173451.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-04 17:36:53 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.    -O2 -pipe -march=native -fno-builtin -Wall -DSBINDIR=/usr/sbin -c -o bcrelay.o bcrelay.c
bcrelay.c: In function mainloop:
bcrelay.c:670:86: error: MSG_TRYHARD undeclared (first use in this function)
  670 | ent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_TRYHARD, (struct sockaddr *)&sa, salen)) < 0)
      |                                                              ^~~~~~~~~~~


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

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

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

  Please see the tracker bug for details.

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:

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr  4 17:07:58 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO net-vpn/pptpd
[ebuild  N    ] net-vpn/pptpd-1.4.0-r2  USE="tcpd -gre-extreme-debug"
Comment 1 Toralf Förster gentoo-dev 2020-04-04 17:36:56 UTC
Created attachment 630052 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 17:36:58 UTC
Created attachment 630054 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-04 17:37:01 UTC
Created attachment 630056 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-04 17:37:04 UTC
Created attachment 630058 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-04 17:37:07 UTC
Created attachment 630060 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-04 17:37:10 UTC
Created attachment 630062 [details]
net-vpn:pptpd-1.4.0-r2:20200404-173451.log
Comment 7 Toralf Förster gentoo-dev 2020-04-04 17:37:12 UTC
Created attachment 630064 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-07-08 09:45:49 UTC
The bug has been closed via the following commit(s):

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

commit 79eb49c4b63ab163c6633247610596195f237bda
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2020-07-08 09:30:29 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2020-07-08 09:43:38 +0000

    net-vpn/pptpd: revision bump
    
    Fix library path for plugins
    Fix building with Musl
    
    Closes: https://bugs.gentoo.org/716210
    Closes: https://bugs.gentoo.org/730068
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 net-vpn/pptpd/files/pptpd-1.4.0-libdir.patch | 24 +++++++++
 net-vpn/pptpd/files/pptpd-1.4.0-musl.patch   | 16 ++++++
 net-vpn/pptpd/pptpd-1.4.0-r3.ebuild          | 81 ++++++++++++++++++++++++++++
 3 files changed, 121 insertions(+)