Topic: php55-pecl-krb5 src.rpm
Hi, where I can find php55-pecl-krb5 Source RPM?
http://rpms.famillecollet.com/SRPMS/ does not have
php55-php-pecl-krb5-1.0.0-5.el6.remi.src.rpm file
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.2.19RC1 - PHP 8.3.6 - PHP 8.3.7RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → php55-pecl-krb5 src.rpm
Hi, where I can find php55-pecl-krb5 Source RPM?
http://rpms.famillecollet.com/SRPMS/ does not have
php55-php-pecl-krb5-1.0.0-5.el6.remi.src.rpm file
php55-pecl-krb5 or php55-php-pecl-krb5 ?
For my curiosity, why do you need the .src.rpm when the binary packages are available ?
And, I use the same spec (and .src.rpm) for base ans SCL packages (so php-pecl-krb5)
Temporary I need rebuild package with custom patch.
In future this modifications will be applyed in upstream php-pecl-krb5.
> In future this modifications will be applyed in upstream php-pecl-krb5.
Yeah (it was my next question)
And, I use the same spec (and .src.rpm) for base ans SCL packages (so php-pecl-krb5)
But this spec file builded php-pecl-krb5, not php55-pecl-krb5.
It build php-pecl-krb5 if standard env.
it will never build php55-pecl-krb5
it build php55-php-pecl-krb5 in SCL environment (when php55-build is installed in the buildroot)
+ /opt/rh/php55/root/usr/bin/phpize
/var/tmp/rpm-tmp.4F7MkK: line 63: /opt/rh/php55/root/usr/bin/phpize: No such file or directory
Where can I found it?
to build this package, you need php55-php-devel (which is in the BuildRequires)
So I don't even understand how this can happen...
[root@app ~]# rpm -ql php55-php-devel|grep phpize
/opt/remi/php55/root/usr/lib64/php/build/phpize.m4
[root@app ~]#
It does not contain /opt/rh/php55/root/usr/bin/phpize
Once again, I don't know what you change in the original spec, but it contains
BuildRequires: krb5-devel >= 1.8
BuildRequires: pkgconfig(com_err)
BuildRequires: %{?scl_prefix}php-devel > 5.2
BuildRequires: %{?scl_prefix}php-pear
So with php55-php-devel + php55-php-pear, you should have everything needed
I only add:
Patch1: kadm_realm.patch
and
%patch1 -p1
php55 version phpize exist in php55-php-cli, but by another path:
[root@app rpmbuild]# rpm -ql php55-php-cli-5.5.29-1.el6.remi.x86_64|grep phpize
/opt/remi/php55/root/usr/bin/phpize
/opt/remi/php55/root/usr/share/man/man1/phpize.1.gz
[root@app rpmbuild]#
path
/opt/remi/php55/root/usr/bin/phpize
not
/opt/rh/php55/root/usr/bin/phpize
I think I understand your issue.
/opt/rh is default SCL prefix
I use, /opt/remi to make explicitly this a package from my repo, and to not conflict with RHSCL collections.
vendor is not defined in "macros.php55-config" by design, so people rebuilding my php spec (main package) will not use "remi" in the prefix.
but of course this breaks the build of php extension.
So you have to define, in your build environment.
%scl_vendor = remi
%_scl_prefix =/opt/remi
P.S. see https://github.com/remicollet/remirepo/ … xscl55.cfg
/var/tmp/rpm-tmp.UDXLcc: line 67: /opt/remi/php55/root/usr/bin/zts-phpize: No such file or directory
How are you running the build ? (rpmbuild, mock, koji ?)
rpmbuild -ba SPECS/php-pecl-krb5.spec
Terrible bad idea....
It seems you have both php-devel and php55-php-devel...
So __ztsphp is defined during the build.
You have to remove php-devel.
Notice: "mock" is the way to go, especially for SCL package.
Having php55-build installed in your env is really a bad idea.
Thanks
Remi's RPM repository - Forum → User support → php55-pecl-krb5 src.rpm
Generated in 0.006 seconds (61% PHP - 39% DB) with 10 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.