[ebuild R ] app-office/libreoffice-5.3.4.2::gentoo USE="bluetooth branding collada cups dbus firebird gltf gtk gtk3 java jemalloc odk pdfimport postgres* quickstarter vlc (-aqua) -coinmp -debug -eds -gnome -googledrive -gstreamer -kde -libressl -mysql (-telepathy) {-test}" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Running pre-merge checks for app-office/libreoffice-5.3.4.2 * Checking for at least 512 MiB RAM ... [ ok ] * Checking for at least 6 GiB disk space at "/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp" ... [ ok ] * PostgreSQL slot must be set to 9.0 or higher. * postgresql-config set 9.0 * ERROR: app-office/libreoffice-5.3.4.2::gentoo failed (pretend phase): * PostgreSQL slot is not set to 9.0 or higher. * * Call stack: * ebuild.sh, line 115: Called pkg_pretend * libreoffice-5.3.4.2.ebuild, line 285: Called die * The specific snippet of code: * die "PostgreSQL slot is not set to 9.0 or higher." * * If you need support, post the output of `emerge --info '=app-office/libreoffice-5.3.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-5.3.4.2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =libreoffice-5.3.4.2 * The complete build log is located at '/var/log/portage/app-office:libreoffice-5.3.4.2:20170717-044223.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp/die.env'. * Working directory: '/var/tmp/portage/app-office/libreoffice-5.3.4.2/homedir' * S: '/var/tmp/portage/app-office/libreoffice-5.3.4.2/work/libreoffice-5.3.4.2' * Messages for package app-office/libreoffice-5.3.4.2: * PostgreSQL slot must be set to 9.0 or higher. * postgresql-config set 9.0 * ERROR: app-office/libreoffice-5.3.4.2::gentoo failed (pretend phase): * PostgreSQL slot is not set to 9.0 or higher. * * Call stack: * ebuild.sh, line 115: Called pkg_pretend * libreoffice-5.3.4.2.ebuild, line 285: Called die * The specific snippet of code: * die "PostgreSQL slot is not set to 9.0 or higher." * * If you need support, post the output of `emerge --info '=app-office/libreoffice-5.3.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-5.3.4.2::gentoo'`. * The complete build log is located at '/var/log/portage/app-office:libreoffice-5.3.4.2:20170717-044223.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp/die.env'. * Working directory: '/var/tmp/portage/app-office/libreoffice-5.3.4.2/homedir' * S: '/var/tmp/portage/app-office/libreoffice-5.3.4.2/work/libreoffice-5.3.4.2' gallatin@hans ~ $ emerge --info '=app-office/libreoffice-5.3.4.2::gentoo' Portage 2.3.6 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop, gcc-6.3.0, glibc-2.24-r3, 4.12.1-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-5500U_CPU_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 8092132 total, 182920 free KiB Swap: 20479996 total, 20478708 free Timestamp of repository gentoo: Mon, 17 Jul 2017 03:30:01 +0000 sh bash 4.4_p12 ld GNU ld (Gentoo 2.28 p1.2) 2.28 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc: 6.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 neomutt_gentoo location: /usr/local/portage/mail-client sync-type: git sync-uri: https://github.com/neomutt/gentoo-neomutt masters: gentoo sk-overlay location: /usr/local/overlay/sk-overlay sync-type: git sync-uri: https://c.darenet.org/scriptkitties/overlay.git masters: gentoo x-portage location: /usr/local/portage masters: gentoo priority: 0 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 raiagent location: /var/lib/layman/raiagent masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Vivaldi" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=broadwell -O2 -pipe" 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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/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=broadwell -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/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="/var/tmp" USE="X a52 aac acc acl acpi alsa amd64 apng berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups curl cxx dbus dri dri3 dts dvb dvd dvdr egl emacs emboss eml encode eudev examples exif fam ffmpeg firebird firefox flac fontconfig fortran gdbm gif git glamor gles gnome-keyring gpm gtk guile highlight iconv icq icu idn introspection ipv6 java javascript jemalloc jpeg jpeg2k kerberos latex lcms ldap libinput libnotify mad mmap mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg openal opengl openmp pam pango pcmcia pcre pdf perl png policykit posix postgres postscript ppds pulseaudio python qt3support qt5 readline ruby sasl scanner sdl seccomp secomp session speex spell sqlite ssh ssl startup-notification svc svg syslog systemtap taglib tcpd threads tiff truetype udev udisks unicode upower usb vaapi valgrind vim-syntax vorbis wayland widgets wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib zsh-completion" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext mmx sse sse2 sse3 ssse3 sse4_1 sse4_2" 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby21 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash multiload-nandhp" 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" USE_PYTHON="2.7 3.4 3.5 3.6" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-office/libreoffice-5.3.4.2::gentoo was built with the following: USE="bluetooth branding collada cups dbus firebird gltf gtk gtk3 java jemalloc odk pdfimport quickstarter vlc (-aqua) -coinmp -debug -eds -gnome -googledrive -gstreamer -kde -libressl -mysql -postgres (-telepathy) -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" gallatin@hans ~ $ emerge -pqv '=app-office/libreoffice-5.3.4.2::gentoo' [ebuild R ] app-office/libreoffice-5.3.4.2 USE="bluetooth branding collada cups dbus firebird gltf gtk gtk3 java jemalloc odk pdfimport postgres* quickstarter vlc (-aqua) -coinmp -debug -eds -gnome -googledrive -gstreamer -kde -libressl -mysql (-telepathy) {-test}" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" gallatin@hans ~ $ emerge -pqv '=dev-db/postgresql-10_beta2::gentoo' [ebuild R ] dev-db/postgresql-10_beta2 USE="doc kerberos ldap nls pam perl python readline server ssl tcl threads uuid xml zlib -libressl -pg_legacytimestamp (-selinux) -static-libs -systemd" LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" gallatin@hans ~ $ sudo postgresql-config set 10 Setting 10 as the default...ln: failed to create symbolic link '/usr/include/postgresql/postgresql-10': File exists !!! Error: Unable to create link! postgresql-10 -> /usr/include/postgresql exiting
BTW ... I have dev-db/postgresql-10_beta2 installed
Successfully set postgresql slot to 10 via eselect and postgresql-config set 10 and still got same error
gallatin@hans ~ $ sudo eselect postgresql list Available PostgreSQL Slots 9.6 9.6.3 10 * 10beta2
Just got bitten by this same bug. Only PostgreSQL 10beta2 on the system as per comment 3. The culprit is the naive version check on line 282 of the libreoffice ebuild: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/libreoffice/libreoffice-5.3.4.2.ebuild It drops the dot from the expected version number (9.0 -> 90) to compare with, but the version 10 release of postgres doesn't have a decimal (10 -> 10). Comparing the produced value with 'less than 90'...
Thank you for confirmation, Cooper
(In reply to Jonas Stein from comment #5) > Thank you for confirmation, Cooper You can use the new postgres eclass, using the POSTGRES_COMPAT, POSTGRES_DEP, and postgres_pkg_setup(). I can whip up a patch if you need it. PS: I'm probably going to modify postgres_pkg_setup to remove the POSTGRES_COMPAT requirement, but that wouldn't affect you.
(In reply to Aaron W. Swenson from comment #6) > (In reply to Jonas Stein from comment #5) > > Thank you for confirmation, Cooper > > You can use the new postgres eclass, using the POSTGRES_COMPAT, > POSTGRES_DEP, and postgres_pkg_setup(). > > I can whip up a patch if you need it. > > PS: I'm probably going to modify postgres_pkg_setup to remove the > POSTGRES_COMPAT requirement, but that wouldn't affect you. You could probably just do without at this point since 8.4 was removed a long time ago.
Wait, now I'm confused - do without what exactly? I'm still seeing this problem, both postgresql-config and eselect fail with the same errors and can't seem to update/set/unset either version (I have 9.6.3 and 10beta2 installed). I reinstalled 9.6 which also coughed the same errors a few times but somehow managed to make eselect see 10beta2 as "set", and now postgresql-config appears to work but with errors, and may or may not actually reset anything. I see a lot of mangled symlinks in /usr/include and also under each postgresql-X directory underneath; removing all the broken symlinks under /usr/include and /usr/lib(64) makes postgresql-config happy and then setting it to 9.6 allows libreoffice to merge. Still needs a fix for the version compare...
(In reply to Steve Arnold from comment #8) > Wait, now I'm confused - do without what exactly? I'm still seeing this > problem, both postgresql-config and eselect fail with the same errors and > can't seem to update/set/unset either version (I have 9.6.3 and 10beta2 > installed). > > I reinstalled 9.6 which also coughed the same errors a few times but somehow > managed to make eselect see 10beta2 as "set", and now postgresql-config > appears to work but with errors, and may or may not actually reset anything. > > I see a lot of mangled symlinks in /usr/include and also under each > postgresql-X directory underneath; removing all the broken symlinks under > /usr/include and /usr/lib(64) makes postgresql-config happy and then setting > it to 9.6 allows libreoffice to merge. Still needs a fix for the version > compare... I meant, do without the check entirely, as there is only a minimum requirement that at least 8.4 be installed, preferably 9.0. 8.4 was removed more than a year ago. 8.3 even further back than that. It is certain that at this point, all users should have at least the minimum running on their system.
Okay, that makes more sense, since the check is indeed superfluous. Not sure how the config syminks got so mangled, but this is a fairly old install (so it did at one time have much older versions of pgsql/config tools). The update I'm doing now was half-done at one point, and this time restarted with over 1000 packages. Finally down to 20 or so left in @preserved-rebuild...
So... um... Any thoughts on when I can hope to see a fix appear?
I have the same issue. postgresql-9.5.7-r1 and postgresql-10_beta2 is installed. postgresql-10 is eselected. 'emerge -v1 libreoffice' complaines about: ... * Checking for at least 22 GiB disk space at "/var/tmp/portage/app-office/libreoffice-5.3.4.2/temp" ... [ ok ] * PostgreSQL slot must be set to 9.0 or higher. * postgresql-config set 9.0 * ERROR: app-office/libreoffice-5.3.4.2::gentoo failed (pretend phase): * PostgreSQL slot is not set to 9.0 or higher.
*** Bug 627110 has been marked as a duplicate of this bug. ***
Obsolete checks removed in git commit 2348ec2b634435ce5d2dffeb428df6caab97e32f