Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929189 - net-misc/vmnet-0.4-r1 - vmnet.c:(.text+<snip>): undefined reference to getpt
Summary: net-misc/vmnet-0.4-r1 - vmnet.c:(.text+<snip>): undefined reference to getpt
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-11 15:32 UTC by Toralf Förster
Modified: 2024-04-11 15:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.57 KB, text/plain)
2024-04-11 15:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,43.73 KB, text/plain)
2024-04-11 15:32 UTC, Toralf Förster
Details
environment (environment,77.27 KB, text/plain)
2024-04-11 15:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,992 bytes, application/x-xz)
2024-04-11 15:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.41 KB, application/x-xz)
2024-04-11 15:32 UTC, Toralf Förster
Details
net-misc:vmnet-0.4-r1:20240411-142709.log (net-misc:vmnet-0.4-r1:20240411-142709.log,2.29 KB, text/plain)
2024-04-11 15:32 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,85.62 KB, text/plain)
2024-04-11 15:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.13 KB, application/x-xz)
2024-04-11 15:32 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 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