[opensuse-packaging] fix needed for: directories not owned by a package:
Hello What is the spec fix for the following: spec file: https://build.opensuse.org/package/view_file/home:doiggl/bugzilla/bugzilla.s... -- Glenn [ 79s] ... running 02-check-gcc-output [ 79s] ... testing for serious compiler warnings [ 79s] (using /usr/lib/build/checks-data/check_gcc_output) [ 79s] (using //.build.log) [ 79s] ... running 03-check-binary-kernel-log [ 79s] ... running 04-check-filelist [ 79s] ... checking filelist [ 79s] bugzilla-contrib-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/contrib [ 79s] bugzilla-doc-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/docs [ 79s] - /usr/share/bugzilla/docs/en [ 79s] bugzilla-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /etc/httpd [ 79s] - /etc/httpd/conf.d [ 79s] - /usr/share/bugzilla/contrib [ 79s] bugzilla-doc-build-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/docs [ 79s] - /usr/share/bugzilla/docs/en [ 85s] [ 73.664374] SysRq : Power Off [ 85s] [ 73.772356] reboot: Power down -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, Jan 23, 2014 at 8:59 AM,
Hello What is the spec fix for the following: [ 79s] bugzilla-contrib-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/contrib
%dir %{bzinstallprefix}/bugzilla/contrib Or simply %{bzinstallprefix}/bugzilla/contrib which will add directory with all content (unless you want to make sure no "extraneous" files are present in this directory) For others the same pattern.
[ 79s] bugzilla-doc-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/docs [ 79s] - /usr/share/bugzilla/docs/en [ 79s] bugzilla-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /etc/httpd [ 79s] - /etc/httpd/conf.d [ 79s] - /usr/share/bugzilla/contrib [ 79s] bugzilla-doc-build-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/docs [ 79s] - /usr/share/bugzilla/docs/en [ 85s] [ 73.664374] SysRq : Power Off [ 85s] [ 73.772356] reboot: Power down -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, 23 Jan 2014 09:17:46 +0400, Andrey Borzenkov
On Thu, Jan 23, 2014 at 8:59 AM,
wrote: Hello What is the spec fix for the following: [ 79s] bugzilla-contrib-4.2.7-50.1.noarch.rpm: directories not owned by a package: [ 79s] - /usr/share/bugzilla/contrib
%dir %{bzinstallprefix}/bugzilla/contrib
Or simply
%{bzinstallprefix}/bugzilla/contrib
which will add directory with all content (unless you want to make sure no "extraneous" files are present in this directory)
For others the same pattern.
Hello, Thanks for the information. I did the following and retried the build. %{bzinstallprefix}/bugzilla/contrib %{bzinstallprefix}/usr/share/bugzilla Question: How do I fix the spec file because now I get the following [2] The full log: https://build.opensuse.org/package/live_build_log/home:doiggl/bugzilla/openS... Thanks Glenn # [2] [ 65s] [ 65s] RPM build errors: [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__requires_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 65s] Macro %__provides_exclude failed to expand [ 65s] File not found: /home/abuild/rpmbuild/BUILDROOT/bugzilla-4.2.7-53.1.x86_64/usr/share/usr/share/bugzilla [ 67s] /.build/build: line 373: 223 Killed background_monitor_process [ 69s] [ 47.432609] SysRq : Power Off [ 69s] [ 47.847673] Power down. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thursday 2014-01-23 07:58, doiggl@velocitynet.com.au wrote:
[ 65s] RPM build errors: [ 65s] Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration.
%global __requires_exclude %__requires_exclude|^perl\\(sanitycheck.cgi\\)$ Smells like an infinite recursion. In server:php:applications/bugzilla, there does not seem to be a problem (as it does not use that hack). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Dnia czwartek, 23 stycznia 2014 17:58:41 doiggl@velocitynet.com.au pisze:
%{bzinstallprefix}/usr/share/bugzilla
Are you sure?
Question:
How do I fix the spec file because now I get the following [2]
[ 65s] File not found: /home/abuild/rpmbuild/BUILDROOT/bugzilla-4.2.7-53.1.x86_64/usr/share/usr/sha re/bugzilla [ 67s] /.build/build: line 373: 223 Killed background_monitor_process [ 69s] [ 47.432609] SysRq : Power Off [ 69s] [ 47.847673] Power down.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Andrey Borzenkov
-
doiggl@velocitynet.com.au
-
Jan Engelhardt
-
Krzysztof Żelechowski