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: Robin Cook <rcook AT wyrms.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] xorg-server 1.10.0
  • Date: Fri, 04 Mar 2011 00:53:32 -0600

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.

CuZnDragon
Robin Cook

On Thu, 2011-03-03 at 19:47 -0800, Eric Sandall wrote:
> On Sun, 2011-02-27 at 15:54 +0100, Ladislav Hagara wrote:
> > Hi,
> > I have updated xorg-server to 1.10.0 in devel-xorg-modular together with
> > RC1 versions of xf86-input-keyboard and xf86-input-mouse. Works for me
> > with nvidia_driver 270.29 when started "startx -- -ignoreABI".
> >
> > When we will eventually integrate "new" xorg into test grimoire we have
> > to omit:
> >
> > 7bbdd80ddab0400fca851927261b875fc6ab8bbf xorg-server 1.10.0
> > 674968e1a51daebe7b2f52929e43da7ee373e7ce xf86-input-keyboard 1.5.99.901
> > 2860f3d0f0c6c4ab19c81c95dccf250de563e50a xf86-input-mouse 1.6.99.901
>
> $ sorcery -v
> 1.14.6-rc1
>
> I tried updating to devel-xorg-modular with my xf86-video-ati card,
> but:
> libpthread-stubs has a dependency on pkgconfig
> libpthread-stubs checking for reverse triggers...
> This is an ABI incompatible update of libpthread-stubs...
> Determining which spells need to be recast, this may take a while.
> grep: support for the -P option is not compiled into this
> --disable-perl-regexp binary
> grep: support for the -P option is not compiled into this
> --disable-perl-regexp binary
> grep: support for the -P option is not compiled into this
> --disable-perl-regexp binary
> grep: support for the -P option is not compiled into this
> --disable-perl-regexp binary
> ...
>
> pcre is optional for grep, our spells should never be requiring it.
> It's also "highly experimental" from `man grep`:
> -P, --perl-regexp
> Interpret PATTERN as a Perl regular expression.
> This is highly experimental and
> grep -P may warn of unimplemented features.
>
> Without the -P, I get:
> libpthread-stubs has a dependency on pkgconfig
> libpthread-stubs checking for reverse triggers...
> This is an ABI incompatible update of libpthread-stubs...
> Determining which spells need to be recast, this may take a while.
> grep: Unmatched ) or \)
> grep: Unmatched ) or \)
> grep: Unmatched ) or \)
>
> I also noticed output like the following during the libpthread-stubs
> reverse trigger check:
> libpthread-stubs checking for reverse triggers...
> libpthread-stubs triggers a cast_self on clutter
> libpthread-stubs triggers a cast_self on clutter-gtk
> libpthread-stubs triggers a cast_self on libchamplain
> Looks like you had an old gaze on PID 21574. Cleaning it out...
>
> I have applied the following fix to devel-xorg-modular:
> diff --git a/xorg-extras/libpthread-stubs/UP_TRIGGERS
> b/xorg-extras/libpthread-stubs/UP_TRIGGERS
> index 7abfaed..74d4163 100755
> --- a/xorg-extras/libpthread-stubs/UP_TRIGGERS
> +++ b/xorg-extras/libpthread-stubs/UP_TRIGGERS
> @@ -11,7 +11,7 @@ if spell_ok $SPELL; then
> | grep '\<ELF\>.*\<dynamically linked\>' \
> | cut -d: -f1 \
> | xargs readelf -d 2> /dev/null \
> - | grep -q -P 'NEEDED\)\s*Shared library:
> \[libpthread-stubs.so.0'; then
> + | grep -q 'NEEDED)\s*Shared library:
> \[libpthread-stubs.so.0'; then
> up_trigger $other_spell cast_self
> fi
> done
>
> but still had some failures:
>
> Spells that have been dropped:
> ------------------------------
> avahi gnome-python-desktop libiodbc
> pulseaudio
> clutter gtk+2 libnotify
> qt4
> clutter-gtk gtk-xfce-engine librsvg2
> thunar
> evince gtkhtml2 libwnck
> thunar-vfs
> evolution gtkmm2 libxfce4ui
> unique
> evolution-data-server imagemagick libxfcegui4
> virtuoso
> evolution-exchange libcanberra mpg123
> vte
> exo libchamplain openbox
> xfce4-panel
> firefox libdbusmenu-qt openldap
> xfprint
> flash libgnomecanvas pangomm
> xulrunner
> gnome-desktop libgweather poppler
>
>
> Spells that encountered problems:
> ---------------------------------
> gdk-pixbuf2 gtk-vnc xf86-video-ati
> imlib2
> libproxy pango xkeyboard-config
>
> The install queue is not empty,
> it still contains the following spells:
> ---------------------------------------
> firefox libdbusmenu-qt xf86-video-ati
> imagemagick poppler xkeyboard-config
> libchamplain qt4 xulrunner
>
> Example of failure:
>
> $ gaze compile pango
> ...
> make[4]: Entering directory `/usr/src/pango-1.28.3/pango'
> CCLD libpangocairo-1.0.la
> libtool: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../libgobject-2.0.la'
> seems to be moved
> libtool: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../libgthread-2.0.la'
> seems to be moved
> libtool: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../libgmodule-2.0.la'
> seems to be moved
> libtool: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../libglib-2.0.la' seems
> to be moved
> libtool: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../libstdc++.la' seems to
> be moved
> CCLD pango-querymodules
> GISCAN Pango-1.0.gir
> /usr/src/pango-1.28.3/pango/pango-color-table.h:762: syntax error,
> unexpected identifier in ' guint16 name_offset;' at 'guint16'
> /usr/src/pango-1.28.3/pango/pango-color-table.h:768: syntax error,
> unexpected identifier, expecting ',' or ';' in 'static const
> ColorEntry color_entries[] = {' at 'color_entries'
> /usr/src/pango-1.28.3/pango/pango-language-sample-table.h:52: syntax
> error, unexpected identifier in 'LANGUAGE(' at 'LANGUAGE'
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld:
> warning: libpthread-stubs.so.0, needed by /usr/lib/libXext.so.6, not found
> (try using -rpath or -rpath-link)
> /usr/src/pango-1.28.3/pango/tmp-introspectK8ZHHO/.libs/lt-Pango-1.0:
> error while loading shared libraries: libpthread-stubs.so.0: cannot
> open shared object file: No such file or directory
> Command
> '['/usr/src/pango-1.28.3/pango/tmp-introspectK8ZHHO/Pango-1.0',
> '--introspect-dump=/usr/src/pango-1.28.3/pango/tmp-introspectK8ZHHO/types.txt,/usr/src/pango-1.28.3/pango/tmp-introspectK8ZHHO/dump.xml']'
> returned non-zero exit status 127
> make[4]: *** [Pango-1.0.gir] Error 1
> make[4]: Leaving directory `/usr/src/pango-1.28.3/pango'
> make[3]: Leaving directory `/usr/src/pango-1.28.3/pango'
> make[2]: Leaving directory `/usr/src/pango-1.28.3/pango'
> make[1]: Leaving directory `/usr/src/pango-1.28.3'
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error
>
> A recast of pango seems to work:
> # cast -c pango (triggers cairo)
> ...
> Staging config files into the system
> 755 root:root /etc
> 755 root:root /etc/pango
> 644 root:root /etc/pango/pangox.aliases
> 644 root:root /etc/pango/pango.modules
> Cannot load module /usr/lib/pango/1.6.0/modules/pango-basic-x.so:
> libpthread-stubs.so.0: cannot open shared object file: No such file or
> directory
> /usr/lib/pango/1.6.0/modules/pango-basic-x.so does not export Pango
> module API
> Creating compile log /var/log/sorcery/compile/pango-1.28.3.bz2
> Creating castfs debug
> log /var/log/sorcery/compile/pango-1.28.3.castfs.dbglog.bz2
> Creating tablet in
> directory /var/state/sorcery/tablet/pango/20110302133812
> Creating install log /var/log/sorcery/install/pango-1.28.3
> Creating MD5 log /var/log/sorcery/md5sum/pango-1.28.3
> Creating cache
> file /var/cache/sorcery/pango-1.28.3-i686-pc-linux-gnu.tar.bz2
> Finished processing install requests.
>
> Spells installed successfully:
> ------------------------------
> cairo pango
>
> The other failed packages fail to compile with various errors.
>
> I still have many files which point to libpthread-stubs.so.0:
> $ find /usr/lib/ -type f -name "*.so" -print0 | xargs -0 readelf -d
> | grep 'NEEDED)\s*Shared library: \[libpthread-stubs.so.0' | wc -l
> readelf: Error: Unable to read in 0x2074 bytes of section headers
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the
> start
> readelf: Error: Unable to read in 0x2074 bytes of section headers
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the
> start
> 184
>
> Yet I have no libpthreads-stubs* shared object, is this correct?
> $ ls -lah /usr/lib/libpthread-stubs*
> -rwxr-xr-x 1 root root 893 Mar 2 12:19 /usr/lib/libpthread-stubs.la
>
> -sandalle
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page