nodejs - missing req

Elan Ruusamäe glen at pld-linux.org
Wed Nov 16 11:45:06 CET 2011


On 16.11.2011 10:41, Lukasz Michalski wrote:
> Patch attached.

patches should be attached in unified format (diff -u)

and we do not fill such dependencies manually, these should be generated 
by rpmbuild

so most likely the actual problem is shared library missing executable bit

the usual fix for that is:
chmod a+rx $RPM_BUILD_ROOT%{_libdir}/*.so*

this is due crappy build systems like waf or scons or cmake
that install libraries with 644 permissions

$ l ~/tmp/nodejs-0.4.12-root-glen/usr/lib/libnode.so*
lrwxrwxrwx 1 glen users   16 nov   16 12:39 
/home/users/glen/tmp/nodejs-0.4.12-root-glen/usr/lib/libnode.so -> 
libnode.so.4.0.0
lrwxrwxrwx 1 glen users   16 nov   16 12:39 
/home/users/glen/tmp/nodejs-0.4.12-root-glen/usr/lib/libnode.so.4 -> 
libnode.so.4.0.0
-rw-r--r-- 1 glen users 992K nov   16 12:39 
/home/users/glen/tmp/nodejs-0.4.12-root-glen/usr/lib/libnode.so.4.0.0

so fixed now:
http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/nodejs/nodejs.spec?r1=1.23&r2=1.24 
<http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/nodejs/nodejs.spec?r1=1.23&r2=1.24>

as seen:
$ rpm -qp nodejs-0.4.12-1.x86_64.rpm --requires
/sbin/ldconfig
/sbin/ldconfig
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libnode.so.4()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1

$ rpm -qp ../RPMS/nodejs-0.4.12-2.i686.rpm  --requires
/sbin/ldconfig
/sbin/ldconfig
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.2)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.2)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
libc.so.6(GLIBC_2.6)
libcares.so.2
libcrypto.so.1.0.0
libdl.so.2
libdl.so.2(GLIBC_2.0)
libdl.so.2(GLIBC_2.1)
libev.so.4
libgcc_s.so.1
libgcc_s.so.1(GCC_3.0)
libgcc_s.so.1(GLIBC_2.0)
libm.so.6
libnode.so.4
libpthread.so.0
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2)
libpthread.so.0(GLIBC_2.3.2)
librt.so.1
libssl.so.1.0.0
libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(GLIBCXX_3.4)
libutil.so.1
libutil.so.1(GLIBC_2.0)
libv8.so.3
libz.so.1


-- 
glen



More information about the pld-devel-en mailing list