gentoo / musl

[MIRROR] musl development overlay
https://gitweb.gentoo.org/proj/musl.git
99 stars 59 forks source link

app-office/libreoffice-6.4.7.2::musl - xmlfilterjar.cxx:(.text+0x2436): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()' #383

Closed ernsteiswuerfel closed 3 years ago

ernsteiswuerfel commented 3 years ago

Probably the update to stable boost-1.75.0 broke it?

[...]
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/workdir/CxxObject/filter/source/xsltdialog/xmlfilterjar.o: in function `XMLFilterJarHelper::addFile(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> const&, rtl::OUString const&)':
xmlfilterjar.cxx:(.text+0x2436): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/workdir/CxxObject/filter/source/xsltdialog/xmlfilterjar.o: in function `XMLFilterJarHelper::savePackage(rtl::OUString const&, std::vector<filter_info_impl*, std::allocator<filter_info_impl*> > const&)':
xmlfilterjar.cxx:(.text+0x2fea): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/filter/Library_xsltdlg.mk:20: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/instdir/program/libxsltdlglo.so] Error 1

libreoffice-6.4.7.2:20210311-172615.log.gz

anarchpenguin commented 3 years ago

Probably the update to stable boost-1.75.0 broke it?

[...]
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/workdir/CxxObject/filter/source/xsltdialog/xmlfilterjar.o: in function `XMLFilterJarHelper::addFile(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> const&, rtl::OUString const&)':
xmlfilterjar.cxx:(.text+0x2436): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/workdir/CxxObject/filter/source/xsltdialog/xmlfilterjar.o: in function `XMLFilterJarHelper::savePackage(rtl::OUString const&, std::vector<filter_info_impl*, std::allocator<filter_info_impl*> > const&)':
xmlfilterjar.cxx:(.text+0x2fea): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/filter/Library_xsltdlg.mk:20: /var/tmp/portage/app-office/libreoffice-6.4.7.2/work/libreoffice-6.4.7.2/instdir/program/libxsltdlglo.so] Error 1

libreoffice-6.4.7.2:20210311-172615.log.gz

I am unable to duplicate the failure. Could you please add your emerge --info

ernsteiswuerfel commented 3 years ago

emerge --info says distcc but I tried building this without distcc too.

Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.0/musl, gcc-10.2.0, musl-1.2.2-r2, 5.11.6-gentoo x86_64)
=================================================================
System uname: Linux-5.11.6-gentoo-x86_64-AMD_FX-8370_Eight-Core_Processor-with-libc
KiB Mem:    32923292 total,  27603604 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 11 Mar 2021 20:00:01 +0000
Head commit of repository gentoo: 19201a245d1cb66a879f6eaff146fba1b7ce60f5
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-gentoo-linux-musl [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.7-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::musl
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/musl:            1.2.2-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://yea/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --cc=xxhash --zc=zstd
    sync-rsync-verify-jobs: 8
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

musl
    location: /var/lib/layman/musl
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/musl.git
    masters: gentoo
    priority: 50

smaeul
    location: /var/lib/layman/smaeul
    sync-type: laymansync
    sync-uri: https://github.com/smaeul/portage-overlay.git
    masters: gentoo
    priority: 50

wjn-overlay
    location: /var/lib/layman/wjn-overlay
    sync-type: laymansync
    sync-uri: https://bitbucket.org/wjn/wjn-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-Os -march=bdver2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -march=bdver2 -pipe"
DISTDIR="/var/cache/distfiles"
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="-Os -march=bdver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Os -march=bdver2 -pipe"
GENTOO_MIRRORS="https://ftp.gwdg.de/pub/linux/gentoo ftp://ftp.fi.muni.cz/pub/linux/gentoo"
INSTALL_MASK="charset.alias locale.alias"
LANG="de_DE.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en de_DE"
MAKEOPTS="-j16 -l6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--cc=xxhash --zc=zstd"
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 aacs acl alsa amd64 bluetooth bluray brotli bzip2 cairo caja cdda clang cli colord crypt cryptsetup css cups dav1d dbus djvu dri elogind enca exif flac fortran gtk gtk3 gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libtirpc lm-sensors mmap mng mp3 mtp ncurses nls nptl nss ogg opengl openmp opus pam pcre pdf png policykit pulseaudio qt5 raw readline seccomp smp spell split-usr ssl svg system-icu system-sqlite tcpd threads tiff truetype udev udisks unicode upower vaapi vorbis vpx vulkan webp widgets xattr xml xmp xxhash zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="musl" 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="fbdev r600 radeon radeonsi amdgpu" 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, EMERGE_DEFAULT_OPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND
ernsteiswuerfel commented 3 years ago

Tried building libreoffice-6.4.7.2 now with CFLAGS="-O2 -march=bdver2 -pipe" instead of CFLAGS="-Os -march=bdver2 -pipe" which succeeded. So it's more a CFLAGS issue than a musl issue.

Closing.