Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918952 - media-plugins/kodi-vfs-sftp-9999 fails to compile: error: expected initializer before ‘:’ token
Summary: media-plugins/kodi-vfs-sftp-9999 fails to compile: error: expected initialize...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 12:25 UTC by Miroslav Šulc
Modified: 2023-12-01 12:26 UTC (History)
0 users

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


Attachments
build.log (build.log,10.30 KB, text/x-log)
2023-12-01 12:26 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-12-01 12:25:23 UTC
i would not report it for the live ebuild but i wanted to use the latest ffmpeg which resulted in installing live ebuild of kodi and for that live ebuild of kodi-vfs-sftp is needed.



[2/4] /usr/bin/x86_64-pc-linux-gnu-g++ -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_VFS_USED -DBUILD_KODI_ADDON -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Dvfs_sftp_EXPORTS   -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -O2 -pipe -frecord-gcc-switches -std=c++17 -fPIC   -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -DHAVE_SSE4_2=1 -DHAVE_AVX=1 -DHAVE_AVX2=1 -MD -MT CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o -MF CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o.d -o CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o -c /var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp
FAILED: CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_VFS_USED -DBUILD_KODI_ADDON -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Dvfs_sftp_EXPORTS   -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -O2 -pipe -frecord-gcc-switches -std=c++17 -fPIC   -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -DHAVE_SSE4_2=1 -DHAVE_AVX=1 -DHAVE_AVX2=1 -MD -MT CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o -MF CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o.d -o CMakeFiles/vfs.sftp.dir/src/SFTPFile.cpp.o -c /var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp
/var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp:15:34: error: expected initializer before ‘:’ token
   15 | class ATTRIBUTE_HIDDEN CSFTPFile : public kodi::addon::CInstanceVFS
      |                                  ^
/var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp:178:33: error: expected initializer before ‘:’ token
  178 | class ATTRIBUTE_HIDDEN CMyAddon : public kodi::addon::CAddonBase
      |                                 ^
In file included from /usr/include/kodi/addon-instance/VFS.h:10,
                 from /var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPSession.h:11,
                 from /var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp:8:
/var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp: In function ‘ADDON_STATUS ADDON_Create(KODI_HANDLE)’:
/var/tmp/portage/media-plugins/kodi-vfs-sftp-9999/work/kodi-vfs-sftp-9999/src/SFTPFile.cpp:196:14: error: ‘CMyAddon’ does not name a type
  196 | ADDONCREATOR(CMyAddon);
      |              ^~~~~~~~
ninja: build stopped: subcommand failed.



# emerge --info '=media-plugins/kodi-vfs-sftp-9999::gentoo'
Portage 3.0.56 (python 3.12.0-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.38-r7, 6.6.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.3-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13980HX-with-glibc2.38
KiB Mem:    65452672 total,  26993632 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 01 Dec 2023 11:46:54 +0000
Head commit of repository gentoo: 037ac1c391c1ba8710d6d3702021b31143ccf974

Timestamp of repository brave-overlay: Wed, 30 Aug 2023 14:16:44 +0000
Head commit of repository brave-overlay: 6633c093c271deda5b29101a4ed5a611810268e1

Timestamp of repository flavour: Thu, 23 Nov 2023 15:17:22 +0000
Head commit of repository flavour: ef0f05029271479b7c3b67e005c0df4f45d28871

Timestamp of repository fordfrog: Tue, 21 Nov 2023 21:03:20 +0000
Head commit of repository fordfrog: b3b394d95099cdc73cff58c0c108ab0ea9d4b447

Head commit of repository librewolf: ca2e4c6cd3fcd24ca6dc60a9aa3a5dd6088fbe7c

Timestamp of repository pf4public: Fri, 01 Dec 2023 02:31:55 +0000
Head commit of repository pf4public: 51c35d07e332ca092cb4654faa7dbf3f4a3273f5

sh bash 5.2_p21
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.52.1::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.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo, 13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

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

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: /var/db/repos/fordfrog
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/fordfrog.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

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 google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -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.8/conf /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=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/cache/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=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -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 pkgdir-index-trusted 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=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=36864 -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="-j33"
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 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 gles gles1 gles2 gles3 gphoto2 gsm gtk gtk3 hardened hddtemp http2 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 opencl openexr opengl openmp optix opus osc pam pcre pdf pie pipewire png policykit pulseaudio qt5 qt6 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 xfce 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 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 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="luajit lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="genesys" VIDEO_CARDS="fbdev intel nvidia vesa" 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
Comment 1 Miroslav Šulc gentoo-dev 2023-12-01 12:26:37 UTC
Created attachment 876166 [details]
build.log