rpmbuild...empty RPMS

Adam Miller maxamillion at fedoraproject.org
Wed Sep 9 17:34:19 UTC 2015


On Wed, Sep 9, 2015 at 12:23 PM, arnaud gaboury
<arnaud.gaboury at gmail.com> wrote:
> It is my first rpm build. I followed this how-to[0].
>
> $ rpmdev-setuptree
> $ cd ~/rpmbuild
> $ ls
> BUILD/  BUILDROOT/  RPMS/  SOURCES/  SPECS/  SRPMS/
> $ rpm -ivh sourcepackage-name*.src.rpm # I use an already exisiting
> package as base
> $ vim SPEC/MyName.spec
> $ $ rpmlint SPEC/MyName.spec
> $ $ rpmbuild -ba SPEC/MyName.spec
> ............... BUILDING.................
> Processing files: R-3.2.1-mkl.fc22.x86_64
> Processing files: R-core-3.2.1-mkl.fc22.x86_64
> Provides: R-KernSmooth = 2.23.15 R-MASS = 7.3.43 R-Matrix = 1.2.2
> R-base = 3.2.1 R-boot = 1.3.17 R-class = 7.3.13 R-cluster = 2.0.3
> R-codetools = 0.2.14 R-core = 3.2.1-mkl.fc22 R-core(x86-64) =
> 3.2.1-mkl.fc22 R-datasets = 3.2.1 R-foreign = 0.8.65 R-grDevices =
> 3.2.1 R-graphics = 3.2.1 R-grid = 3.2.1 R-lattice = 0.20.33 R-methods
> = 3.2.1 R-mgcv = 1.8.7 R-nlme = 3.1.121 R-nnet = 7.3.10 R-parallel =
> 3.2.1 R-rpart = 4.1.10 R-spatial = 7.3.10 R-splines = 3.2.1 R-stats =
> 3.2.1 R-stats4 = 3.2.1 R-survival = 2.38.3 R-tcltk = 3.2.1 R-tools =
> 3.2.1 R-utils = 3.2.1 config(R-core) = 3.2.1-mkl.fc22 libR.so()(64bit)
> libRblas.so()(64bit) libRlapack.so()(64bit)
> Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires(postun): /bin/sh
> Requires(posttrans): /bin/sh
> Requires: /bin/bash /bin/sh ld-linux-x86-64.so.2()(64bit)
> ld-linux-x86-64.so.2(GLIBC_2.2.5)(64bit) libR.so()(64bit)
> libRblas.so()(64bit) libRlapack.so()(64bit) libX11.so.6()(64bit)
> libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit)
> libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
> libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
> libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit)
> libc.so.6(GLIBC_2.7)(64bit) libcurl.so.4()(64bit) libdl.so.2()(64bit)
> libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit)
> libicui18n.so.54()(64bit) libicuuc.so.54()(64bit)
> libifcoremt.so.5()(64bit) libifport.so.5()(64bit) libimf.so()(64bit)
> libintlc.so.5()(64bit) libiomp5.so()(64bit)
> libiomp5.so(VERSION)(64bit) libirc.so()(64bit) libirng.so()(64bit)
> liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit)
> libpcre.so.1()(64bit) libpthread.so.0()(64bit)
> libpthread.so.0(GLIBC_2.2.5)(64bit) libreadline.so.6()(64bit)
> librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libsvml.so()(64bit)
> libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libtre.so.5()(64bit)
> libz.so.1()(64bit)
> Obsoletes: R-Matrix < 0.999375-7
> Processing files: R-core-devel-3.2.1-mkl.fc22.x86_64
> Provides: R-Matrix-devel = 1.2.2 R-core-devel = 3.2.1-mkl.fc22
> R-core-devel(x86-64) = 3.2.1-mkl.fc22 pkgconfig(libR) = 3.2.1
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires: /usr/bin/pkg-config
> Obsoletes: R-Matrix-devel < 0.999375-7
> Processing files: R-devel-3.2.1-mkl.fc22.x86_64
> Processing files: R-java-3.2.1-mkl.fc22.x86_64
> Processing files: R-java-devel-3.2.1-mkl.fc22.x86_64
> Processing files: libRmath-3.2.1-mkl.fc22.x86_64
> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OMbkES
> + umask 022
> + cd /home/poisonivy/rpmbuild/BUILD
> + cd R-3.2.1
> + DOCDIR=/home/poisonivy/rpmbuild/BUILDROOT/R-3.2.1-mkl.fc22.x86_64/usr/share/doc/libRmath
> + export DOCDIR
> + /usr/bin/mkdir -p
> /home/poisonivy/rpmbuild/BUILDROOT/R-3.2.1-mkl.fc22.x86_64/usr/share/doc/libRmath
> + cp -pr doc/COPYING
> /home/poisonivy/rpmbuild/BUILDROOT/R-3.2.1-mkl.fc22.x86_64/usr/share/doc/libRmath
> + exit 0
> Provides: libRmath = 3.2.1-mkl.fc22 libRmath(x86-64) = 3.2.1-mkl.fc22
> libRmath.so()(64bit)
> Requires(interp): /sbin/ldconfig /sbin/ldconfig
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /sbin/ldconfig
> Requires(postun): /sbin/ldconfig
> Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
> libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libimf.so()(64bit)
> libintlc.so.5()(64bit) libirng.so()(64bit) libm.so.6()(64bit)
> libsvml.so()(64bit)
> Processing files: libRmath-devel-3.2.1-mkl.fc22.x86_64
> Provides: libRmath-devel = 3.2.1-mkl.fc22 libRmath-devel(x86-64) =
> 3.2.1-mkl.fc22 pkgconfig(libRmath) = 3.2.1
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires: /usr/bin/pkg-config
> Processing files: libRmath-static-3.2.1-mkl.fc22.x86_64
> Provides: libRmath-static = 3.2.1-mkl.fc22 libRmath-static(x86-64) =
> 3.2.1-mkl.fc22
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Processing files: R-debuginfo-3.2.1-mkl.fc22.x86_64
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /home/poisonivy/rpmbuild/BUILDROOT/R-3.2.1-mkl.fc22.x86_64
> ............................BUILD ENDS.......................
>
> $ rpmlint /SPEC/MyName.spec ../RPMS/*/MyName*.rpm ../SRPMS/MyName*.rpm
>
> RMPS and SRPMS are empty !!
>
> What did I wrong ?
>
> Thank you for help on my first rpmbuild.
>
>
>

One of two things come to mind, either nothing is getting installed
into the buildroot during the %install section and/or nothing is
listed in the %files section of the .spec file

-AdamM

>
>
>
>
>
>
> [0]https://fedoraproject.org/wiki/How_to_create_an_RPM_package
>
> --
>
> google.com/+arnaudgabourygabx
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list