FAILED: src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.cpp.o /usr/bin/aarch64-unknown-linux-gnu-g++ -Dosgdb_resthttp_EXPORTS -Iinclude -I/var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/include -D__STDC_CONSTANT_MACROS -march=armv8-a+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wmaybe-uninitialized -Wextra -Wshadow -Wno-misleading-indentation -fPIC -MD -MT src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.cpp.o -MF src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.cpp.o.d -o src/osgPlugins/RestHttpDevice/CMakeFiles/osgdb_resthttp.dir/connection.cpp.o -c /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.hpp:17, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:11: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp: In member function ‘void http::server::connection::start()’: /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:43:29: error: ‘error’ is not a member of ‘asio::placeholders’; did you mean ‘asio::error’? 43 | asio::placeholders::error, | ^~~~~ In file included from /usr/include/asio/detail/impl/posix_tss_ptr.ipp:24, from /usr/include/asio/detail/posix_tss_ptr.hpp:74, from /usr/include/asio/detail/tss_ptr.hpp:27, from /usr/include/asio/detail/call_stack.hpp:20, from /usr/include/asio/detail/thread_context.hpp:20, from /usr/include/asio/detail/recycling_allocator.hpp:20, from /usr/include/asio/detail/handler_alloc_helpers.hpp:21, from /usr/include/asio/detail/executor_function.hpp:19, from /usr/include/asio/execution/any_executor.hpp:23, from /usr/include/asio/execution.hpp:19, from /usr/include/asio/system_executor.hpp:20, from /usr/include/asio/associated_executor.hpp:22, from /usr/include/asio.hpp:19, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.hpp:14, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:11: /usr/include/asio/error.hpp:64:11: note: ‘asio::error’ declared here 64 | namespace error { | ^~~~~ /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:44:29: error: ‘bytes_transferred’ is not a member of ‘asio::placeholders’ 44 | asio::placeholders::bytes_transferred)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp: In member function ‘void http::server::connection::handle_read(const error_code&, std::size_t)’: /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:61:33: error: ‘error’ is not a member of ‘asio::placeholders’; did you mean ‘asio::error’? 61 | asio::placeholders::error)); | ^~~~~ In file included from /usr/include/asio/detail/impl/posix_tss_ptr.ipp:24, from /usr/include/asio/detail/posix_tss_ptr.hpp:74, from /usr/include/asio/detail/tss_ptr.hpp:27, from /usr/include/asio/detail/call_stack.hpp:20, from /usr/include/asio/detail/thread_context.hpp:20, from /usr/include/asio/detail/recycling_allocator.hpp:20, from /usr/include/asio/detail/handler_alloc_helpers.hpp:21, from /usr/include/asio/detail/executor_function.hpp:19, from /usr/include/asio/execution/any_executor.hpp:23, from /usr/include/asio/execution.hpp:19, from /usr/include/asio/system_executor.hpp:20, from /usr/include/asio/associated_executor.hpp:22, from /usr/include/asio.hpp:19, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.hpp:14, from /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:11: /usr/include/asio/error.hpp:64:11: note: ‘asio::error’ declared here 64 | namespace error { | ^~~~~ /var/tmp/portage/dev-games/openscenegraph-3.6.5/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/RestHttpDevice/connection.cpp:68:33: error: ‘error’ is not a member of ‘asio::placeholders’; did you mean ‘asio::error’? 68 | asio::placeholders::error)); | ^~~~~ Portage 3.0.6 (python 3.6.12-final-0, default/linux/arm64/17.0/desktop, gcc-10.2.0, glibc-2.32-r1, 5.4.45-v8-3b41649ff96d-p4-bis+ aarch64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.45-v8-3b41649ff96d-p4-bis+-aarch64-with-gentoo-2.7 KiB Mem: 3703932 total, 2787564 free KiB Swap: 2899960 total, 2898936 free Timestamp of repository gentoo: Wed, 09 Sep 2020 13:30:01 +0000 Head commit of repository gentoo: 11742071893c556df631b935646aa8de9fb16363 Head commit of repository sakaki-tools: c97a6c18c4278fe1f487262e09640b6f9f580ab1 Head commit of repository genpi64: e184a2c220bc52f93cb1dcbcb533eeaa815d4b72 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 distcc 3.3.3 aarch64-unknown-linux-gnu [disabled] app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.6.12::gentoo, 3.7.9::genpi64, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://isshoni.org/gentoo-portage-pi64-gem priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sakaki-tools location: /var/db/repos/sakaki-tools sync-type: git sync-uri: https://github.com/sakaki-/sakaki-tools.git masters: gentoo priority: 50 genpi64 location: /var/db/repos/genpi64 sync-type: git sync-uri: https://github.com/sakaki-/genpi64-overlay.git masters: gentoo priority: 100 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /boot/startup.sh /etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l4" PKGDIR="/var/cache/binpkgs" PORTAGE_BINHOST="https://isshoni.org/pi64pie" 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" USE="X a52 aac acl acpi alsa arm64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvdr egl emboss encode exif ffmpeg flac fortran gdbm gif gles1 gles2 gpm gtk gui iconv icu ipv6 jpeg lcms ldap libglvnd libnotify libtirpc lock mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt4 qt5 readline sdl seccomp spell split-usr ssl startup-notification svg systemd tcpd thunar tiff truetype udev udisks unicode upower usb vorbis warmstarts wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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 synaptics" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="WebAssembly BPF" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby25 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev vc4 v3d" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-games/openscenegraph-3.6.5::gentoo was built with the following: USE="ffmpeg gif gstreamer jpeg pdf png sdl sdl2 svg tiff truetype wxwidgets xrandr zlib -asio -curl -debug -dicom -doc -egl -examples -fltk (-fox) -gdal -glut -las -lua -openexr -openinventor -osgapps -vnc" Reproducible: Always
Please attach build.log and emerge --info output.
Nevertheless, it's confirmed. I will apply the following patch https://github.com/microsoft/vcpkg/pull/11715/commits/ac5244aede5429bb159086052f061b9afa8a5243#diff-df6b1c8b3acf3f514ca5f90cbc8d5397 and added some fixes to make it work, to force use boost::asio instead. Boost was it seems already dependency for that plugin (boost::shared_pointer usage), so it doesn't add anything new.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad9aed9c70ec387d36e928871207af5107c7450 commit 4ad9aed9c70ec387d36e928871207af5107c7450 Author: Maciej Mrozowski <reavertm@gentoo.org> AuthorDate: 2020-09-26 18:14:25 +0000 Commit: Maciej Mrozowski <reavertm@gentoo.org> CommitDate: 2020-09-26 18:16:02 +0000 dev-games/openscenegraph: use boost::asio to fix building RestHttpDevice plugin Closes: https://bugs.gentoo.org/744001 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org> .../openscenegraph-3.6.5-use_boost_asio.patch | 274 +++++++++++++++++++++ ...3.6.5.ebuild => openscenegraph-3.6.5-r1.ebuild} | 6 +- 2 files changed, 277 insertions(+), 3 deletions(-)
*** Bug 698866 has been marked as a duplicate of this bug. ***