Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 870666 Details for
Bug 914256
net-misc/curl: 'checking if getifaddrs seems to work' configure test hangs in app-emulation/qemu's qemu-user ppc32 (cURL getiffaddress() not functioning within qemu user chroot ppc32)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test to print getifaddress() functionality within qemu user chroot.
LogundTest.txt (text/plain), 8.25 KB, created by
germ
on 2023-09-16 03:54:28 UTC
(
hide
)
Description:
test to print getifaddress() functionality within qemu user chroot.
Filename:
MIME Type:
Creator:
germ
Created:
2023-09-16 03:54:28 UTC
Size:
8.25 KB
patch
obsolete
>Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.38-r1, 6.4.10-gentoo-dist x86_64) >================================================================= > System Settings >================================================================= >System uname: Linux-6.4.10-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_0_@_2.00GHz-with-glibc2.38 >KiB Mem: 65891436 total, 52425828 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Fri, 15 Sep 2023 05:30:02 +0000 >Head commit of repository gentoo: 29299504925b5f5aa596bf2b2c338a2ee5bd2380 >sh bash 5.2_p15-r6 >ld GNU ld (Gentoo 2.40 p5) 2.40.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p15-r6::gentoo >dev-lang/perl: 5.38.0-r1::gentoo >dev-lang/python: 3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo >dev-lang/rust: 1.72.0::gentoo >dev-util/cmake: 3.27.5::gentoo >dev-util/meson: 1.2.1-r1::gentoo >sys-apps/baselayout: 2.14::gentoo >sys-apps/openrc: 0.49::gentoo >sys-apps/sandbox: 2.38::gentoo >sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo >sys-devel/automake: 1.16.5-r1::gentoo >sys-devel/binutils: 2.40-r5::gentoo, 2.41-r1::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/clang: 16.0.6::gentoo >sys-devel/gcc: 12.3.1_p20230526::gentoo, 13.2.1_p20230826::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/lld: 16.0.6::gentoo >sys-devel/llvm: 16.0.6::gentoo >sys-devel/make: 4.4.1-r1::gentoo >sys-kernel/linux-headers: 6.5::gentoo (virtual/os-headers) >sys-libs/glibc: 2.38-r1::gentoo >Repositories: > >gentoo > location: /var/db/repos/gentoo > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: False > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="*" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=native -pipe" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=native -pipe" >DISTDIR="/var/cache/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --fail-clean y" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=native -pipe" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=native -pipe" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed" >LEX="flex" >MAKEOPTS="-j16 -l16" >PKGDIR="/var/cache/binpkgs" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="X acl alsa amd64 bzip2 cdr cli crypt dbus dri dvdr elogind fortran gdbm gtk iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="alpha aarch64 arm i386 loongarch64 m68k mipsn32 mipsn32el mips mips64 mips64el mipsel ppc ppc64 riscv32 riscv64 s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha aarch64 arm armeb i386 loongarch64 m68k mipsn32 mipsn32el mips mipsel mips64 mips64el ppc ppc64 ppc64abi32 riscv32 riscv64 s390x sh4 sh4eb sparc sparc32plus sparc64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > >================================================================= > Package Settings >================================================================= > >net-misc/curl-8.3.0::gentoo was built with the following: >USE="adns ftp http2 imap openssl pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gnutls -gopher -hsts -idn -kerberos -ldap -mbedtls -nghttp3 -rtmp -rustls -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="32 (64) (-x32)" CURL_SSL="openssl -gnutls -mbedtls -rustls" >FEATURES="protect-owned config-protect-if-modified strict fail-clean qa-unresolved-soname-deps userfetch buildpkg-live ebuild-locks binpkg-logs candy network-sandbox assume-digests distlocks binpkg-docompress ipc-sandbox preserve-libs xattr news usersandbox sign fixlafiles pid-sandbox unmerge-logs unknown-features-warn binpkg-dostrip binpkg-multi-instance multilib-strict userpriv sandbox sfperms unmerge-orphans usersync parallel-fetch merge-sync" > >[ebuild R ] net-misc/curl-8.3.0 USE="adns ftp http2 imap openssl pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gnutls -gopher -hsts -idn -kerberos -ldap -mbedtls -nghttp3 -rtmp -rustls -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="32 (64) (-x32)" CURL_SSL="openssl -gnutls -mbedtls -rustls" > > * IMPORTANT: 4 news items need reading for repository 'gentoo'. > * Use eselect news read to view new items. > >================================================================= > printf getifaddress() >================================================================= >#include <arpa/inet.h> >#include <sys/socket.h> >#include <ifaddrs.h> >#include <stdio.h> > >int main () >{ > struct ifaddrs *ifap, *ifa; > struct sockaddr_in *sa; > char *addr; > > getifaddrs (&ifap); > for (ifa = ifap; ifa; ifa = ifa->ifa_next) { > if (ifa->ifa_addr && ifa->ifa_addr->sa_family==AF_INET) { > sa = (struct sockaddr_in *) ifa->ifa_addr; > addr = inet_ntoa(sa->sin_addr); > printf("Interface: %s\tAddress: %s\n", ifa->ifa_name, addr); > } > } > > freeifaddrs(ifap); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 914256
: 870666 |
870670
|
870671
|
870672
|
870762