Mailinglist Archive: opensuse-bugs (4794 mails)

< Previous Next >
[Bug 1050774] php 7.1 don't build for Leap 42.3
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 26 Jul 2017 16:54:14 +0000
  • Message-id: <bug-1050774-21960-whzuMlfOY5@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1050774
http://bugzilla.opensuse.org/show_bug.cgi?id=1050774#c1

Andreas Stieger <astieger@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |astieger@xxxxxxxx,
| |crrodriguez@xxxxxxxxxxxx,
| |pgajdos@xxxxxxxx
Component|Other |Other
Version|Leap 42.3 |Current
Assignee|bnc-team-screening@xxxxxxxx |pgajdos@xxxxxxxx
|ovo.novell.com |
Product|openSUSE Distribution |openSUSE Tumbleweed
Target Milestone|--- |Current

--- Comment #1 from Andreas Stieger <astieger@xxxxxxxx> ---
[ 726s] ++ ldd sapi/cli/php
[ 726s] ++ grep libcrypt.so
[ 726s] + '[' -z ' libcrypt.so.1 => /lib64/libcrypt.so.1
(0x00007f46372aa000)' ']'
[ 726s] + set +x
[ 726s] /var/tmp/rpm-tmp.s2y4Ci: line 41: fg: no job control
[ 726s] error: Bad exit status from /var/tmp/rpm-tmp.s2y4Ci (%check)

NEW code in spec:

%check
cd build-cli
# check if we link against system libcrypt
if [ -z "$(ldd sapi/cli/php | grep libcrypt.so)" ]; then
echo 'php does not link against system libcrypt.'
exit 1
fi

# Run tests, using the CLI SAPI
%if %{with make_test}
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 LANG=POSIX LC_ALL=POSIX
unset TZ
%{__make} test || true
set +x

fg: no job control... means you are using a macro that is no longer defined in
42.3, and which is now interpreted as shell meta.

Not really distribution bug, I guess it's "%{__make}"

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References