[opensuse-buildservice] build checks - howto fix it ?
Hi, trying to build package on 11.1 but fails. |nagios-2.12-8.1.i586.rpm: directories not owned by a package: - /var/run/nagios how to fix this ? Kind Regards Chris | -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Carsten Hoeger
On Mon, Jan 12, Christian wrote:
Hi,
trying to build package on 11.1 but fails.
|nagios-2.12-8.1.i586.rpm: directories not owned by a package: - /var/run/nagios
how to fix this ?
%dir /var/run/nagios
Maybe even %dir /var/run/%name ? -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jan 12, 2009 at 5:57 PM, Mads Martin Joergensen
* Carsten Hoeger
[Jan 12. 2009 14:23]: On Mon, Jan 12, Christian wrote:
Hi,
trying to build package on 11.1 but fails.
|nagios-2.12-8.1.i586.rpm: directories not owned by a package: - /var/run/nagios
how to fix this ?
%dir /var/run/nagios
Maybe even
%dir /var/run/%name ?
good tips, thanks! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Montag 12 Januar 2009 13:52:04 Christian wrote:
Hi,
trying to build package on 11.1 but fails.
|nagios-2.12-8.1.i586.rpm: directories not owned by a package:
- /var/run/nagios
how to fix this ? Try to insert this in your %fies Section. Similar to:
%files -f filelist %defattr{-,root,root} /var/run/nagios -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Sascha 'saigkill' Manns escribió:
Try to insert this in your %fies Section. Similar to:
%files -f filelist %defattr{-,root,root} /var/run/nagios
no, %dir /var/run/nagios -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
On Montag 12 Januar 2009 14:34:46 Cristian Rodríguez wrote:
Sascha 'saigkill' Manns escribió:
Try to insert this in your %fies Section. Similar to:
%files -f filelist %defattr{-,root,root} /var/run/nagios
no, %dir /var/run/nagios Yes, you're right. I thought that nagios an file is. But the Errormessage meant directory. So you're right. Thanks for correction... -- Sincereley yours
Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks to all, works. and btw Provides: /var/run/nagios does fix it, too. Chris Christian schrieb:
Hi,
trying to build package on 11.1 but fails.
|nagios-2.12-8.1.i586.rpm: directories not owned by a package: - /var/run/nagios
how to fix this ?
Kind Regards Chris |
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Christian
Thanks to all, works.
and btw Provides: /var/run/nagios does fix it, too.
But that's not correct--you shouldn't specify that manually. Adding it to the filelist is the correct fix, which doesn't introduce another bug. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Mads Martin Joergensen schrieb:
* Christian
[Jan 12. 2009 20:07]: Thanks to all, works.
and btw Provides: /var/run/nagios does fix it, too.
But that's not correct--you shouldn't specify that manually. Adding it to the filelist is the correct fix, which doesn't introduce another bug.
Yes, your right. That is not the correct way. but adding "Provides:" shouldn't solve the previous error. Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (6)
-
Alexander R
-
Carsten Hoeger
-
Christian
-
Cristian Rodríguez
-
Mads Martin Joergensen
-
Sascha 'saigkill' Manns