[opensuse-packaging] mysterious failing of package build
Hi! I hope this is the correct list to ask such questions. In project devel:languages:R:devel/R I'm trying to build packages for the next upstream version of R. There are some changes in upstream, but I don't understand why all files are declared [ 2007s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/R-base-2.16.0-1.1.x86_64 error: Installed (but unpackaged) file(s) found: [ 2014s] /etc/ld.so.conf.d/R.conf [ 2014s] /usr/bin/R [ 2014s] /usr/bin/Rscript [ 2014s] /usr/lib64/R/COPYING [ 2014s] /usr/lib64/R/NEWS [ 2014s] /usr/lib64/R/NEWS.pdf [ 2014s] /usr/lib64/R/SVN-REVISION [ 2014s] /usr/lib64/R/bin/BATCH [ 2014s] /usr/lib64/R/bin/COMPILE [ 2014s] /usr/lib64/R/bin/INSTALL [ 2014s] /usr/lib64/R/bin/LINK [ 2014s] /usr/lib64/R/bin/R [ 2014s] /usr/lib64/R/bin/REMOVE [ 2014s] /usr/lib64/R/bin/Rcmd [ 2014s] /usr/lib64/R/bin/Rd2pdf [ 2014s] /usr/lib64/R/bin/Rdconv [ 2014s] /usr/lib64/R/bin/Rdiff [ 2014s] /usr/lib64/R/bin/Rprof [ 2014s] /usr/lib64/R/bin/Rscript .... and so on. For me these files are definitly included in the spec. (And the spec works e.g. devel:languages:R:base, part of factory) It should fail at the end for some newly added translation changes, but not for each and every file. Any hint very appreciated! (And of course any hints to improvements of the spec in general) Detlef -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi
Quoting Detlef Steuer
devel:languages:R:devel/R
I'm trying to build packages for the next upstream version of R.
There are some changes in upstream, but I don't understand why all files are declared
Declaring all files (explicit list) is usually done to ensure no feature gets transparently lost.. a good thing :)
[ 2007s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/R-base-2.16.0-1.1.x86_64 error: Installed (but unpackaged) file(s) found: [ 2014s] /etc/ld.so.conf.d/R.conf [ 2014s] /usr/bin/R [ 2014s] /usr/bin/Rscript [ 2014s] /usr/lib64/R/COPYING [ 2014s] /usr/lib64/R/NEWS [ 2014s] /usr/lib64/R/NEWS.pdf [ 2014s] /usr/lib64/R/SVN-REVISION [ 2014s] /usr/lib64/R/bin/BATCH [ 2014s] /usr/lib64/R/bin/COMPILE [ 2014s] /usr/lib64/R/bin/INSTALL [ 2014s] /usr/lib64/R/bin/LINK [ 2014s] /usr/lib64/R/bin/R [ 2014s] /usr/lib64/R/bin/REMOVE [ 2014s] /usr/lib64/R/bin/Rcmd [ 2014s] /usr/lib64/R/bin/Rd2pdf [ 2014s] /usr/lib64/R/bin/Rdconv [ 2014s] /usr/lib64/R/bin/Rdiff [ 2014s] /usr/lib64/R/bin/Rprof [ 2014s] /usr/lib64/R/bin/Rscript .... and so on.
For me these files are definitly included in the spec. (And the spec works e.g. devel:languages:R:base, part of factory)
Not unlikely, the error is a few lines higher and probably a 'FILE NOT FOUND' as part of a %doc statement.. they tend to be overseen. As you unfortunately did not give a link to the project / package that actually shows the failure, this is a bit wild guessing of course.. best I can do in this case. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 20 November 2012, Detlef Steuer wrote:
Hi!
I hope this is the correct list to ask such questions.
In project
devel:languages:R:devel/R
I'm trying to build packages for the next upstream version of R.
There are some changes in upstream, but I don't understand why all files are declared
[ 2007s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/R-base-2.16.0-1.1.x86_64 error: Installed (but unpackaged) file(s) found: [ 2014s] /etc/ld.so.conf.d/R.conf [ 2014s] /usr/bin/R [ 2014s] /usr/bin/Rscript [ 2014s] /usr/lib64/R/COPYING [ 2014s] /usr/lib64/R/NEWS [ 2014s] /usr/lib64/R/NEWS.pdf [ 2014s] /usr/lib64/R/SVN-REVISION [ 2014s] /usr/lib64/R/bin/BATCH [ 2014s] /usr/lib64/R/bin/COMPILE [ 2014s] /usr/lib64/R/bin/INSTALL [ 2014s] /usr/lib64/R/bin/LINK [ 2014s] /usr/lib64/R/bin/R [ 2014s] /usr/lib64/R/bin/REMOVE [ 2014s] /usr/lib64/R/bin/Rcmd [ 2014s] /usr/lib64/R/bin/Rd2pdf [ 2014s] /usr/lib64/R/bin/Rdconv [ 2014s] /usr/lib64/R/bin/Rdiff [ 2014s] /usr/lib64/R/bin/Rprof [ 2014s] /usr/lib64/R/bin/Rscript .... and so on.
For me these files are definitly included in the spec.
Are you sure? For example in your spec file I see /usr/bin/Rscript but not the installed one /usr/lib64/R/bin/Rscript cu, Rudi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Detlef Steuer
For me these files are definitly included in the spec.
You have commented out the %files section: #%files -f R.lang So everything until the next %files section is taken as belonging to the preceding %postun section. The only packaged files are these: %files -n R-devel-devel %defattr(-, root, root) %{_libdir}/R/include/ %{_libdir}/pkgconfig/libR.pc %{_libdir}/R/library/Matrix/include/ Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Detlef Steuer
-
Dominique Leuenberger a.k.a DimStar
-
Ruediger Meier