rpmbuild - empty RPMS directory

arnaud gaboury arnaud.gaboury at gmail.com
Tue Sep 15 16:36:06 UTC 2015


On Tue, Sep 15, 2015 at 6:31 PM, Jonathan Wakely <jwakely at redhat.com> wrote:
> On 15/09/15 13:58 +0200, arnaud gaboury wrote:
>>
>> I have been working on my first rpmbuild since quite a few days now.
>>
>> The rpm is intendeed to install R[0] built with Intel MKL libraries
>> and Intel compiler. As a base for the spec file, I used the one from
>> Fedora R package[1].
>>
>> I setup the directory structure:
>> % ls ~/.rpmbuild
>> BUILD/  BUILDROOT/  RPMS/  SOURCES/  SPECS/  SRPMS/
>>
>> Then:
>>
>> % cd ~/.rpmbuild
>> % rpmlint SPEC/R.spec  ==> OK
>> % rpmbuild -ba SPEC/R.spec
>> ...... BUILD ....
>> 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.a2fYbJ
>> + umask 022
>> + cd /home/poisonivy/rpmbuild/BUILD
>
>
> This shows that rpmbuild is using ~/rpmbuild/BUILD, but you said above
> you are using ~/.rpmbuild

My bad, typing too fast and bad habits of home directories with a
leading dot. It is ~/rpmbuild indeed. BUIL and BUILDROOT are populated
after rpmbuild. But RPMS stay empty. I must have misconfigured
something in my spec file maybe. My ~/.rpmmacros is minimum and Fedora
up to date and working smooth.
Maybe a hint : I use zsh (do not still see why it would break the build).
>
> I think you are putting files in one directory and expecting the
> output there, but you've told rpmbuild to use a different location for
> the output.
>
>
> --
> 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



-- 

google.com/+arnaudgabourygabx


More information about the devel mailing list