Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674470 - app-office/libreoffice-6.1.4.2 - rowinputbinary.cxx:(...): undefined reference to `boost::gregorian::greg_month::get_month_map_ptr[abi:cxx11]()'
Summary: app-office/libreoffice-6.1.4.2 - rowinputbinary.cxx:(...): undefined referenc...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-03 23:49 UTC by Gary E. Miller
Modified: 2020-07-26 13:40 UTC (History)
2 users (show)

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


Attachments
build.log.gz (app-office:libreoffice-6.1.4.2:20190103-203439.log.gz,492.81 KB, application/gzip)
2019-01-03 23:53 UTC, Gary E. Miller
Details
failing build.log (app-office:libreoffice-6.2.3.2:20190520-174717.log.gz,507.56 KB, application/gzip)
2019-05-20 21:53 UTC, Gary E. Miller
Details
good build log (good_build.log.gz,614.28 KB, application/gzip)
2019-05-20 21:54 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2019-01-03 23:49:40 UTC
```

[LNK] Library/libunopkgapp.so
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /
u1/tmp/portage/app-office/libreoffice-6.1.4.2/work/libreoffice-6.1.4.2/workdir/C
xxObject/dbaccess/source/filter/hsqldb/rowinputbinary.o: in function `boost::gre
gorian::date boost::date_time::parse_date<boost::gregorian::date>(std::__cxx11::
basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
rowinputbinary.cxx:(.text._ZN5boost9date_time10parse_dateINS_9gregorian4dateEEET
_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN5boost9date_time10pa
rse_dateINS_9gregorian4dateEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcES
aIcEEEi]+0x98c): undefined reference to `boost::gregorian::greg_month::get_month
_map_ptr[abi:cxx11]()'
collect2: error: ld returned 1 exit status
make[1]: *** [/u1/tmp/portage/app-office/libreoffice-6.1.4.2/work/libreoffice-6.
1.4.2/dbaccess/Library_dbahsql.mk:10: /u1/tmp/portage/app-office/libreoffice-6.1
.4.2/work/libreoffice-6.1.4.2/instdir/program/libdbahsqllo.so] Error 1
```
Comment 1 Gary E. Miller 2019-01-03 23:51:54 UTC
kong ~ # emerge --info '=app-office/libreoffice-6.1.4.2::gentoo'
Portage 2.3.53 (python 3.6.6-final-0, default/linux/amd64/17.1/desktop, gcc-8.2.0, glibc-2.28-r4, 4.20.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1245_v3_@_3.40GHz-with-gentoo-2.6
KiB Mem:    32845592 total,  24414040 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Thu, 03 Jan 2019 20:00:01 +0000
Head commit of repository gentoo: 721e4ef5d4a329dfe3bd8c888167eb29cee1750b
Head commit of repository brother-overlay: 47f14e766fbbd0cf283c733b1501788eab5deba4

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
ccache version 3.5.1 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.5.1::gentoo
dev-util/cmake:           3.13.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

brother-overlay
    location: /u1/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

local
    location: /u1/local/portage
    masters: gentoo
    priority: 50

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

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

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /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=haswell -O2 -pipe"
DISTDIR="/mnt/backup/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --backtrack=5"
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 config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
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="12bit 256-color X a52 aac aacplus aacs aalib acl acpi additions adns ads aes afterimage aio airplay alsa amarok amazon amd64 ao apache2 applet ares aspell asyncdns attica audiofile auth autoipd avahi avx avx2 background bash-completion bcmath berkdb binfilter bl blink bluetooth bluray bogofilter bonjour bonobo bookmarks boost bootsplash branding bzip2 cacert cairo calf caps cdaudio cdda cdinstall cdr celt cgi cgroup chromecast chroot clang cle266 cli command-args consolekit contentcache corba corefonts crypt cscope css csv ctype cups curl curlwrappers cursors cxx daap dane dba dbm dbus dbx dcc dcraw declarative devfs26 device-mapper dga dirac disassembler discard-path divx dlz dmi dmx dnssec docbook dpms dri dri3 drm dtmf dts dv dvb dvd dvdr dvdread dvi dynagraph dynamicplugin ecc edl egl emboss encode equalizer escreen espeak ethereal etwin exif expat exscalibar extensions extramodules faac faad fading-colors faillog fam fame fat festival ffmpeg ffmpeg-mt fftw fits flac flatfile fltk fma fma3 fmod fontconfig foomatic-db foomaticdb fortran fpm fpx freetts ftp g3dvl gadu gajim gallium gcj gconf gd gdal gdbm gdu gecko-mediaplayer geoip geometry geonames geotiff gif gimp gimpprint git glamor glew glib glitz glut gmath gmedia gml gmp gmplayer gnuplot gnustep gnutls gphoto2 gpm gps grammar graphviz grass gs gsl gsm gstreamer gtk gtk3 gtkhtml gtkspell guile h323 hardened harfbuzz hdf5 hdri highlight hostip howl howl-compat http http2 httpd icecast iconv icq icu id3 idea ilbc imagemagick imap imlib imlib2 inkjar inode inotify insecure-savers int64 introspection ipmi ipsec ipv6 iso14755 jabber jadetex java javascript jbig jce jingle john jpeg jpeg2k karma keybinder kpathsea ladspa lame lastfm latex lcms libass libcanberra libedit libextractor libinput libnotify libsamplerate libtirpc libv4l2 libvisual lm_sensors lmdb logrotate lpr lua lv2 lxc lyrics lzma lzo mad manual map mapnik marble matroska mbox md5sum mda-lv2 mdadm mdnsresponder-compat menubar microdns midi mikmod milter mime mimencode mmap mmx mmxext mng mnogosearch mod modplug mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpm-worker mtp multilib multimedia munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack musicbrainz mysqli mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netlink network networking nfs nfsv4 nfsv41 nls nodrm nominatim nptl nsplugin objc offensive ogg oggvorbis on-the-fly-crypt openal opencl openctl openexr opengl openmp openssh openssl opensslcrypt opus oscar osmesa oss otr pam pango parse-clocks passfile passwdqc passwordsave paste64 pcap pci pcmcia pcntl pcre pdf pdfimport perl pgo php pidgin pixbuf player plazes plotutils png pnm policykit pop3d popcnt portage portaudio posix postproc ppds print printsupport priority procmail proj pulseaudio pvr python pyzor qml qt5 quicktime rar raw razor rc5 rdesktop readline realmedia realtime recursor remix rle romio rpc rpz rrdcgi rrdtool rss rtc rtf rtmp rtsp rubberband run-as-root scanner schroedinger screen scripts scrypt sctp sdk sdl seccomp secure-delete sendmail sendto sensord serial server sftp sftplogging shape sharedext sharedmem shmvideo shorten shout silc sip sipim skins slp smi smime smp smtp sndfile snmp soap sockets sofia-sip softfax sound sox spamassassin speex spell spf sqlite sqlite3 srtp sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification static-modules stats stream subtitles subversion svg svgz swat swig sync-plugin-portage syntax-check sysfs syslog sysvipc szip t1lib taglib tagwriting tcl tcltk tcpd template tetex tga themes theora thesaurus threads threadsafe thumbnail thunar thunderbird tiff timidity tk tokenizer tokyocabinet toolame toolbar tools transcode tremor truetype twolame type1 udev udisks ugly unbound unicode unzip update_drivedb upnp upower ups urandom usb utils v4l v4l2 vaapi vala vdpau vdr vhosts video vim vim-syntax visualization vlc vlm vnc vorbis vorbis-psy vpx vulkan vxml watchdog wav wavpack web webkit webkit2 webp wfs widescreen wikipedia winbind wma wmf wmp wxwindows x264 x265 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xterm xulrunner xv xvfb xvid xvmc xz yaepg yahoo yahoo-geo zeroconf zip zlib zrtp zvbai zvbi" ABI_X86="64" 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 plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu gentoo_platforms_efi-32 gentoo_platforms_efi-64 pc" INPUT_DEVICES="keyboard mouse wacom evdev roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 arm" RUBY_TARGETS="ruby24 ruby25 ruby26" SANE_BACKENDS="gphoto2 abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u xerox_mfp" USERLAND="GNU" VIDEO_CARDS="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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

kong ~ # emerge -pqv '=app-office/libreoffice-6.1.4.2::gentoo'
[ebuild     U ] app-office/libreoffice-6.1.4.2 [6.0.6.2] USE="bluetooth branding cups dbus gstreamer gtk pdfimport vlc -accessibility% (-coinmp) -debug -eds (-firebird) -googledrive -gtk2 -java -kde -mysql -odk -postgres -test (-jemalloc%)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5 -python3_6 (-python3_7)" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4 (-python3_7)" 
kong ~ #
Comment 2 Gary E. Miller 2019-01-03 23:53:03 UTC
Created attachment 559756 [details]
build.log.gz

build.log
Comment 3 Gary E. Miller 2019-02-22 23:43:01 UTC
I have the same error with 6.1.5.2.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-02-24 17:55:30 UTC
Do you have a local boost installation lingering in /usr/local/?
Comment 5 Gary E. Miller 2019-02-24 19:27:58 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Do you have a local boost installation lingering in /usr/local/?

```
# ls -ld /usr/include/boost/ /usr/local/include/boost/
ls: cannot access '/usr/local/include/boost/': No such file or directory
drwxr-xr-x 114 root root 12288 Jan  8 17:35 /usr/include/boost/
```

Nope.

```
kong # eix boost -I 
[I] dev-libs/boost
     Available versions:  1.63.0(0/1.63.0)^t 1.65.0(0/1.65.0)^t **1.66.0(0/1.66.0)^t **1.67.0-r1(0/1.67.0)^t {context debug doc icu mpi +nls python static-libs +threads tools ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6 python3_7"}
     Installed versions:  1.65.0(0/1.65.0)^t(05:34:25 PM 01/08/2019)(context icu nls python threads tools -debug -doc -mpi -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4")
     Homepage:            https://www.boost.org/
     Description:         Boost Libraries for C++

[I] dev-util/boost-build
     Available versions:  1.63.0^t 1.65.0^t **1.66.0^t **1.67.0^t {examples python test PYTHON_TARGETS="python2_7"}
     Installed versions:  1.65.0^t(12:41:52 AM 08/15/2018)(python -examples -test PYTHON_TARGETS="python2_7")
     Homepage:            https://boostorg.github.io/build/
     Description:         A system for large project software construction, simple to use and powerful

[I] sys-devel/boost-m4
     Available versions:  0.4_p20160328
     Installed versions:  0.4_p20160328(07:33:06 PM 08/14/2018)
     Homepage:            https://github.com/tsuna/boost.m4
     Description:         Another set of autoconf macros for compiling against boost

Found 3 matches
```
Comment 6 Gary E. Miller 2019-05-20 21:51:39 UTC
Still happening on app-office/libreoffice-6.2.3.2.

I have a near identical machine, up to date gentoo unstable, that compiles just fine.

I have tried the same USE flags as the good host.  I have updated to gcc 9.1.0 and binutils 2.32.  Re-emerged system and world.  Many times.  Problem persists.

One weird thing in the build logs:

On the failing host:

checking whether x86_64-pc-linux-gnu-g++ supports C++17, C++14, or C++11... yes (-std=gnu++2a)

On the good host:

checking whether x86_64-pc-linux-gnu-g++ supports C++17, C++14, or C++11... yes (-std=gnu++14)

Same gcc, same USE flags.  I have no idea how that happens, or how to change.
Comment 7 Gary E. Miller 2019-05-20 21:53:49 UTC
Created attachment 577432 [details]
failing build.log

failing build log
Comment 8 Gary E. Miller 2019-05-20 21:54:31 UTC
Created attachment 577434 [details]
good build log

build log from a working similar host.
Comment 9 Gary E. Miller 2019-08-10 21:42:28 UTC
Problem persists on app-office:libreoffice-6.3.0.4

I've tried all sorts of combinations of USE flags and reemerging world...
Comment 10 Andreas Sturmlechner gentoo-dev 2020-07-26 13:40:47 UTC
Still happening with 6.4.5.2?

David, do you have an idea what's going on wrt boost?