Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81198 - gpm-1.20.1-r3 fails to compile; emacs cannot find libXm.so.2
Summary: gpm-1.20.1-r3 fails to compile; emacs cannot find libXm.so.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 23:42 UTC by Ramana Kumar
Modified: 2005-02-09 03:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramana Kumar 2005-02-07 23:42:15 UTC
I cannot emerge gpm-1.20.1-r3 (trying to emerge -uD system) because of what appears to be an error running an emacs batch not being able to find libXm. see the output pasted below.

Reproducible: Always
Steps to Reproduce:
1. emerge -uD gpm
Actual Results:  
!!! ERROR: sys-libs/gpm-1.20.1-r3 failed.

Expected Results:  
successful compile...

>>> emerge (1 of 4) sys-libs/gpm-1.20.1-r3 to /
>>> md5 src_uri ;-) gpm-1.20.1.tar.bz2
>>> md5 src_uri ;-) gpm-1.20.1-patches-1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking gpm-1.20.1.tar.bz2 to /var/tmp/portage/gpm-1.20.1-r3/work
>>> Unpacking gpm-1.20.1-patches-1.2.tar.bz2 to /var/tmp/portage/gpm-1.20.1-r3/work
 * Applying various patches (bugfixes/updates) ...
 *   01_all_info.patch.bz2 ...                                                 
     [ ok ]
 *   03_all_DESTDIR.patch.bz2 ...                                              
     [ ok ]
 *   04_all_root.patch.bz2 ...                                                 
     [ ok ]
 *   05_all_serialconsole.patch.bz2 ...                                        
     [ ok ]
 *   08_all_nodebug.patch.bz2 ...                                              
     [ ok ]
 *   09_all_logfillup.patch.bz2 ...                                            
     [ ok ]
 *   10_all_link.patch.bz2 ...                                                 
     [ ok ]
 *   11_all_lib_segv.patch.bz2 ...                                             
     [ ok ]
 *   12_all_linux26-dependcache.patch.bz2 ...                                  
     [ ok ]
 *   20_all_gpm-1.20.1-subscript.patch.bz2 ...                                 
     [ ok ]
 *   60_all_parallel-build.patch.bz2 ...                                       
     [ ok ]
 * Done with patching
>>> Source unpacked.
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/lib --sysconfdir=/etc/gpm
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... yes
checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking for bison... bison -y
checking whether ln -s works... yes
checking for dvips... /usr/bin/dvips
checking for texi2html... no
checking for tex... /usr/bin/tex
checking for texindex... /usr/bin/texindex
checking for makeinfo... /usr/bin/makeinfo
checking for diff... /usr/bin/diff
checking for sed... /bin/sed
checking for emacs... /usr/bin/emacs
checking where to install Emacs Lisp files... ${datadir}/emacs/site-lisp
checking how to run the C preprocessor... gcc -E
checking for syslog.h... yes
checking for linux/input.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... yes
checking for ncurses/curses.h... no
checking for curses.h... yes
checking for sys/sysmacros.h... yes
checking for linux/major.h... yes
checking for linux/tty.h... yes
checking for __u32... yes
checking whether system is ELF... yes
checking for vsyslog... yes
checking for syslog... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... yes
checking for wgetch in -lncurses... yes
updating cache ./config.cache
creating ./config.status
creating Makefile.include
creating Makefile
creating doc/Makefile
creating src/Makefile
creating contrib/Makefile
creating doc/doc.gpm
creating src/headers/config.h
touch src/.depend # to prevent unecessary warnings
make -C src dep
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
bison -y  /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src/prog/gpm-root.y &&
mv y.tab.cprog/gpm-root.c
# make links in srcdir
make[1]: [.depend] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
x86_64-pc-linux-gnu-gcc -I. -I
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src -M
-I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include
headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" 
$DEPS | \
/bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g'  >> .depend ; done
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
# make links in srcdir
make[1]: [dep] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
x86_64-pc-linux-gnu-gcc -I. -I
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src -M
-I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include
headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" 
$DEPS | \
/bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g'  >> .depend ; done
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o main.o main.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o gpm.o gpm.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o gpn.o gpn.c
gpm.c: In function `processConn':
gpm.c:780: warning: passing arg 3 of `accept' from incompatible pointer type
gpm.c: In function `open_console':
gpm.c:172: warning: control reaches end of non-void function
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o mice.o mice.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o special.o special.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o twiddler.o twiddler.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o synaptics.o synaptics.c
twiddler.c: In function `twiddler_rest_to_value':
twiddler.c:441: warning: cast to pointer from integer of different size
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o startup.o startup.c
synaptics.c:888: warning: 'tp_dump_report_data' defined but not used
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o server_tools.o server_tools.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o report.o report.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o tools.o tools.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o lib/liblow.lo lib/liblow.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o lib/libhigh.lo lib/libhigh.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o lib/libxtra.lo lib/libxtra.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o lib/report-lib.lo
lib/report-lib.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o tools.lo tools.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O2 -O2 -c -o lib/libcurses.lo
lib/libcurses.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o lib/liblow.o lib/liblow.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o lib/libhigh.o lib/libhigh.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o lib/libxtra.o lib/libxtra.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o lib/report-lib.o lib/report-lib.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o lib/libcurses.o lib/libcurses.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o prog/mev.o prog/mev.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o prog/hltest.o prog/hltest.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o prog/mouse-test.o prog/mouse-test.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o prog/disable-paste.o prog/disable-paste.c
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
gpm main.o gpm.o gpn.o mice.o special.o twiddler.o synaptics.o startup.o
server_tools.o report.o tools.o   -lm
x86_64-pc-linux-gnu-gcc -fPIC -shared -Wl,-soname,libgpm.so.1 \
-L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o lib/libgpm.so.1.19.0
lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo
lib/libcurses.lo  -lncurses  -lncurses  -lc
x86_64-pc-linux-gnu-ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o
lib/report-lib.o tools.o lib/libcurses.o
x86_64-pc-linux-gnu-ranlib lib/libgpm.a
ln -s -f libgpm.so.1.19.0 lib/libgpm.so
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
prog/mev prog/mev.o lib/libgpm.so
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
prog/hltest prog/hltest.o lib/libgpm.so
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o lib/libgpm.so   -lm
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
prog/disable-paste prog/disable-paste.o lib/libgpm.so
x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o prog/gpm-root.o prog/gpm-root.c
x86_64-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src  -o
prog/gpm-root prog/gpm-root.o   lib/libgpm.so
rm prog/hltest.o prog/mev.o prog/disable-paste.o
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/src'
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc'
/bin/sed -f /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/infofilter
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/doc.gpm >
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo
awk -f /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager doc.gpm
chmod 400 /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo
if [ "/usr/bin/makeinfo" != "no" ]; then /usr/bin/makeinfo
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo -o
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.info; fi
awk: /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager:35: warning:
escape sequence `\{' treated as plain `{'
awk: /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager:36: warning:
escape sequence `\}' treated as plain `}'
for i in gpm-root.1 gpm-types.7 gpm.8 mev.1 mouse-test.1; do \
        expand $i | sed s/^'[ ]*'//g > $i.new; \
        mv $i.new $i; \
done;
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo:277: warning:
unlikely character ( in @var.
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo:277: warning:
unlikely character ) in @var.
touch gpm.man
rm /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc'
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib'
/usr/bin/emacs -batch -l
/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib/emacs/exec.el -exec
'(byte-compile-file "emacs/t-mouse.el")'
/usr/bin/emacs: error while loading shared libraries: libXm.so.2: cannot open
shared object file: No such file or directory
make[1]: *** [emacs/t-mouse.elc] Error 127
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib'
make: *** [do-all] Error 1

!!! ERROR: sys-libs/gpm-1.20.1-r3 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 renzo 2005-02-08 08:16:59 UTC
Had same problem, resolved it with doing a revdep-rebuild !
Comment 2 Ramana Kumar 2005-02-09 03:49:15 UTC
fixing up a few of my packages with revdep-rebuild appears to have done the trick - thanks !