Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] xorg-server 1.10.0

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] xorg-server 1.10.0
  • Date: Fri, 4 Mar 2011 15:54:11 -0800

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
http://eric.sandall.us/           http://counter.li.org/  #196285



Archive powered by MHonArc 2.6.24.

Top of Page