[SM-Discuss] xorg-server 1.10.0

Eric Sandall 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:
commit 6e508b3604740b71ceffa53729bc0f273ffb7962
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).

Installed: 654
Failing: 12
Fail List:
	libmsn
	pump
	mesalib
	ncftp
	strigi
	imagemagick
	soprano
	xf86-video-ati
	xkeyboard-config
	evolution-data-server
	evolution
	evolution-exchange

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
50

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
evolution-2.32.2
evolution-data-server-2.32.2
evolution-exchange-2.32.2
xf86-video-ati-6.13.2

Which seem to fail for reasons unrelated to libpthread-stubs.so.0.

e.g. xf86-video-ati:
Making all in src
make[2]: 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
on)
radeon_output.c:1624: error: 'XF86CrtcSetMode' undeclared (first use in this fun
ction)
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
unction)
radeon_output.c:1627: error: 'XF86CrtcSetRotation' undeclared (first use in this
 function)
radeon_output.c:1633: warning: implicit declaration of function 'xf86CrtcSet'
make[2]: *** [radeon_output.lo] Error 1
make[2]: Leaving directory `/usr/src/xf86-video-ati-6.14.0/src'

-sandalle

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...
URL: http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20110304/30403d70/attachment.html 


More information about the SM-Discuss mailing list