Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642640 - media-gfx/fbida-2.12 - src_compile(): Build dependencies missing for fbi and/or fbpdf. fbi needs: freetype2 fontconfig libdrm libexif libpng libtiff-4 libwebp fbpdf needs: libdrm poppler-glib gbm epoxy cairo-gl Please install. You can try '[...]
Summary: media-gfx/fbida-2.12 - src_compile(): Build dependencies missing for fbi and/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-29 13:25 UTC by Toni Ballesta
Modified: 2020-09-05 09:12 UTC (History)
4 users (show)

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


Attachments
Build log with package header included (file_642640.txt,2.62 KB, text/plain)
2018-01-04 21:55 UTC, Toni Ballesta
Details
Patch for solve poppler with cairo dependency on 2.12 (fbida-2.12-r1.patch,352 bytes, patch)
2018-09-03 21:12 UTC, Toni Ballesta
Details | Diff
Patch for solve poppler with cairo dependency on 2.14 (fbida-2.14-r1.patch,352 bytes, patch)
2018-09-03 21:14 UTC, Toni Ballesta
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Ballesta 2017-12-29 13:25:48 UTC
Principal USE flag "fbcon" have dependency problems.

Reproducible: Always

Steps to Reproduce:
1. Emerging www-client/links-2.14 with USE=fbcon no problems and work ok.
2. Emerging www-client/w3m-0.5.3-r9 with USE=fbcon no problems and work ok.
3. Emerging media-gfx/fbida-2.12 have problems with only USE=fbcon.
Actual Results:  
Fbida is actually emerged with these flags:

[ebuild   R    ] media-gfx/fbida-2.12::gentoo  USE="X curl ghostscript gif png tiff webp -fbcon -lirc -scanner"

I don't need lirc and scanner, but fbcon is totally required.


### ERROR ###
>>> Unpacking source...
>>> Unpacking fbida-2.12.tar.gz to /var/tmp/portage/media-gfx/fbida-2.12/work
>>> Unpacking ida.png.bz2 to /var/tmp/portage/media-gfx/fbida-2.12/work
>>> Source unpacked in /var/tmp/portage/media-gfx/fbida-2.12/work
>>> Preparing source in /var/tmp/portage/media-gfx/fbida-2.12/work/fbida-2.12 ...
 * Applying ida-desktop.patch ...                                                                                                                                                                                                      [ ok ]
 * Applying fbida-2.10-giflib-4.2.patch ...                                                                                                                                                                                            [ ok ]
 * Applying fbida-2.10-fprintf-format.patch ...                                                                                                                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/fbida-2.12/work/fbida-2.12 ...
make -j1 Make.config 
checking for libdir name ... lib
checking for X11 app-defaults prefix ... /usr/share/X11
checking for endian.h ... yes
checking for linux/fb.h ... yes
checking for libexif/exif-log.h ... yes
checking for fopencookie ... yes
checking for strsignal ... yes
checking for pcd_open in pcd ... no
checking for DGifOpenFileName in gif ... yes
checking for libpng (using pkg-config) ... yes
checking for libtiff-4 (using pkg-config) ... yes
checking for libwebp (using pkg-config) ... yes
checking for sane_init in sane ... no
checking for curl_easy_init in curl ... yes
checking for lirc_init in lirc_client ... no
checking for XmStringGenerate in Xm ... yes
checking for libjpeg version ... 62

Make.config written, edit if needed

make: 'Make.config' está actualizado.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/fbida-2.12/work/fbida-2.12 ...
make -j1 verbose=yes 
Build dependencies missing for fbi and/or fbpdf.
  fbi   needs:  freetype2 fontconfig libdrm libexif libpng libtiff-4 libwebp
  fbpdf needs:  libdrm poppler-glib gbm epoxy cairo-gl
Please install.  You can try 'make yum' (needs sudo).
make: *** [GNUmakefile:28: deps] Error 1


### INFO ###
Portage 2.3.13 (python 2.7.14-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r9, 4.9.49-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.49-gentoo-r1-i686-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.4.1
KiB Mem:     8177320 total,   6424536 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Thu, 28 Dec 2017 00:45:01 +0000
Head commit of repository gentoo: dbbcaa80af14ec02c8eba29c56f946886b192845
Timestamp of repository poly-c: Mon, 12 Dec 2016 07:39:13 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::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.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

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

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

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -mtune=generic -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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="-Os -march=i686 -mtune=generic -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/pkgdir"
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"
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-03 23:46:36 UTC
Please set language to english (e.g. LC_MESSAGES=C) and then attach the complete build log.
Comment 2 Toni Ballesta 2018-01-04 21:55:56 UTC
Created attachment 513380 [details]
Build log with package header included
Comment 3 blopsalot 2018-01-15 16:04:46 UTC
Solution appears to be that fbida requires poppler to be built with cairo use flag or it is missing headers.
Comment 4 Jalus Bilieyich 2018-01-15 18:44:04 UTC
Adding the cairo USE flag to poppler enabled me to install media-gfx/fbida with fbcon.
Comment 5 Toni Ballesta 2018-01-15 23:12:27 UTC
Me too, same results with USE=cairo on poppler...

Thanks.
Comment 6 Toni Ballesta 2018-09-03 21:12:02 UTC
Created attachment 545866 [details, diff]
Patch for solve poppler with cairo dependency on 2.12
Comment 7 Toni Ballesta 2018-09-03 21:14:22 UTC
Created attachment 545868 [details, diff]
Patch for solve poppler with cairo dependency on 2.14

I recommend remove mask flags, minimum on x86 and amd64 (seems to work ok).
Comment 8 Nuno 2019-03-24 21:42:02 UTC
+1 on this. Adding the cairo USE flag to poppler-0.74.0 enabled me to install media-gfx/fbida-2.12 with fbcon. Same for media-gfx/fbida-2.13-r1.
Comment 9 Larry the Git Cow gentoo-dev 2020-09-05 09:12:34 UTC
The bug has been closed via the following commit(s):

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

commit b1c77eafd6a113cbdf7c129a92237e68ff3c7ad1
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-09-05 09:09:27 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-09-05 09:12:31 +0000

    media-gfx/fbida: Set more dependencies
    
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Closes: https://bugs.gentoo.org/595234
    Closes: https://bugs.gentoo.org/642640
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 media-gfx/fbida/fbida-2.14-r2.ebuild | 8 ++++++--
 media-gfx/fbida/fbida-9999.ebuild    | 5 ++++-
 2 files changed, 10 insertions(+), 3 deletions(-)