Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] =app-office/libreoffice-4.4.3.2 missing mesa dep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Thu Jun 25, 2015 8:19 pm    Post subject: [SOLVED] =app-office/libreoffice-4.4.3.2 missing mesa dep Reply with quote

I tried to emerge libreoffice on my laptop as part of a world update, and the process fails with a missing mesa header:
Code:
glxext.h


Here is the relevant bits of build log:
Code:

# emerge -av libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-office/libreoffice-4.4.3.2::gentoo [4.4.1.2::gentoo] USE="bluetooth branding cups dbus (-aqua) (-coinmp) -collada -debug -eds (-firebird) -gltf -gnome -gstreamer -gtk -gtk3 -java -jemalloc -kde -mysql -odk -postgres -telepathy {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB


and

Code:
checking whether to enable the new GStreamer 1.0 avmedia backend... no
checking whether to enable the GStreamer 0.10 avmedia backend... no
checking whether to enable the VLC avmedia backend... no
checking which Mesa headers to use... external
checking for GL/glxext.h... no
configure: error: mesa headers not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/config.log
 * ERROR: app-office/libreoffice-4.4.3.2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line   93:  Called src_configure
 *             environment, line 7387:  Called econf '--docdir=/usr/share/doc/libreoffice-4.4.3.2/' '--with-system-headers' '--with-system-libs' '--with-system-jars' '--with-system-dicts' '--enable-cairo-canvas' '--enable-graphite' '--enable-largefile' '--enable-mergelibs' '--enable-neon' '--enable-python=system' '--enable-randr' '--enable-randr-link' '--enable-release-build' '--disable-hardlink-deliver' '--disable-ccache' '--disable-crashdump' '--disable-dependency-tracking' '--disable-epm' '--disable-fetch-external' '--disable-gnome-vfs' '--disable-gstreamer-0-10' '--disable-report-builder' '--disable-kdeab' '--disable-kde' '--disable-online-update' '--disable-systray' '--with-alloc=system' '--with-build-version=Gentoo official package' '--enable-extension-integration' '--with-external-dict-dir=/usr/share/myspell' '--with-external-hyph-dir=/usr/share/myspell' '--with-external-thes-dir=/usr/share/myspell' '--with-external-tar=/var/tmp/portage/app-office/libreoffice-4.4.3.2/distdir' '--with-lang=' '--with-parallelism=17' '--with-system-ucpp' '--with-vendor=Gentoo Foundation' '--with-x' '--without-fonts' '--without-myspell-dicts' '--without-help' '--with-helppack-integration' '--without-sun-templates' '--enable-sdremote-bluetooth' '--disable-coinmp' '--disable-collada' '--enable-cups' '--disable-debug' '--enable-dbus' '--disable-evolution2' '--disable-firebird-sdbc' '--disable-gltf' '--disable-gconf' '--disable-gio' '--disable-lockdown' '--disable-gstreamer-1-0' '--disable-gtk' '--disable-gtk3' '--disable-kde4' '--disable-ext-mariadb-connector' '--disable-odk' '--disable-postgresql-sdbc' '--disable-telepathy' '--disable-vlc' '--without-system-coinmp' '--without-system-opencollada' '--without-system-libgltf' '--without-java' '--without-system-mysql-cppconn' '--without-doxygen' '--without-system-sane' '--without-system-vigra' '--disable-ext-nlpsolver' '--disable-scripting-beanshell' '--disable-scripting-javascript' '--disable-ext-wiki-publisher'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.4.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.4.3.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =libreoffice-4.4.3.2
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-4.4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.4.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2'
 * S: '/var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2'

>>> Failed to emerge app-office/libreoffice-4.4.3.2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-4.4.3.2/temp/build.log'


However the missing file does exist on my file system:

Code:

# equery files mesa | grep glxext.h
/usr/lib32/opengl/xorg-x11/include/GL/glxext.h
/usr/lib64/opengl/xorg-x11/include/GL/glxext.h


I'll admit to being somewhat out of ideas at this point...

I appreciate there may be other information about my system that is of interest, but I don't really know what, so please let me know.

Thanks


Last edited by maxf130 on Fri Jun 26, 2015 11:25 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Thu Jun 25, 2015 8:37 pm    Post subject: Reply with quote

What mesa version is that?

Location on my system is completely different:
Code:
$ equery b glxext.h
 * Searching for glxext.h ...
media-libs/mesa-10.5.7 (/usr/include/GL/glxext.h)
Back to top
View user's profile Send private message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Thu Jun 25, 2015 8:55 pm    Post subject: Reply with quote

Code:

# equery b glxext.h                                                                                                                                                                                           <1>
 * Searching for glxext.h ...
media-libs/mesa-10.3.7-r1 (/usr/lib64/opengl/xorg-x11/include/GL/glxext.h)
media-libs/mesa-10.3.7-r1 (/usr/lib32/opengl/xorg-x11/include/GL/glxext.h)


Then again I assume your mesa did not come through official ebuilds? So the difference in location is perhaps not that surprising...
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Thu Jun 25, 2015 9:29 pm    Post subject: Reply with quote

Well, admittedly that particular system is using a small version bump from my own overlay, but that's nothing earth shattering. Several stable systems here have built libreoffice-4.4.3.2 successfully with the same mesa version as yours, so this is weird.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Jun 26, 2015 5:58 am    Post subject: Re: =app-office/libreoffice-4.4.3.2 missing mesa dependancy Reply with quote

maxf130 wrote:
I tried to emerge libreoffice on my laptop as part of a world update, and the process fails with a missing mesa header:
Code:
glxext.h

Sounds like troube with eselect opengl.
Back to top
View user's profile Send private message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Fri Jun 26, 2015 7:09 am    Post subject: Reply with quote

Well given that I get the following:

Code:

] app-eselect/eselect-opengl-1.2.7::gentoo [1.3.1-r1::gentoo] 81 KiB
[uninstall     ] x11-proto/glproto-1.4.17-r1::gentoo  ABI_X86="32 (64) (-x32)"
[blocks b      ] >=x11-proto/glproto-1.4.17-r1 (">=x11-proto/glproto-1.4.17-r1" is blocking app-eselect/eselect-opengl-1.2.7)
[blocks B      ] >=x11-base/xorg-server-1.16.4-r4 (">=x11-base/xorg-server-1.16.4-r4" is blocking app-eselect/eselect-opengl-1.2.7)

Total: 1 package (1 downgrade, 1 uninstall), Size of downloads: 81 KiB
Conflict: 2 blocks (1 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-eselect/eselect-opengl:0

  (app-eselect/eselect-opengl-1.2.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
    app-eselect/eselect-opengl (Argument)

  (app-eselect/eselect-opengl-1.3.1-r1:0/0::gentoo, installed) pulled in by
    >=app-eselect/eselect-opengl-1.3.0 required by (x11-base/xorg-server-1.17.1-r1:0/1.17.1::gentoo, installed)
    ^^                           ^^^^^                                                                                                                               


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (x11-base/xorg-server-1.17.1-r1:0/1.17.1::gentoo, installed) pulled in by
    >=x11-base/xorg-server-1.12[udev] required by (x11-drivers/xf86-input-evdev-2.9.1:0/0::gentoo, installed)
    >=x11-base/xorg-server-1.10 required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
    x11-base/xorg-server[xorg] required by (x11-drivers/xf86-input-evdev-2.9.1:0/0::gentoo, installed)
    x11-base/xorg-server[-minimal] required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
    x11-base/xorg-server:0/1.17.1= required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
    x11-base/xorg-server[xorg] required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
    x11-base/xorg-server[xorg] required by (x11-drivers/xf86-input-synaptics-1.8.1:0/0::gentoo, installed)
    >=x11-base/xorg-server-1.14 required by (x11-drivers/xf86-input-synaptics-1.8.1:0/0::gentoo, installed)
    x11-base/xorg-server:= required by (x11-drivers/xf86-input-evdev-2.9.1:0/0::gentoo, installed)
    x11-base/xorg-server:= required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
    x11-base/xorg-server:= required by (x11-drivers/xf86-input-synaptics-1.8.1:0/0::gentoo, installed)
    x11-base/xorg-server:0/1.17.1= required by (x11-drivers/xf86-input-evdev-2.9.1:0/0::gentoo, installed)
    x11-base/xorg-server required by @selected
x11-base/xorg-server:0/1.17.1= required by (x11-drivers/xf86-input-synaptics-1.8.1:0/0::gentoo, installed)




That is perhaps not entirely surprising...
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri Jun 26, 2015 7:19 am    Post subject: Reply with quote

It's not surprising when you mix stable and unstable (x11-base/xorg-server-1.17.1) packages. It seems you have unmasked app-eselect/eselect-opengl-1.3.1-r1 at some point, but that has left the tree already (current version is 1.3.1-r4).
Back to top
View user's profile Send private message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Fri Jun 26, 2015 7:48 am    Post subject: Reply with quote

OK. I installed some unstable packages a few months ago when I suppose I did not really appreciate their significance. When I try to downgrade xorg-server I get a whole load of blocks of supposedly other stable packages that depend on xorg-server-1.17.1

For instance:

Code:

# emerge -pv xorg-server eselect-opengl glproto

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] app-eselect/eselect-opengl-1.2.7::gentoo [1.3.1-r1::gentoo] 81 KiB
[ebuild     UD ] x11-proto/glproto-1.4.17::gentoo [1.4.17-r1::gentoo] ABI_X86="32 (64) (-x32)" 0 KiB
[blocks b      ] >=x11-proto/glproto-1.4.17-r1 (">=x11-proto/glproto-1.4.17-r1" is blocking app-eselect/eselect-opengl-1.2.7)
[ebuild     UD ] x11-base/xorg-server-1.16.4:0/1.16.1::gentoo [1.17.1-r1:0/1.17.1::gentoo] USE="glamor ipv6 nptl suid systemd udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -unwind -wayland -xnest -xvfb (-xephyr%)" 5,681 KiB
[blocks B      ] >=app-eselect/eselect-opengl-1.3.0 (">=app-eselect/eselect-opengl-1.3.0" is blocking x11-base/xorg-server-1.16.4)
[blocks B      ] >=x11-base/xorg-server-1.16.4-r4 (">=x11-base/xorg-server-1.16.4-r4" is blocking app-eselect/eselect-opengl-1.2.7)

Total: 3 packages (3 downgrades), Size of downloads: 5,762 KiB
Conflict: 3 blocks (2 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.16.4:0/1.16.1::gentoo, ebuild scheduled for merge) pulled in by
    x11-base/xorg-server (Argument)

  (x11-base/xorg-server-1.17.1-r1:0/1.17.1::gentoo, installed) pulled in by
    x11-base/xorg-server:0/1.17.1= required by (x11-drivers/xf86-video-intel-2.99.917:0/0::gentoo, installed)
                        ^^^^^^^^^^                                                                                                               
    (and 2 more with the same problem)

app-eselect/eselect-opengl:0

  (app-eselect/eselect-opengl-1.2.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
    app-eselect/eselect-opengl (Argument)

  (app-eselect/eselect-opengl-1.3.1-r1:0/0::gentoo, installed) pulled in by
    >=app-eselect/eselect-opengl-1.3.0 required by (x11-base/xorg-server-1.17.1-r1:0/1.17.1::gentoo, installed)
    ^^                           ^^^^^                                                                                                                               



This problem occurs with
Code:
 x11-drivers/xf86-video-intel
,
Code:
x11-drivers/xf86-input-evdev
and
Code:
x11/drivers-input-synaptics
.

If those three packages are explicitly emerged, then portage is happy:

Code:

# emerge -pv eselect-opengl xorg-server glproto xf86-input-evdev  xf86-input-synaptics xf86-video-intel

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] app-eselect/eselect-opengl-1.2.7::gentoo [1.3.1-r1::gentoo] 81 KiB
[ebuild     UD ] x11-proto/glproto-1.4.17::gentoo [1.4.17-r1::gentoo] ABI_X86="32 (64) (-x32)" 0 KiB
[blocks b      ] >=x11-proto/glproto-1.4.17-r1 (">=x11-proto/glproto-1.4.17-r1" is blocking app-eselect/eselect-opengl-1.2.7)
[ebuild     UD ] x11-base/xorg-server-1.16.4:0/1.16.1::gentoo [1.17.1-r1:0/1.17.1::gentoo] USE="glamor ipv6 nptl suid systemd udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -unwind -wayland -xnest -xvfb (-xephyr%)" 5,681 KiB
[blocks b      ] >=x11-base/xorg-server-1.16.4-r4 (">=x11-base/xorg-server-1.16.4-r4" is blocking app-eselect/eselect-opengl-1.2.7)
[ebuild   R    ] x11-drivers/xf86-input-evdev-2.9.1::gentoo  0 KiB
[ebuild   R    ] x11-drivers/xf86-input-synaptics-1.8.1::gentoo  0 KiB
[ebuild   R    ] x11-drivers/xf86-video-intel-2.99.917::gentoo  USE="dri sna udev -debug -uxa -xvmc" 0 KiB

Total: 6 packages (3 downgrades, 3 reinstalls), Size of downloads: 5,762 KiB
Conflict: 2 blocks



But since the three x11-driver packages are not downgraded, I don't understand why they generate blocks in the first place, or why portage doesn't know to reemerge them if necessary. Could you please enlighten me?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri Jun 26, 2015 8:09 am    Post subject: Reply with quote

You don't need to downgrade xorg-server at all, after all it works for you, doesn't it? ;) Just extend the unmask of app-eselect/eselect-opengl to 1.3.1-r4 so that bug is hopefully fixed for you.
Back to top
View user's profile Send private message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Fri Jun 26, 2015 8:10 am    Post subject: Reply with quote

After running the previous emerge, libreoffice is now happily compiling. Ill mark as solved when it finishes.

Thank you for your help.
Back to top
View user's profile Send private message
maxf130
n00b
n00b


Joined: 04 Apr 2015
Posts: 8
Location: UK

PostPosted: Fri Jun 26, 2015 8:31 am    Post subject: Reply with quote

Well there is no need to run unstable packages just for the sake of it. There were no end user applications installed that depends on xorg-server-1.17.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum