[SM-Discuss] xorg-server 1.10.0
eric at sandall.us
Fri Mar 4 18:54:11 EST 2011
On Mar 3, 2011, at 10:53 PM, Robin Cook wrote:
> I was getting the grep error until I recompiled pcre and grep then that
> went away.
> But I could never get totally rid of the dependency on
> libpthread-stubs.so.0 as I needed my machine working again so haven't
> had the time to recast each spell that shows linked to
> libpthread-stubs.so.0 and keep cycling through the list until it is
> cleared. But on the triggers it doesn't seem to cast them in the
> correct order to clear it.
pcre is optional for grep, so we cannot require it in our spells. I've removed this with the following commit in devel-xorg-modular:
Author: Eric Sandall <sandalle at sourcemage.org>
Date: Thu Mar 3 17:23:48 2011 -0800
libpthread-stubs: Do not use optional (and highly experimental) grep w/pcre
It seems to be a dependency issue, not an issue with the UP_TRIGGERS itself. After a `sorcery rebuild` and trying to cast each failed spell after that, I am down to 12 failing (most of which are failing for reasons other than libpthreads).
Still some references to libpthread-stubs.so.0 left:
# find / -type f -name "*.so" -print0 2>/dev/null | xargs -0 readelf -d 2>/dev/null | grep 'NEEDED)\s*Shared library: \[libpthread-stubs.so.0'|wc -l
Which are just from the packages which fail to compile:
# for i in $(find / -type f -name "*.so" -print0 2>/dev/null | xargs -0 grep 'libpthread-stubs.so.0' | cut -d' ' -f3); do gaze from $i | cut -d: -f1; done | sort -u
Which seem to fail for reasons unrelated to libpthread-stubs.so.0.
Making all in src
make: Entering directory `/usr/src/xf86-video-ati-6.14.0/src' CCLD ati_drv.la
CC radeon_output.loradeon_output.c: In function 'radeon_set_mode_for_property':
radeon_output.c:1622: error: 'xf86CrtcSetRec' undeclared (first use in this function)
radeon_output.c:1622: error: (Each undeclared identifier is reported only once
radeon_output.c:1622: error: for each function it appears in.)
radeon_output.c:1622: error: expected ';' before 'crtc_set_rec'
radeon_output.c:1624: error: 'crtc_set_rec' undeclared (first use in this functi
radeon_output.c:1624: error: 'XF86CrtcSetMode' undeclared (first use in this fun
radeon_output.c:1625: error: 'XF86CrtcSetOutput' undeclared (first use in this f
unction)radeon_output.c:1626: error: 'XF86CrtcSetOrigin' undeclared (first use in this f
radeon_output.c:1627: error: 'XF86CrtcSetRotation' undeclared (first use in this
radeon_output.c:1633: warning: implicit declaration of function 'xf86CrtcSet'
make: *** [radeon_output.lo] Error 1
make: Leaving directory `/usr/src/xf86-video-ati-6.14.0/src'
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SM-Discuss