Re: [Security-Discuss] last xorg update

Mark Scott <[email protected]>
Newsgroups gmane.linux.mandrake.security.general
Message-ID <[email protected]>
Sir Pingus wrote:
> Hi everyone,
> 
> Since the last Xorg update, Xpm seems to be "broken"
> or unknown.
> I'm one one the XdTV developpers and we use such
> functions:
> 
> dnl
> ---------------------------------------------------------------------
> dnl Checks for Xpm libraries.
> 
> AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData,
> 	         AC_DEFINE(HAVE_XPM,,XPM library)
> LIBXPM="-lXpm",
> 	         LIBXPM="", 
> 	         $X_LIBS $X_PRE_LIBS -lXext -lX11
> $X_EXTRA_LIBS)
> AC_SUBST(LIBXPM)
> 
> Result:
> checking for XawDialogAddButton in -lXaw... no
> 
> we use XpmCreatePixmapFromData to skin the GUI.
> 
> Do you have any idea about this problem?

I've noticed an issue with php-gd also not working (on Mandrake 10.0), 
complaining about a missing s_popen function when the extension is loaded.

Trying to rebuild the php-gd SRPM fails and config.log contains:

configure:2483: checking for XpmFreeXpmImage in -lXpm
configure:2502: gcc -o conftest -O2 -fomit-frame-pointer -pipe 
-march=i586 -mcpu=pentiumpro   -Wl,-rpath,/usr/X11R6/lib 
-L/usr/X11R6/lib  -lX11 conftest.c -lXpm   -lm 1>&5
/usr/X11R6/lib/libXpm.so: undefined reference to `s_popen'
collect2: ld returned 1 exit status

$ rpm -qf /usr/X11R6/lib/libXpm.so
libxpm4-devel-3.4k-27.2.100mdk

SRPM for that RPM is xpm-3.4k-27.2.100mdk.

Trying to rebuild that SRPM results in:

gcc -m32 -o sxpm -O2 -fomit-frame-pointer -pipe -march=i586 
-mcpu=pentiumpro       -L/usr/X11R6/lib   sxpm.o -L../lib 
-L/usr/X11R6/lib -lXpm -lXt -lSM -lICE -lXext -lX11
/usr/X11R6/lib/libXpm.so: undefined reference to `s_popen'
collect2: ld returned 1 exit status
make[1]: *** [sxpm] Error 1
make[1]: Leaving directory 
`/usr/local/src/development/mark/rpm/BUILD/xpm-3.4k/sxpm'
make: *** [all] Error 2
error: Bad exit status from 
/usr/local/src/development/mark/rpm/tmp/rpm-tmp.74198 (%build)

Both XPM and XFree86 contain a patch that implements s_popen, so I'm not 
sure what's going wrong:
XFree86-4.3-CAN-2004-0914.patch.bz2
xpm-3.4k-CAN-2004-0914.patch.bz2
-- 
Mark Scott
Caravan Sitefinder UK Ltd Technical Team

Tel: +44 (0)845 6444 185
Email: [email protected]
Web: http://www.caravan-sitefinder.co.uk/
message.footer (text/plain, 239 B)
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.