On Tue, Sep 15, 2015 at 7:19 PM, Jonathan Wakely <jwakely(a)redhat.com> wrote:
On 15/09/15 18:31 +0200, arnaud gaboury wrote:
>
> On Tue, Sep 15, 2015 at 6:20 PM, Michael Schwendt <mschwendt(a)gmail.com>
> wrote:
>>
>> On Tue, 15 Sep 2015 16:47:44 +0200, arnaud gaboury wrote:
>>
>>> >> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>>> >> ......................................................
>>> >>
>>> >> These last lines are part of the %file section,
>>> >
>>> > Why have you deleted the lines?
>>> > What did they tell?
>>>
>>> I deleted nothing. These last few lines are the end of screen output
>>> when running rpmbuild. I thereafter come back to command shell.
>>
>>
>> Which are the "last few lines"?
>
>
> Below is the last part of rpmbuild screen output:
> % 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
> + 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)
> libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(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
Either you are still not showing the full output or something went
wrong, the last few lines of output should look like this:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/jwakely/rpmbuild/BUILDROOT/pstreams-devel-0.8.1-2.fc22.x86_64
Wrote: /home/jwakely/rpmbuild/SRPMS/pstreams-devel-0.8.1-2.fc22.src.rpm
Wrote:
/home/jwakely/rpmbuild/RPMS/noarch/pstreams-devel-0.8.1-2.fc22.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tvLFga
+ umask 022
+ cd /home/jwakely/rpmbuild/BUILD
+ cd pstreams-0.8.1
+ rm -rf
/home/jwakely/rpmbuild/BUILDROOT/pstreams-devel-0.8.1-2.fc22.x86_64
+ exit 0
i.e. you should see "Wrote: " telling you where the RPM files are, and
then "exit 0" at the very end.
Very good, I know now how a succesfull rpmbuild ends.
As for my first rpmbuild, it is the opportunity which make me do this
build. I am a archlinux user running a Fedora nspawn container. The
container has vocation to be a prod server for data computing with R.
To speed R, I need to build it with Intel libs. So I must succeed. I
am sure, as always, I am missing something obvious and simple.
--
google.com/+arnaudgabourygabx