Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529594 - dev-libs/libnsfb-0.1.2: pkgconfig weirdness / reverse dependencies fail to build
Summary: dev-libs/libnsfb-0.1.2: pkgconfig weirdness / reverse dependencies fail to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 03:42 UTC by Patrick Lauer
Modified: 2014-11-18 13:48 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 Patrick Lauer gentoo-dev 2014-11-17 03:42:54 UTC
Added this to satisfy new netrunner version dependencies, pkgconfig file looks a bit broken (as do install paths):

 # cat /usr/pkgconfig/libnsfb.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include

Name: libnsfb
Description: Provides framebuffer access for netsurf.
Version: 0.1.2

Libs: -L${libdir} -lnsfb
Cflags: -I${includedir}

So I un-keyworded it until it gets properly fixed.
Comment 1 Patrick Lauer gentoo-dev 2014-11-17 03:54:02 UTC
+  17 Nov 2014; Patrick Lauer <patrick@gentoo.org> package.use.mask:
+  Temporarily mask fbcon useflag on netsurf until libnsfb is fixed #529594
+

So once libnsfb works, and netsurf compiles with it, you can unmask it and repoman won't be upset :)

And netsurf fails like this:

Package libnsfb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnsfb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnsfb' found

[snip]

thumbnail.c:(.text+0x127): undefined reference to `nsfb_plot_copy'
thumbnail.c:(.text+0x12f): undefined reference to `nsfb_free'
thumbnail.c:(.text+0x1c9): undefined reference to `nsfb_free'
collect2: error: ld returned 1 exit status
Makefile:566: recipe for target 'nsfb' failed
make: *** [nsfb] Error 1
 * ERROR: www-client/netsurf-3.2::gentoo failed (compile phase):
Comment 2 Michael Weber (RETIRED) gentoo-dev 2014-11-18 13:48:42 UTC
(In reply to Patrick Lauer from comment #1)
> +  17 Nov 2014; Patrick Lauer <patrick@gentoo.org> package.use.mask:
> +  Temporarily mask fbcon useflag on netsurf until libnsfb is fixed #529594

I forgot to commit my updated version of the ebuild, with 
  NETSURF_BUILDSYSTEM=buildsystem-1.2
and other updates. 

Sorry for the mess, it all compiled/repoman full'd on my laptop.