Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617190 - app-misc/recoll-1.22.4 : utils/x11mon.cpp:7:22: fatal error: X11/Xlib.h: No such file or directory
Summary: app-misc/recoll-1.22.4 : utils/x11mon.cpp:7:22: fatal error: X11/Xlib.h: No s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: P Purkayastha
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 13:33 UTC by Toralf Förster
Modified: 2018-01-21 19:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.06 KB, text/plain)
2017-05-01 13:33 UTC, Toralf Förster
Details
app-misc:recoll-1.22.4:20170501-121712.log (app-misc:recoll-1.22.4:20170501-121712.log,95.58 KB, text/plain)
2017-05-01 13:33 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,10.14 KB, application/x-bzip)
2017-05-01 13:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,35.57 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
environment (environment,149.33 KB, text/plain)
2017-05-01 13:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.98 KB, application/x-bzip)
2017-05-01 13:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.18 KB, application/x-bzip)
2017-05-01 13:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-05-01 13:33:49 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./common  -Wall -Wno-unused -I. -I./aspell -I./bincimapmime -I./common -I./index -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL -I/usr/lib64/../include   -DRECOLL_DATADIR=\"/usr/share/recoll\" -D_GNU_SOURCE -DHAVE_CONFIG_H -I/usr/lib64/../include  -O2 -pipe -march=native -c -o index/rclmonrcv.o index/rclmonrcv.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./common  -Wall -Wno-unused -I. -I./aspell -I./bincimapmime -I./common -I./index -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL -I/usr/lib64/../include   -DRECOLL_DATADIR=\"/usr/share/recoll\" -D_GNU_SOURCE -DHAVE_CONFIG_H -I/usr/lib64/../include  -O2 -pipe -march=native -c -o utils/x11mon.o utils/x11mon.cpp
utils/x11mon.cpp:7:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make[1]: *** [Makefile:1566: utils/x11mon.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/recoll-1.22.4/work/recoll-1.22.4'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd-libressl-abi32+64_20170430-195331

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-05-01 13:33:52 UTC
Created attachment 471428 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-01 13:33:55 UTC
Created attachment 471430 [details]
app-misc:recoll-1.22.4:20170501-121712.log
Comment 3 Toralf Förster gentoo-dev 2017-05-01 13:33:58 UTC
Created attachment 471432 [details]
config.log.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-05-01 13:34:01 UTC
Created attachment 471434 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-05-01 13:34:04 UTC
Created attachment 471436 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-05-01 13:34:07 UTC
Created attachment 471438 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-05-01 13:34:10 UTC
Created attachment 471440 [details]
temp.tbz2
Comment 8 P Purkayastha 2017-07-20 14:18:57 UTC
It looks like recoll tries to compile x11mon irrespective of whether "--without-x" is used or "--disable-x11mon" (-session USE flag passes --disable-x11mon to  configure) is used. This is causing it to pull in X11/Xlib.h.

x11-libs/libX11 provides X11/Xlib.h. If you install that package, recoll should compile.
Comment 9 Larry the Git Cow gentoo-dev 2018-01-21 19:36:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ca7a274443a06633a41ed725fa5bfdb0cbfb0b

commit 80ca7a274443a06633a41ed725fa5bfdb0cbfb0b
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-01-21 19:33:15 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-01-21 19:36:00 +0000

    app-misc/recoll: version bump 1.23.6
    
    Closes: https://bugs.gentoo.org/640374
    Closes: https://bugs.gentoo.org/617190
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-misc/recoll/Manifest                   |   1 +
 app-misc/recoll/files/recoll-python3.patch |  17 ++++
 app-misc/recoll/recoll-1.23.6.ebuild       | 122 +++++++++++++++++++++++++++++
 3 files changed, 140 insertions(+)