Re: rpmbuild - empty RPMS directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 15, 2015 at 1:58 PM, arnaud gaboury
<arnaud.gaboury@xxxxxxxxx> 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
> + 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
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> ......................................................
>
> These last lines are part of the %file section, and I can't see any
> error, all %files (it is a meta package) are correctly processed.
>
> % ls RPMS
> %
>  % ls BUILDROOT/R-3.2.1-mkl.fc22.x86_64
> etc/  usr/
>
> RPMS is empty.
>
> I do not understand why. Is there anything in my shell environment who
> prevents populating RPMS ?
> poisonivy@poppy ➤➤ ~/rpmbuild % env
> HOME=/home/poisonivy
> USER=poisonivy
> SHELL=/bin/zsh
> TERM=xterm
> PATH=/usr/local/bin:/bin:/usr/bin:/home/poisonivy/bin:/usr/local/sbin:/usr/sbin:/opt/intel/bin
> MAIL=/var/spool/mail/poisonivy
> LOGNAME=poisonivy
> XDG_SESSION_ID=c3
> XDG_RUNTIME_DIR=/run/user/1000
> SHLVL=1
> PWD=/home/poisonivy/rpmbuild
> OLDPWD=/home/poisonivy
> HISTCONTROL=ignoredups
> HOSTNAME=poppy
> HISTSIZE=5000
> LS_COLORS=
> XDG_CONFIG_HOME=/home/poisonivy/.config
> XDG_CONFIG_DIRS=/etc/xdg
> XDG_DATA_DIRS=/usr/local/share:/usr/share
> XDG_DATA_HOME=/home/poisonivy/.local/share
> EDITOR=vim
> VISUAL=vim
> CCACHE_DIR=/storage/.ccache
> USE_CCACHE=1
> PASSWORD_STORE_DIR=/home/poisonivy/.config/password-store
> PGDATA=/db/pgsql/data
> PGROOT=/db/pgsql
> GEM_HOME=/home/poisonivy/.gem/ruby
> CODE=/storage/development/language
> R_PROFILE_USER=/home/poisonivy/.config/r/Rprofile.r
> R_ENVIRON_USER=/home/poisonivy/.config/r/Renviron
> R_LIBS_USER=/storage/development/language/r/library
> WORKON_HOME=/storage/development/language/python/envs/poisonivy
> LANG=en_US.UTF8
> LESSOPEN=||/usr/bin/lesspipe.sh %s
> ZDOTDIR=/home/poisonivy/.config/zsh
> GNUPGHOME=/home/poisonivy/.config/gnupg
> _VIRTUALENVWRAPPER_API= mkvirtualenv rmvirtualenv lsvirtualenv
> showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv
> lssitepackages toggleglobalsitepackages cpvirtualenv
> setvirtualenvproject mkproject cdproject mktmpenv
> VIRTUALENVWRAPPER_SCRIPT=/bin/virtualenvwrapper.sh
> ZSHDIR=/home/poisonivy/.config/zsh
> VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
> VIRTUALENVWRAPPER_WORKON_CD=1
> VIRTUALENVWRAPPER_HOOK_DIR=/storage/development/language/python/envs/poisonivy
> LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2016.0.109/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.0.9/mkl/lib/intel64_lin
> _=/bin/env
>
> Did I missed any step in my SPEC file ? The file is attached.
>
> Thank you for help.

[0]https://cran.r-project.org/
[1]http://pkgs.fedoraproject.org/cgit/R.git/
> --
>
> google.com/+arnaudgabourygabx



-- 

google.com/+arnaudgabourygabx
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux