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

Bug 929189

Summary: net-misc/vmnet-0.4-r1 - vmnet.c:(.text+<snip>): undefined reference to getpt
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-misc:vmnet-0.4-r1:20240411-142709.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-11 15:32:35 UTC
vmnet.c: In function 'open_pty_pair':
vmnet.c:200:18: warning: implicit declaration of function 'getpt'; did you mean 'getopt'? [-Wimplicit-function-declaration]
  200 |         master = getpt();
      |                  ^~~~~
      |                  getopt
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/net-misc/vmnet-0.4-r1/temp/ccPdPhjM.o: in function `open_pty_pair':
vmnet.c:(.text+0x4b7): undefined reference to `getpt'
collect2: error: ld returned 1 exit status
make: *** [<builtin>: vmnet] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240410-202513

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit b8c134496c40d145af39d470876381172ea14900
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 11 14:04:11 2024 +0000

    2024-04-11 14:04:11 UTC

emerge -qpvO net-misc/vmnet
[ebuild  N    ] net-misc/vmnet-0.4-r1
Comment 1 Toralf Förster gentoo-dev 2024-04-11 15:32:36 UTC
Created attachment 890459 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-11 15:32:37 UTC
Created attachment 890460 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-11 15:32:38 UTC
Created attachment 890461 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-11 15:32:39 UTC
Created attachment 890462 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-11 15:32:40 UTC
Created attachment 890463 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-11 15:32:40 UTC
Created attachment 890464 [details]
net-misc:vmnet-0.4-r1:20240411-142709.log
Comment 7 Toralf Förster gentoo-dev 2024-04-11 15:32:42 UTC
Created attachment 890465 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-11 15:32:42 UTC
Created attachment 890466 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-09 00:23:25 UTC

*** This bug has been marked as a duplicate of bug 907888 ***