[Arm-dev] So how to build - Re: Where is php-imap - Re: EPEL for Centos7-armv7?

Robert Moskowitz rgm at htt-consult.com
Wed Mar 8 15:09:45 UTC 2017



On 03/08/2017 09:41 AM, Fabian Arrotin wrote:
> On 27/02/17 20:16, Robert Moskowitz wrote:
>>
>> On 02/27/2017 11:21 AM, Jacco Ligthart wrote:
>>>> Where can I get the proper srpms that contains php-imp?
>>> Like Fabian said, it's in php-extras, part of epel:
>>> http://dl.fedoraproject.org/pub/epel/7/SRPMS/p/php-extras-5.4.16-7.el7.src.rpm
>>>
>>>
>>>> Where can if find complete instructions on building from said srpms?
>>> I would use mock, in stead of rpmbuild.
>>> mock will create a build environment, so that builds are repeatable.
>>>
>>> man page:
>>> https://linux.die.net/man/1/mock
>>>
>>> a fairly long overview:
>>> https://fedoraproject.org/wiki/How_to_create_an_RPM_package
>> Now I have to fight with dependencies for fedora-packager and
>> fedora-review.
>>
>> This is going nowhere fast.
>>
>> Does anyone have an environment set up where php-extras can be built and
>> see what is wrong with building php-imap?
>>
>> thanks
>>
> Mulltiple things :
> - mock (that we use for the armhfp builds) is available in the extras
> repository

And I failed to get a successful install as I reported here.

> - mixing with epel is *your* choice but as epel on armhfp is a "nobody
> has a look at this" effort, we all have to keep the pieces if we blindly
> try to use it

True, my choice, but a rich function mail server seems to need portions 
only available from epel.  That I find interesting.

> Wrt that php-extras, have you tried to have a look at the build logs ?
> have you tried to contact for example the upstream maintainer about that
> issue ?

Yes, and could not figure out what is happening.  No, as I did not get 
anywhere with Q 1.

> That's what I did (after I received your personal mail to my inbox,
> please don't do that again), and Remi Collet (from the --changelog) is a
> nice guy who had a quick look at the potential issue, specifically for
> another mcrypt bug he was working on (at the same time)

I really thank you for this.  Beyond most of what I have done.

> So here is what I  just got from our armhfp builders :
>
> 17667 (php-extras): Build on target epel-pass-1 succeeded.
>       Build logs may be found at
> http://armv7.dev.centos.org/rpmbuild/epel-pass-1/17667-php-extras-5.4.16-8.el7/

This leads to:

https://armv7.dev.centos.org/rpmbuild/epel-pass-1/17667-php-extras-5.4.16-8.el7/php-extras-5.4.16-8.el7.src.rpm

So I just tried 'yum install php-imap' and now I have it.

> That means that pkg is now available, but again, no test, no repoclosure
> test, etc ...

And I will do what testing, postfixadmin does with it.  And report back.

> Enjoy, and contribute back :-)

And my contributions are reporting what I get working (or not working) 
and howtos so others can jump into the fray.  And 'talking up'  the 
Centos distro on various arm forum.

I am actually thinking of providing a 'ready to personalize' image for 
the mail server.

thanks for all you are doing.

Bob



More information about the Arm-dev mailing list