Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364665 - sys-power/nvclock - ./backend/libbackend.a(nv50.o): In function `nv50_i2c_create_bus_ptr': nv50.c:(.text+0xa1): undefined reference to `xf86CreateI2CBusRec'
Summary: sys-power/nvclock - ./backend/libbackend.a(nv50.o): In function `nv50_i2c_cre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2011-04-24 14:40 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-04-25 03:42 UTC (History)
0 users

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


Attachments
Build log (nvclock-0.8_p20110102-r1:20110424-083751.log,18.61 KB, text/plain)
2011-04-24 14:40 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-24 14:40:54 UTC
Created attachment 271003 [details]
Build log

[qt/Makefile does not link to the X11 libs at all, which are required for the backend objects; the Qt libraries are not bringing in their deps in this case it seems.]

I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).

Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too.

Check the attached build log.

Thanks,
Diego
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-25 03:40:50 UTC
(In reply to comment #0)
> Created attachment 271003 [details]
> Build log
> 
> [qt/Makefile does not link to the X11 libs at all, which are required for the
> backend objects; the Qt libraries are not bringing in their deps in this case
> it seems.]

The Qt frontend isn't even built as that would be Qt 3

  03 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
  nvclock-0.8_beta4-r4.ebuild, nvclock-9999.ebuild:
  Remove USE="qt3" support wrt bug #284046.

Your build log doesn't show this either:

make[2]: Entering directory `/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r1/work/nvclock-0.8_p20110102/src/qt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r1/work/nvclock-0.8_p20110102/src/qt'

In fact, looking again at the src/backend/Makefile.in, it appears to be a missing dependency on x11-base/{libX11,libXext}.

Additionally, I was wrongly assuming NVCONTROL support was tied closely to GTK+ support, whereas this should be independently controlled (by adding USE=nvcontrol and the additional dependencies).
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-25 03:42:28 UTC
I think it's fixed now, without a revision bump.