Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532354 - media-gfx/fbida-2.09-r4 USE='-pdf -fbcon' - rm: cannot remove ‘.../image//usr/bin/fbgs’: No such file or directory
Summary: media-gfx/fbida-2.09-r4 USE='-pdf -fbcon' - rm: cannot remove ‘.../image//usr...
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: 2014-12-12 09:45 UTC by Maxim Britov
Modified: 2014-12-12 11:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2014-12-12 09:45:54 UTC
With USE='-fbcon' code:
  gentoo_fbida fbcon LINUX_FB_H
will provide HAVE_LINUX_FB_H=no

then fbida-2.09/GNUmakefile:204 wont build fbgs and fbgs.1
   ifeq ($(HAVE_LINUX_FB_H),yes)
           $(INSTALL_BINARY) fbi $(bindir)
           $(INSTALL_SCRIPT) fbgs $(bindir)
           $(INSTALL_DATA) $(srcdir)/fbi.man $(mandir)/man1/fbi.1
           $(INSTALL_DATA) $(srcdir)/fbgs.man $(mandir)/man1/fbgs.1
   endif

then with USE='-fbcon -pdf' ebuild fails in fbida-2.09-r4.ebuild:114: 

   if ! use pdf; then
           rm "${D}"/usr/bin/fbgs "${D}"/usr/share/man/man1/fbgs.1 || die
   fi

and as result:
rm: cannot remove ‘/var/tmp/portage/media-gfx/fbida-2.09-r4/image//usr/bin/fbgs’: No such file or directory
rm: cannot remove ‘/var/tmp/portage/media-gfx/fbida-2.09-r4/image//usr/share/man/man1/fbgs.1’: No such file or directory
 * ERROR: media-gfx/fbida-2.09-r4::gentoo failed (install phase):



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-12 11:09:18 UTC
+  12 Dec 2014; Jeroen Roovers <jer@gentoo.org> -fbida-2.09-r3.ebuild,
+  fbida-2.09-r4.ebuild, -files/fbida-2.09-giflib-4.2.patch,
+  -files/fbida-2.09-giflib-5.patch:
+  No fbgs to remove when USE=-fbcon (bug #532354 by Maxim Britov).
+