[opensuse-buildservice] Problem with SLE targets only (error: Installed (but unpackaged) file(s) found)
Hi, I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets. Do I miss something? If you want to have a look at the spec file, it is here: https://build.opensuse.org/package/show/home:Guillaume_G:branches:Applicatio... Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Guillaume Gardet <guillaume.gardet@free.fr> Thu, 28 Nov 2013 18:08:37 +0300:
Hi,
I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets.
Do I miss something?
If you want to have a look at the spec file, it is here: https://build.opensuse.org/package/show/home:Guillaume_G:branches:Applicatio...
Guillaume
Hello. Try to add %if 0%{?sles_version} in files section too. Different files lists can be get by different build targets. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 28/11/2013 16:14, Dmitriy Perlow a écrit :
Guillaume Gardet <guillaume.gardet@free.fr> Thu, 28 Nov 2013 18:08:37 +0300:
Hi,
I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets.
Do I miss something?
If you want to have a look at the spec file, it is here: https://build.opensuse.org/package/show/home:Guillaume_G:branches:Applicatio...
Guillaume
Hello. Try to add %if 0%{?sles_version} in files section too. Different files lists can be get by different build targets.
The problem is that listed files are already in %files sections. Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Guillaume Gardet <guillaume.gardet@free.fr> writes:
Hi,
I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets.
Do I miss something?
Always start with fixing the first error. 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-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 28/11/2013 16:30, Andreas Schwab a écrit :
Guillaume Gardet <guillaume.gardet@free.fr> writes:
Hi,
I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets.
Do I miss something? Always start with fixing the first error.
This is what I usually do, but there is no other error displayed in the log, except this one before RPM build start: ******************************************************************************** [ 90s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:Guillaume_G:branches:Application:Geo/SLE_11_SP3/402c529298110c19991b7bfefef7da75-php5' /usr/src/packages/SOURCES/php5.spec [ 90s] error: Recursion depth(17) greater than max(16) [ 90s] 15< (empty) [ 90s] 14< (empty) [ 90s] 13< (empty) [ 90s] 12< (empty) [ 90s] 11< (empty) [ 90s] 10< (empty) [ 90s] 9< (empty) [ 90s] 8< (empty) [ 90s] 7< (empty) [ 90s] 6< (empty) [ 90s] 5< (empty) [ 90s] 4< (empty) [ 90s] 3< (empty) [ 90s] 2< (empty) [ 90s] 1< for service in [ 90s] 0< [ 90s] test -n "$FIRST_ARG" || FIRST_ARG=$1 [ 90s] if test "$FIRST_ARG" -ge 1 ; then [ 90s] test -f /etc/sysconfig/services && . /etc/sysconfig/services [ 90s] if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then [ 90s] for service in [ 90s] error: line 1684: [ 90s] test -n "$FIRST_ARG" || FIRST_ARG=$1 [ 90s] if test "$FIRST_ARG" -ge 1 ; then [ 90s] test -f /etc/sysconfig/services && . /etc/sysconfig/services [ 90s] if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then [ 90s] for service in ******************************************************************************** Guillaume
Andreas.
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 28/11/2013 16:39, Guillaume Gardet a écrit :
Le 28/11/2013 16:30, Andreas Schwab a écrit :
Guillaume Gardet <guillaume.gardet@free.fr> writes:
Hi,
I need PHP 5.4 for SLE 11 SP2, so I am trying to build it. It builds fine for openSUSE but fails for SLE 11 with "error: Installed (but unpackaged) file(s) found:". %files sections are defined and it works for openSUSE targets.
Do I miss something? Always start with fixing the first error.
The problem was in %pre %post sections where systemd services related lines where present. I disabled it for SLE and this problem gone. Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Guillaume Gardet <guillaume.gardet@free.fr> writes:
[ 90s] error: line 1684:
-%restart_on_update php-fpm +%{restart_on_update php-fpm} 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-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Dmitriy Perlow
-
Guillaume Gardet