Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906879 - dev-qt/qtnetwork-5.15.9-r1: fails to compile with net-libs/libproxy-0.5.0 (ERROR: Feature 'libproxy' was enabled, but the pre-condition 'libs.libproxy' failed.)
Summary: dev-qt/qtnetwork-5.15.9-r1: fails to compile with net-libs/libproxy-0.5.0 (ER...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 906703 (view as bug list)
Depends on:
Blocks: 907047
  Show dependency tree
 
Reported: 2023-05-21 05:57 UTC by Miroslav Šulc
Modified: 2023-11-12 23:02 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,155.97 KB, text/x-log)
2023-05-21 05:57 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2023-05-21 05:57:01 UTC
Created attachment 862072 [details]
build.log

Qt Testlib:
  Tester for item models ................. yes

Note: Option 'gssapi' with value 'no' was specified twice

Note: Overriding option 'libproxy' with 'yes' (was: 'no')

Note: Overriding option 'openssl' with 'linked' (was: 'no')

Note: When linking against OpenSSL, you can override the default
library names through OPENSSL_LIBS.
For example:
    OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked

WARNING: Feature system-xcb-xinput is insignificant in this configuration, ignoring related command line option(s).

ERROR: Feature 'libproxy' was enabled, but the pre-condition 'libs.libproxy' failed.


# emerge --info '=dev-qt/qtnetwork-5.15.9-r1::gentoo'
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.37-r3, 6.3.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.3.3-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900K_@_3.50GHz-with-glibc2.37
KiB Mem:   131753596 total,  71822876 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 21 May 2023 04:30:01 +0000
Head commit of repository gentoo: e8a8f34562f4bf9ba7081c535c7f3466ae143d22
Timestamp of repository brave-overlay: Wed, 17 May 2023 15:16:53 +0000
Head commit of repository brave-overlay: 1aa06da4761c242b660ea1309bea447cd3f25695

Timestamp of repository flavour: Sat, 20 May 2023 06:32:15 +0000
Head commit of repository flavour: 8f80ad88aecb286e4c3d0defc4cb85098caca1c7

Head commit of repository librewolf: c5ed4d7665e8ef3fbbeeb0adc8debfdbec77db0f

Timestamp of repository pf4public: Sun, 21 May 2023 01:33:56 +0000
Head commit of repository pf4public: be8ef175c0b8ad3a34767ec9d9750ab99bd71a15

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.1-r1::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.8-r2::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/gcc:             12.3.1_p20230519::gentoo, 13.1.1_p20230520::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.4::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::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-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo
    volatile: False

flavour
    location: /var/db/repos/flavour
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/flavour.git
    masters: gentoo
    volatile: False

fordfrog
    location: /usr/src/fordfrog.git
    masters: gentoo
    priority: 0
    volatile: True

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo
    volatile: False

local
    location: /usr/local/portage
    masters: gentoo
    volatile: True

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android NVIDIA-SDK PUEL-11"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/db/repos/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions n"
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="-march=native -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="cs cs_CZ en en_US en_UK"
MAKEOPTS="-j17"
PKGDIR="/var/db/repos/gentoo/packages"
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 a52 aac aacplus acl alsa amd64 aubio bluetooth bzip2 cdda cddb cdr cet cli color-management colord crypt cuda cups dbus dia dri dssi dvb dvd elogind exif ffmpeg flac fortran gdbm gegl gif gphoto2 gsm gtk gtk3 hardened hddtemp http2 ibus iconv icu id3tag ipv6 jack jack-dbus jacksession javafx jpeg keyring kwallet ladspa lastfm latex lcms libass libnotify libproxy libsamplerate libtirpc lilypond lm-sensors lto lv2 mad modplug mp3 mpeg mpi mtp multilib musepack ncurses nls nptl nvme ocr ogg openexr opengl openmp optix opus osc pam pcre pdf pie png policykit pulseaudio qt5 raw readline rubberband samba scanner screencast seccomp sf2 sndfile soundio speex spell split-usr ssl ssp startup-notification svg svg2 taglib test-rust theora tiff timidity tk tray truetype udev unicode usb vaapi vamp vdpau verify-sig visio vorbis vpx vst vulkan wavpack webp widevine wmf x264 x265 xattr xinerama xmp xtpax xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2021" APACHE2_MODULES="alias auth_basic authn_core authn_file authz_core authz_host authz_user cgi cgid deflate dir expires filter headers http2 include info log_config mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb status unixd vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="cs cs-CZ en en-US en-UK" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="genesys" VIDEO_CARDS="intel i915 i965 nvidia" 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, 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


# emerge -pqv '=dev-qt/qtnetwork-5.15.9-r1::gentoo'
[ebuild     U ] dev-qt/qtnetwork-5.15.9-r1 [5.15.9] USE="libproxy ssl -connman -debug -gssapi -networkmanager -sctp -test"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-21 05:59:36 UTC
Does <net-libs/libproxy-0.5.0 work?
Comment 2 Miroslav Šulc gentoo-dev 2023-05-21 06:12:25 UTC
(In reply to Sam James from comment #1)
> Does <net-libs/libproxy-0.5.0 work?

yes, it compiles fine with net-libs/libproxy-0.4.18
Comment 3 Larry the Git Cow gentoo-dev 2023-05-24 12:46:55 UTC
The bug has been closed via the following commit(s):

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

commit 17eefd7b6289ed7e523dd4d598534e474cf99f98
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-24 12:45:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-24 12:46:37 +0000

    net-libs/libproxy: add 0.5.1
    
    Closes: https://bugs.gentoo.org/906755
    Closes: https://bugs.gentoo.org/906879
    Closes: https://bugs.gentoo.org/906957
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libproxy/Manifest              |  1 +
 net-libs/libproxy/libproxy-0.5.1.ebuild | 71 +++++++++++++++++++++++++++++++++
 profiles/package.mask                   |  5 +++
 3 files changed, 77 insertions(+)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-24 14:05:44 UTC
Reopening as fordfrog reports there's still an issue.

I think it's a bit different now, but here:
```
Checking for libproxy...
Trying source 0 (type inline) of library libproxy ...
proxy.h not found in [] and global paths.
  => source produced no result.
test config.qtbase_network.libraries.libproxy FAILED
```

Upstream have moved proxy.h to a private subdir: https://github.com/libproxy/libproxy/issues/226#issuecomment-1557064225.
Comment 5 Eli Schwartz gentoo-dev 2023-05-24 14:18:28 UTC
The basic moral of this story seems to be that Qt wasn't using the pkg-config file so they just hoped and prayed that proxy.h was in the compiler default search path.

The reporter for the upstream bug decided to symlink it to the compiler default search path as a local hack for NetBSD pkgsrc, which is... definitely something. I don't think libproxy itself currently intends to solve the problem of "consumers didn't use pkg-config and assumed the header location".
Comment 6 Larry the Git Cow gentoo-dev 2023-05-24 18:39:40 UTC
The bug has been closed via the following commit(s):

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

commit 07a156795982a897c4a30aa154e22038970af90f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-05-24 18:33:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-05-24 18:33:52 +0000

    dev-qt/qtnetwork: Fix build with >=net-libs/libproxy-0.5.1
    
    Bug: https://bugs.gentoo.org/907047
    Closes: https://bugs.gentoo.org/906879
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../qtnetwork-5.15.9-libproxy-0.5-pkgconfig.patch  | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
Comment 7 Bernd Buschinski 2023-05-25 07:12:38 UTC
Do I see it correctly that the latest "fix" just added a patch, but it is not used in any of the ebuilds?
Comment 8 Miroslav Šulc gentoo-dev 2023-05-25 07:19:39 UTC
yes, it still isn't fixed.
Comment 9 Larry the Git Cow gentoo-dev 2023-05-25 07:25:08 UTC
The bug has been closed via the following commit(s):

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

commit c387a831cee977c7db88556b7a11360d1fb5f27f
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2023-05-25 07:25:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-05-25 07:25:01 +0000

    dev-qt/qtnetwork: added libproxy patch to 5.15.9-r2
    
    Closes: https://bugs.gentoo.org/906879
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-qt/qtnetwork/qtnetwork-5.15.9-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 10 Andreas Sturmlechner gentoo-dev 2023-05-25 07:32:28 UTC
Thanks for fixing my apparent git mishap there.
Comment 11 Andreas Sturmlechner gentoo-dev 2023-11-12 23:02:53 UTC
*** Bug 906703 has been marked as a duplicate of this bug. ***