[opensuse] rebuilding dovecot 2.0.17 opensuse package on sles?
Hello, I am trying to rebuild the dovecot 2.0.17 opensuse package on a x86_64 SLES11-SP1 system, from the source rpm available here: http://download.opensuse.org/repositories/server:/mail/SLE_11/src/dovecot20-... The problem I have is at the end of the rpmbuild, about files that should be packaged below /usr/lib and/or /usr/lib64. The output is shown below. Any idea about what I am doing wrong ? - the command I used is: dev:/usr/src/packages/SPECS # rpmbuild -bb dovecot20.spec-2.0.17 - the end of output is: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/dovecot20-2.0.17-build error: Installed (but unpackaged) file(s) found: /usr/lib64/dovecot/anvil /usr/lib64/dovecot/auth /usr/lib64/dovecot/checkpassword-reply /usr/lib64/dovecot/config /usr/lib64/dovecot/deliver /usr/lib64/dovecot/dict /usr/lib64/dovecot/director /usr/lib64/dovecot/dns-client /usr/lib64/dovecot/doveadm-server /usr/lib64/dovecot/dovecot-lda /usr/lib64/dovecot/gdbhelper /usr/lib64/dovecot/imap /usr/lib64/dovecot/imap-login /usr/lib64/dovecot/ipc /usr/lib64/dovecot/listview /usr/lib64/dovecot/lmtp /usr/lib64/dovecot/log /usr/lib64/dovecot/maildirlock /usr/lib64/dovecot/managesieve /usr/lib64/dovecot/managesieve-login /usr/lib64/dovecot/pop3 /usr/lib64/dovecot/pop3-login /usr/lib64/dovecot/rawlog /usr/lib64/dovecot/script /usr/lib64/dovecot/script-login /usr/lib64/dovecot/ssl-params /usr/lib64/dovecot/tcpwrap RPM build errors: File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/anvil File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/auth File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/checkpassword-reply File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/config File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/deliver File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/dict File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/director File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/dns-client File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/doveadm-server File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/dovecot-lda File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/gdbhelper File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/imap File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/imap-login File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/ipc File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/listview File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/lmtp File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/log File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/maildirlock File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/managesieve File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/managesieve-login File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/pop3 File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/pop3-login File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/rawlog File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/script File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/script-login File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/ssl-params File not found: /var/tmp/dovecot20-2.0.17-build/usr/lib/dovecot/tcpwrap Installed (but unpackaged) file(s) found: /usr/lib64/dovecot/anvil /usr/lib64/dovecot/auth /usr/lib64/dovecot/checkpassword-reply /usr/lib64/dovecot/config /usr/lib64/dovecot/deliver /usr/lib64/dovecot/dict /usr/lib64/dovecot/director /usr/lib64/dovecot/dns-client /usr/lib64/dovecot/doveadm-server /usr/lib64/dovecot/dovecot-lda /usr/lib64/dovecot/gdbhelper /usr/lib64/dovecot/imap /usr/lib64/dovecot/imap-login /usr/lib64/dovecot/ipc /usr/lib64/dovecot/listview /usr/lib64/dovecot/lmtp /usr/lib64/dovecot/log /usr/lib64/dovecot/maildirlock /usr/lib64/dovecot/managesieve /usr/lib64/dovecot/managesieve-login /usr/lib64/dovecot/pop3 /usr/lib64/dovecot/pop3-login /usr/lib64/dovecot/rawlog /usr/lib64/dovecot/script /usr/lib64/dovecot/script-login /usr/lib64/dovecot/ssl-params /usr/lib64/dovecot/tcpwrap Thanks, -- Nicolas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/23/2012 10:35 AM, Nicolas KOWALSKI wrote:
Hello,
I am trying to rebuild the dovecot 2.0.17 opensuse package on a x86_64 SLES11-SP1 system, from the source rpm available here: http://download.opensuse.org/repositories/server:/mail/SLE_11/src/dovecot20-...
The problem I have is at the end of the rpmbuild, about files that should be packaged below /usr/lib and/or /usr/lib64. The output is shown below.
Any idea about what I am doing wrong ?
why not try rpmbuild --rebuild dovecot20-2.0.17-21.1.src.rpm it shouldn't make any difference, but I don't see the need to install the .src.rpm and then build with rpmbuild -bb if all you are trying to do is rebuild the .src.rpm without modification. Sorry I don't have anything specific on the errors you posted. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Jan 23, 2012 at 10:45:12AM -0600, David C. Rankin wrote:
On 01/23/2012 10:35 AM, Nicolas KOWALSKI wrote:
I am trying to rebuild the dovecot 2.0.17 opensuse package on a x86_64 SLES11-SP1 system, from the source rpm available here: http://download.opensuse.org/repositories/server:/mail/SLE_11/src/dovecot20-...
The problem I have is at the end of the rpmbuild, about files that should be packaged below /usr/lib and/or /usr/lib64. The output is shown below.
Any idea about what I am doing wrong ?
why not try rpmbuild --rebuild dovecot20-2.0.17-21.1.src.rpm
I tried, and it fails with the same error messages.
it shouldn't make any difference, but I don't see the need to install the .src.rpm and then build with rpmbuild -bb if all you are trying to do is rebuild the .src.rpm without modification. Sorry I don't have anything specific on the errors you posted.
There is no need to do it that way, I agree; I was just trying. -- Nicolas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/23/2012 10:57 AM, Nicolas KOWALSKI wrote:
I tried, and it fails with the same error messages.
it shouldn't make any difference, but I don't see the need to install the .src.rpm and then build with rpmbuild -bb if all you are trying to do is rebuild the .src.rpm without modification. Sorry I don't have anything specific on the errors you posted. There is no need to do it that way, I agree; I was just trying.
Hmm.., I don't do a lot of building, but the errors don't really make sense to me. If you installed the .srpm, then why the error for: Installed (but unpackaged) file(s) found: /usr/lib64/dovecot/anvil <snip> If you installed the .srpm, then that just contains: dovecot-2.0-pigeonhole-0.2.5.tar.bz2 dovecot-2.0.17.tar.bz2 dovecot-2.0_pie.patch dovecot-fw dovecot.README.SuSE dovecot.init dovecot.pam dovecot20.spec If the build error is that all of the executables exist (anvil, auth, etc..), then they must have been built during the build process and the problem must be with packaging. The spec or the build is looking for something in the wrong place it appears. Have you tried building with another dovecot2 source rpm? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Jan 23, 2012 at 01:40:07PM -0600, David C. Rankin wrote:
If the build error is that all of the executables exist (anvil, auth, etc..), then they must have been built during the build process and the problem must be with packaging. The spec or the build is looking for something in the wrong place it appears. Have you tried building with another dovecot2 source rpm?
I just tried with the 2.0.14 version, and the rebuild worked fine. http://download.opensuse.org/repositories/server:/mail/SLE_11/src/dovecot20-... I compared the two spec files, and found something about libexec missing in the configure section of the 2.0.17 version: 2.0.14: %configure \ --docdir=%{_docdir}/%{pkg_name} \ --libexecdir=%{_prefix}/lib \ --with-moduledir=%{_libdir}/%{pkg_name}/modules \ ... 2.0.17: %configure \ --docdir=%{_docdir}/%{pkg_name} \ --with-moduledir=%{_libdir}/%{pkg_name}/modules \ So, I added the missing line "--libexecdir=%{_prefix}/lib" to the 2.0.17 spec file, and the rebuild went just fine. :) I will mail the maintainer about this. Thanks for your help, -- Nicolas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
David C. Rankin
-
Nicolas KOWALSKI