Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727372 - dev-cpp/cpp-hocon-0.2.1: /tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/lib/src/tokenizer.cc:310:42: error: ‘narrow’ is not a member of ‘boost::nowide’
Summary: dev-cpp/cpp-hocon-0.2.1: /tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 760417
Blocks: boost-1.74
  Show dependency tree
 
Reported: 2020-06-07 07:09 UTC by Michał Górny
Modified: 2021-04-17 11:40 UTC (History)
6 users (show)

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


Attachments
/var/log/portage/dev-cpp:cpp-hocon-0.2.1:20200607-070703.log (dev-cpp:cpp-hocon-0.2.1:20200607-070703.log,43.83 KB, text/plain)
2020-06-07 07:09 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-07 07:09:41 UTC
Created attachment 643738 [details]
/var/log/portage/dev-cpp:cpp-hocon-0.2.1:20200607-070703.log

FAILED: lib/CMakeFiles/libprojectsrc.dir/src/tokenizer.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++-9.2.0 -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.cpp-hocon\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1_build\" -DPROJECT_NAME=\"cpp-hocon\" -I/tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/lib/inc -I/tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/../vendor/nowide/include  -DNDEBUG -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -fPIC -MD -MT lib/CMakeFiles/libprojectsrc.dir/src/tokenizer.cc.o -MF lib/CMakeFiles/libprojectsrc.dir/src/tokenizer.cc.o.d -o lib/CMakeFiles/libprojectsrc.dir/src/tokenizer.cc.o -c /tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/lib/src/tokenizer.cc
/tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/lib/src/tokenizer.cc: In member function ‘void hocon::token_iterator::pull_escape_sequence(std::string&, std::string&)’:
/tmp/portage/dev-cpp/cpp-hocon-0.2.1/work/cpp-hocon-0.2.1/lib/src/tokenizer.cc:310:42: error: ‘narrow’ is not a member of ‘boost::nowide’
  310 |                 parsed += boost::nowide::narrow(buffer);
      |                                          ^~~~~~
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-07 07:10:27 UTC
Portage 2.3.100 (python 3.8.3-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r3, 5.6.16 x86_64)
=================================================================
System uname: Linux-5.6.16-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.2.5
KiB Mem:    32896584 total,  16436240 free
KiB Swap:    1255420 total,   1255420 free
Timestamp of repository gentoo: Sun, 07 Jun 2020 05:05:32 +0000
Head commit of repository gentoo: 9c6e2bb9c80367da9ea1b64d5793098722a1866d

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta1::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.3::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.15.1-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            9.2.0-r4::gentoo, 9.3.0::gentoo, 10.1.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

python
    location: /home/mgorny/git/python
    masters: gentoo

mgorny
    location: /home/mgorny/git/mgorny-repo
    masters: gentoo
    priority: 10000

Installed sets: @mg_depends_cb_agent
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="CC-PD man-pages wxWinFDL-3 LDP-1 vlgothic MaxMind2 CC-BY-SA-1.0 UbuntuFontLicense-1.0 Texinfo-manual CC-SA-1.0 myspell-en_CA-KevinAtkinson LDP-1a quake1-textures man-pages-posix-2013 BAEKMUK mplus-fonts man-pages-posix BitstreamVera IPAfont FreeArt GPL-1+ CC-BY-4.0 FDL-1.1+ CC-BY-SA-2.0 CC-BY-SA-2.5 GPL-2 GPL-3 CC-BY-SA-3.0 FDL-1.1 FDL-1.3+ CC-BY-3.0 GPL-2+ OFL FDL-1.3 CC-BY-SA-4.0 FDL-1.2+ FDL-1.2 CC-BY-2.5 CC-BY-2.0 Arphic OFL-1.1 OPL GPL-1 GPL-3+ alternate repoze photopc Flashpix sdlsasteroids psutils Ispell lsof CAOSL Time-modules Crypt-IDEA flexmock SSLeay tumbolia CPL-0.5 pngcrush BSD-with-attribution ipx-utils BSD-with-disclosure File-MMagic ipadic TeX torque-2.5 LPPL-1.3 CDDL-1.1 libpng HTML-Tidy Xdebug Princeton inner-net PHP-2.02 Mini-XML TeX-other-free htmlc libpng2 MIT-with-advertising Old-MIT wm2 the-Click-license UCAR-Unidata ZSH imagemagick AIFFWriter.m DUMB-0.9.3 mpich2 Time-Format FLTK ErlPL-1.1 icu dom4j BZIP2 libmng JOVE tcp_wrappers_license ngrep mm rwpng LLVM-Grant gsm otter boehm-gc Sendmail LPPL-1.3b IDPL tm-align URT CeCILL-C openafs-krb5-a symlinks FVWM BEER-WARE x2x Interbase-1.0 BSD-1 xtrs JNIC NCSA-HDF Info-ZIP canfep DES xboing shrimp LIBGLOSS scanlogd CMake docbook netcat LambdaMOO perforce pngnq sash bufexplorer.vim regexp-UofT VTK NEWLIB JDOM minpack tcltk Emacs gd AMPAS Toyoda buddy CRACKLIB Khronos-CLHPP matplotlib iASL par rc libtiff Allegro Openwall eGenixPublic-1.1 freetts Sendmail-Open-Source SVFL CDDL-Schily FastCGI rdisc XC FLEX xbatt w3m PCRE tablelist bea.ri.jsr173 feh Subversion totd RSA Sympow-BSD ElementTree Snd SMAIL IPAfont APL-1.0 GPL-1+ AFL-3.0 IBM CDDL LGPL-2.1 nethack POSTGRESQL LGPL-2+ EUPL-1.1 BSD LGPL-3+ ECL-2.0 MPL-1.0 GPL-2 PHP-3.01 wxWinLL-3 GPL-3 Apache-1.1 Apache-2.0 ZPL Ms-PL APSL-2 GPL-2+ PHP-3 QPL CPL-1.0 Artistic-2 Sleepycat Watcom-1.0 HPND Artistic BSD-2 MIT EPL-2.0 Boost-1.0 LGPL-3 PSF-2 OSL-2.1 CPAL-1.0 W3C MPL-1.1 UoI-NCSA LPPL-1.3c EPL-1.0 LGPL-2.1+ CNRI AGPL-3 AGPL-3+ NOSA OFL-1.1 ISC GPL-3+ ZLIB MPL-2.0 NPL-1.1 AFL-3.0 IBM CDDL Zend-2.0 BSD-4 libgcc WTFPL-2 GPL-1+ SGI-B-2.0 Ruby-BSD LGPL-2.1-with-linking-exception PSF-2.2 LGPL-2.1 LGPL-2+ gcc-runtime-library-exception-3.1 public-domain Nokia-Qt-LGPL-Exception-1.1 LGPL-3+ BSD Apache-2.0-with-LLVM-exceptions ECL-2.0 GPL-2-with-exceptions GPL-2 GPL-3-with-openssl-exception GPL-2-with-linking-exception GPL-3 GPL-3+ GPL-2+-with-openssl-exception LGPL-2 metapackage UPX-exception LGPL-3-with-linking-exception wxWinLL-3.1 PSF-2.3 Apache-2.0 GPL-3+-with-cuda-openssl-exception LGPL-2-with-linking-exception tanuki-community ZPL qwt Transmission-OpenSSL-exception GPL-2-with-font-exception CeCILL-2 Clear-BSD GPL-2+ PSF-2.4 GPL-3+-with-opencl-openssl-exception FTL Artistic-2 Sleepycat HPND PYTHON BSD-2 Clarified-Artistic MIT GPL-2-with-classpath-exception Boost-1.0 OPENLDAP vim LGPL-3 PSF-2 GPL-2-with-MySQL-FLOSS-exception W3C unicode libstdc++ ISC GPL-3+-with-opencl-exception Unlicense UoI-NCSA GPL-3+-with-cuda-exception LGPL-2.1+ AGPL-3 AGPL-3+ GPL-3-with-font-exception GPL-1 Ruby CC0-1.0 IJG ZLIB MPL-2.0 EUPL-1.1 PHP-3.01 MPL-1.0 Apache-1.1 OSL-1.1 OSL-2.0 Ms-PL APSL-2 QPL QPL-1.0 CPL-1.0 FraunhoferFDK openssl LPPL-1.2 EPL-2.0 AFL-2.1 OSL-2.1 CPAL-1.0 MPL-1.1 gnuplot EPL-1.0 Apache-1.0 CNRI -AGPL-3 -AGPL-3+"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-9.2.0"
CFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
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"
CXX="x86_64-pc-linux-gnu-g++-9.2.0"
CXXFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n --dynamic-deps=n --autounmask=n"
ENV_UNSET="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="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.vectranet.pl/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/"
INSTALL_MASK="/test /usr/share/locale -/usr/share/locale/pl"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j12"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_BINHOST=" 	https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy 	https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel"
PORTAGE_COMPRESS="lzip"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS --exclude=/metadata/cache --omit-dir-times"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X a52 aac acl adns aio alsa amd64 ayatana bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr cli crypt cups curl dbus djvu dri dts dvb dvd dvdr egl emboss exif fftw flac fontconfig fortran gd gif glamor gmp gnuplot gnutls gphoto2 gstreamer gtk iconv icu idn ipv6 jpeg jpeg2k kate latex lcms libass libatomic liblockfile libnotify libproxy libsamplerate libsecret libtiger libtirpc linguas_pl lz4 lzma lzo mad mmap mmxext mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg openal opengl openmp openvg opus osmesa pam pango pch pcre pcre-jit pdf plotutils png policykit postscript ppds pulseaudio qt3support qt5 readline sctp sdl seccomp slang smp sndfile speex spell split-usr sse3 ssl startup-notification svg systemd t1lib tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vaapi vhosts vim-syntax vorbis wavpack wayland webp wmf wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel emu10k1 mpu401 pcsp virmidi" APACHE2_MODULES="socache_shmcb unixd actions alias deflate filter mime mime_magic negotiation rewrite" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a 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="libinput" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" LLVM_TARGETS="*" NGINX_MODULES_HTTP="gzip limit_conn limit_req rewrite spdy uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_7 *" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 ppc ppc64 ppc64abi32 x86_64" QEMU_USER_TARGETS="aarch64 arm ppc ppc64" RUBY_TARGETS="ruby24 ruby25 *" SANE_BACKENDS="artec_eplus48u test" USERLAND="GNU" VIDEO_CARDS="nouveau radeon vesa r600 s3" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-07 18:11:31 UTC
looks like boost doesn't have something this needs
Comment 3 Podko Andrew 2020-07-12 12:56:51 UTC
Looks like cpp-hocon-0.3.0 doen't have this issue.
'facter' that requires this packages also works well with cpp-hocon-0.3.0
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-07-12 20:18:36 UTC
sounds like we can just drop the old hocon version
Comment 5 Larry the Git Cow gentoo-dev 2020-07-12 21:43:25 UTC
The bug has been referenced in the following commit(s):

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

commit cef788711865f86dec3a5eac3deb081217aaf608
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-07-12 21:43:07 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-07-12 21:43:19 +0000

    dev-cpp/cpp-hocon: 0.3.0 bump
    
    may help fix
    Bug: https://bugs.gentoo.org/727372
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 dev-cpp/cpp-hocon/Manifest               |  1 +
 dev-cpp/cpp-hocon/cpp-hocon-0.3.0.ebuild | 23 +++++++++++++++++++++++
 dev-cpp/cpp-hocon/metadata.xml           |  3 ---
 3 files changed, 24 insertions(+), 3 deletions(-)
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-07-12 21:43:58 UTC
please test the 0.3.0 version just added to tree, we can move it to stable quicker if it fixes this for you.
Comment 7 Ewoud Kohl van Wijngaarden 2020-11-29 14:16:55 UTC
I can confirm that 0.2.1 failed for me with the error while 0.3.0 does build.
Comment 8 Evert 2020-11-30 08:35:37 UTC
(In reply to Ewoud Kohl van Wijngaarden from comment #7)
> I can confirm that 0.2.1 failed for me with the error while 0.3.0 does build.

Same here
Comment 9 Fabian Groffen gentoo-dev 2020-12-02 15:43:35 UTC
+1
Comment 10 Brian Evans (RETIRED) gentoo-dev 2020-12-17 03:09:12 UTC
+1  breaks with stable boost now

It has been in ::gentoo for 5 months.  Suggest stable review
Comment 11 Larry the Git Cow gentoo-dev 2021-04-17 11:40:58 UTC
The bug has been referenced in the following commit(s):

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

commit bf0eeaf5dc143679970feb644736ded34b261d73
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-04-05 13:09:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-04-17 11:40:48 +0000

    dev-cpp/cpp-hocon: Drop broken 0.2.1
    
    Bug: https://bugs.gentoo.org/727372
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-cpp/cpp-hocon/Manifest               |  1 -
 dev-cpp/cpp-hocon/cpp-hocon-0.2.1.ebuild | 23 -----------------------
 2 files changed, 24 deletions(-)