Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721696 - media-gfx/iscan-3.62.0: monitor.cpp:79:56: error: ‘_1’ was not declared in this scope
Summary: media-gfx/iscan-3.62.0: monitor.cpp:79:56: error: ‘_1’ was not declared in th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marcin Deranek
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: boost-1.74
  Show dependency tree
 
Reported: 2020-05-08 21:26 UTC by Chris Smith
Modified: 2020-11-20 19:59 UTC (History)
4 users (show)

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


Attachments
build log (iscan-3.62.0.build.log,32.37 KB, text/x-log)
2020-05-08 21:26 UTC, Chris Smith
Details
Fix error compile with boost-1.73 (iscan-3.62.0-boost-1.73.patch,1.15 KB, patch)
2020-05-09 17:32 UTC, alexandrl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2020-05-08 21:26:17 UTC
monitor.cpp: In member function ‘std::string utsushi::monitor::default_device() const’:                                                                 
monitor.cpp:79:56: error: ‘_1’ was not declared in this scope               
   79 |                   bind (&scanner::info::is_driver_set, _1));
      |                                                        ^~        

Reproducible: Always




emerge --info
Portage 2.3.99 (python 3.8.2-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.1.0, glibc-2.31-r2, 5.6.11-gentoo x86_64)
=================================================================
System uname: Linux-5.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-glibc2.2.5
KiB Mem:    32837240 total,  14685672 free
KiB Swap:    6291452 total,   6289136 free
Timestamp of repository gentoo: Fri, 08 May 2020 21:05:16 +0000
Head commit of repository gentoo: 4ba6a19fe51747928e95c07db9ffa264b12061b6

Head commit of repository audio-overlay: f750fd89a4c673d0078c5fe6e0207c7298f7eaf0

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo, 3.9.0_alpha6::gentoo
dev-util/cmake:           3.17.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            10.1.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000

audio-overlay
    location: /usr/local/portage/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo

tcgOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/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"
CXX="g++"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs 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="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="V=1 -j1"
PKGDIR="/usr/portage/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"
USE="X a52 aac aalib acl acpi activities aes alsa amd64 amr apache2 audiofile avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm chromecast cleartype cli corefonts crypt cups curl dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook egl emboss encode exif fam fdk ffmpeg flac fortran gdbm gif gles2 gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea kwallet ladspa lame lash lcms libffi libinput libnotify libtirpc linguas_en_US lv2 lzma mad marble midi mmap mmx mmxext mng mozilla mp3 mp4 mpeg mtp musicbrainz ncurses network nls nodrm nptl nsplugin nvenc nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop slp smp sndfile speex spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" 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="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="(-python2_7) (-python3_6) python3_7 python3_8" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="(-ruby23) (-ruby24) (-ruby25) (-ruby26) ruby27" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Smith 2020-05-08 21:26:51 UTC
Created attachment 636904 [details]
build log
Comment 2 alexandrl 2020-05-09 17:32:24 UTC
Created attachment 637184 [details, diff]
Fix error compile with boost-1.73

Problem with boost-1.73.
With iscan-3.62.0-boost-1.73.patch compile fine for me.
Comment 3 Chris Smith 2020-05-09 18:18:02 UTC
After applying the patch I get a different error.
The patch may solve the issue with boost but not with gcc-10.1.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-10 12:06:06 UTC
The bug has been closed via the following commit(s):

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

commit c35585303c48d0746234352cca0df3e1b9ff8fd3
Author:     Marcin Deranek <marcin.deranek@booking.com>
AuthorDate: 2020-05-10 11:52:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-10 12:05:52 +0000

    media-gfx/iscan: fix building with boost 1.73
    
    Closes: https://bugs.gentoo.org/721696
    Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net>
    Closes: https://github.com/gentoo/gentoo/pull/15737
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../iscan/files/iscan-3.62.0-boost-1.73.patch      | 33 ++++++++++++++++++++++
 media-gfx/iscan/iscan-3.62.0.ebuild                |  1 +
 2 files changed, 34 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2020-05-15 00:32:34 UTC
The bug has been referenced in the following commit(s):

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

commit 6686b80086095c84794d6450be2d0ff6231f0ba6
Author:     Marcin Deranek <marcin.deranek@booking.com>
AuthorDate: 2020-05-10 20:29:57 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-05-15 00:31:17 +0000

    media-gfx/iscan: fix building with boost 1.73 when gui use enabled
    
    Bug: https://bugs.gentoo.org/721696
    Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net>
    Closes: https://github.com/gentoo/gentoo/pull/15742
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 media-gfx/iscan/files/iscan-3.62.0-boost-1.73.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 6 Andreas Sturmlechner gentoo-dev 2020-11-20 13:42:04 UTC
Is media-gfx/iscan-2.30.4.2-r1 unaffacted by this build failure or should some 3.x version be stabilised?
Comment 7 Marcin Deranek 2020-11-20 19:59:29 UTC
Probably both: iscan-2 is completely different beast than iscan-3. See #715420 for details. I believe iscan-3.63 is stable.