Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646584

Summary: app-office/libreoffice-6.0.0.3 fails to configure with media-libs/glm-0.9.8.5
Product: Gentoo Linux Reporter: Wojciech Myrda <vojcek>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: glm-include.patch
glm-0.9.8.5.ebuild

Description Wojciech Myrda 2018-02-04 15:53:24 UTC
Created attachment 517794 [details, diff]
glm-include.patch

I have stumbled upon following problem. LibreOffice would not pass configure process due to failing test of glm.  

checking which glm to use... external
checking glm/glm.hpp usability... no
checking glm/glm.hpp presence... yes
configure: WARNING: glm/glm.hpp: present but cannot be compiled
configure: WARNING: glm/glm.hpp:     check for missing prerequisite headers?
configure: WARNING: glm/glm.hpp: see the Autoconf documentation
configure: WARNING: glm/glm.hpp:     section "Present But Cannot Be Compiled"
configure: WARNING: glm/glm.hpp: proceeding with the compiler's result
checking for glm/glm.hpp... no
configure: error: glm/glm.hpp not found. install glm

I have found hre https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888661 that it is fixed upstream in glm-0.9.9-a2. Looking at the upstream they added #include setup.hpp in their source. It fact it did help as with it my setup now works and libreoffice builds properly and works just fine.


emerge --info
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.26-r5, 4.14.15 x86_64)
=================================================================
System uname: Linux-4.14.15-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.4.1
KiB Mem:    16163564 total,  11427352 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 04 Feb 2018 08:15:01 +0000
Head commit of repository gentoo: 29aef7cf9f081dce8c251f828ca13a0c7479047d
Timestamp of repository poly-c: Sun, 04 Feb 2018 06:15:34 +0000
sh bash 4.4_p18
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p18::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.63-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29::gentoo, 2.29.1-r1::gentoo, 2.30::gentoo
sys-devel/gcc:            7.2.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /var/portage
    sync-type: rsync
    sync-uri: rsync://192.168.101.101/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

bobwya
    location: /var/lib/layman/bobwya
    masters: gentoo
    priority: 50

cg
    location: /var/lib/layman/cg
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

rust
    location: /var/lib/layman/rust
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

voyageur
    location: /var/lib/layman/voyageur
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

i7woj
    location: /usr/local/portage
    masters: gentoo
    priority: 75

ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -DG_DISABLE_ASSERT -DNO_DEBUG -DNDEBUG -fomit-frame-pointer -ftree-vectorize -fpredictive-commoning -fgcse-after-reload"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=native -O2 -pipe -DG_DISABLE_ASSERT -DNO_DEBUG -DNDEBUG -fomit-frame-pointer -ftree-vectorize -fpredictive-commoning -fgcse-after-reload -fabi-version=0"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://192.168.101.101 http://gentoo.prz.rzeszow.pl"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common"
LINGUAS="pl"
MAKEOPTS="-j9"
PKGDIR="/var/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="/tmp/"
USE="X a52 aac aacs acl acpi alsa amd64 aplaymidi audio bdplus berkdb bluray branding bzip2 cairo caps cdda cdio cdr chromaprint cli colord consolekit crypt cxx dbus dcadec dri dts dvb dvd dvdr emboss encode exif fam ffmpeg fftw flac fluidsynth fontconfig fortran gdbm gif glade glamor gmp gnome-keyring gphoto2 gpu gstreamer gtk gtk2 gtkstyle hddtemp iconv icu inotify ithreads java jpeg jpeg2k lcms libnotify linguas_pl llvm lm_sensors lz4 lzma lzo mad midi mkv mng modules mp3 mp4 mpeg multilib ncurses nfs nls nonfree nptl nsplugin ocr ogg openal opencl openexr opengl openh264 openmp openpgp openssl opus osmesa pam pango pcre pdf perl pm-utils png policykit postproc ppds pulseaudio python qsv qt5 rar rdp readline rtmp s3tc samba scanner sdl seccomp sound sox spell sqlite ssl startup-notification svg system-ffmpeg tcpd thread threads tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel emu10k1" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 f16c" 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" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 imon imonlcd glk hd44780 lb216 lcdm001 mtxorb ncurses text picolcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LLVM_TARGETS="BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7 python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" SANE_BACKENDS="gt68xx plustek" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash xkb" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wojciech Myrda 2018-02-04 15:54:46 UTC
Created attachment 517796 [details]
glm-0.9.8.5.ebuild

Ebuild is same with the addition of new patch from $filesdir.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-02-04 15:59:01 UTC
Just rebuild glm.

*** This bug has been marked as a duplicate of bug 645942 ***