php on arm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

php on arm

s_graf
What happened to php packages on the latest build of the arm packages?  They
were there in the previous build.  I was hoping to get a stable system with
the release of 6.3 but I can't build the system I want without php.

Reply | Threaded
Open this post in threaded view
|

Re: php on arm

Stuart Henderson
On 2018/04/12 09:54, [hidden email] wrote:
> What happened to php packages on the latest build of the arm packages?  They
> were there in the previous build.  I was hoping to get a stable system with
> the release of 6.3 but I can't build the system I want without php.
>

Most likely they depended on a port which failed to build. arm package builds
take so long it's difficult to identify and fix any recent breakage before ports
locks for release.

Reply | Threaded
Open this post in threaded view
|

Re: php on arm

Diana Eichert
When I built an Octeon system I had issues with several ports so I
worked with port maintainer to get package build resolved.  That
meant I built the package until it failed, then sent log info to
port maintainer, they created a diff they thought would fix the
issue and I went back to package build.  This was a shampoo, rinse and
repeat process until several package build finally worked.  I think
by doing this I contribute in some small way back to OpenBSD
community.

Of course this all depends on how much time a port maintainer has.

diana

On Thu, 12 Apr 2018, Stuart Henderson wrote:

> On 2018/04/12 09:54, [hidden email] wrote:
>> What happened to php packages on the latest build of the arm packages?  They
>> were there in the previous build.  I was hoping to get a stable system with
>> the release of 6.3 but I can't build the system I want without php.
>>
>
> Most likely they depended on a port which failed to build. arm package builds
> take so long it's difficult to identify and fix any recent breakage before ports
> locks for release.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: php on arm

phessler
In reply to this post by s_graf
On 2018 Apr 12 (Thu) at 09:54:08 -0700 (-0700), [hidden email] wrote:
:What happened to php packages on the latest build of the arm packages?  They
:were there in the previous build.  I was hoping to get a stable system with
:the release of 6.3 but I can't build the system I want without php.
:

Because of the old gcc-4.2.1 situation, php required a newer gcc on arm,
and that gcc failed to build.

However now that arm uses llvm as the compiler, it will hopefully build
without that.


--
Time flies like an arrow
Fruit flies like a banana

Reply | Threaded
Open this post in threaded view
|

Re: php on arm

s_graf
In reply to this post by s_graf
I tried to build php 7 on a freshly installed current arm7 system.

The following packages were built before an error occurred:

op1bsd63snap$ pkg_info
autoconf-2.69p2     automatically configure source code on many Un*x platforms
bison-3.0.4p0       GNU parser generator
bzip2-1.0.6p8       block-sorting file compressor, unencumbered
gettext-0.19.8.1p1  GNU gettext runtime libraries and programs
help2man-1.47.5     generates simple manual pages from program output
libiconv-1.14p3     character set conversion library
libsigsegv-2.12     library for handling page faults in user mode
m4-1.4.18           GNU m4
metaauto-1.0p1      wrapper for gnu auto*
pcre-8.41           perl-compatible regular expression library
xz-5.2.3p0          LZMA compression and decompression tools
op1bsd63snap$ pkg_info
autoconf-2.69p2     automatically configure source code on many Un*x platforms
bison-3.0.4p0       GNU parser generator
bzip2-1.0.6p8       block-sorting file compressor, unencumbered
gettext-0.19.8.1p1  GNU gettext runtime libraries and programs
help2man-1.47.5     generates simple manual pages from program output
libiconv-1.14p3     character set conversion library
libsigsegv-2.12     library for handling page faults in user mode
m4-1.4.18           GNU m4
metaauto-1.0p1      wrapper for gnu auto*
pcre-8.41           perl-compatible regular expression library
sqlite3-3.22.0p0    embedded SQL implementation
xz-5.2.3p0          LZMA compression and decompression tools
op1bsd63snap$

The error trace:


cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -O2 -pipe -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c ../src/arm/sysv.S -fPIC -DPIC -o src/arm/.libs/sysv.o
../src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax?
 fldmiadgt ip, {d0-d7}
 ^
../src/arm/sysv.S:412:2: error: invalid instruction, did you mean: fstmiax?
 fstmiadeq r2, {d0-d3}
 ^
/tmp/sysv-897c4d.s:263:2: error: invalid instruction
 fstmfdd sp!, {d0-d7}
 ^
/tmp/sysv-897c4d.s:313:2: error: invalid instruction, did you mean: fldmiax?
 fldmiad sp, {d0-d1}
 ^
/tmp/sysv-897c4d.s:316:2: error: invalid instruction, did you mean: fldmiax?
 fldmiad sp, {d0-d3}
 ^
Error while executing cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -O2 -pipe -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c ../src/arm/sysv.S -fPIC -DPIC -o src/arm/.libs/sysv.o
*** Error 2 in arm-unknown-openbsd6.3 (Makefile:1337 'src/arm/sysv.lo')
*** Error 1 in arm-unknown-openbsd6.3 (Makefile:1621 'all-recursive')
*** Error 1 in arm-unknown-openbsd6.3 (Makefile:730 'all')
*** Error 1 in /usr/ports/pobj/libffi-3.2.1/libffi-3.2.1 (Makefile:616 'all')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:2742 '/usr/ports/pobj/libffi-3.2.1/.build_done')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports/packages/arm/all/libffi-3.2.1p4.tgz')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-package')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:1956 '/var/db/pkg/libffi-3.2.1p4/+CONTENTS')
*** Error 1 in /usr/ports/devel/libffi (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'install')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:2073 '/usr/ports/pobj/Python-2.7.14/.dep-devel-libffi')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:2508 '/usr/ports/pobj/Python-2.7.14/.extract_done')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports/packages/arm/all/python-2.7.14p1.tgz')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-package')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:1956 '/var/db/pkg/python-2.7.14p1/+CONTENTS')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'install')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:2073 '/usr/ports/pobj/libxml2-2.9.8/.dep-lang-python-2.7')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:2508 '/usr/ports/pobj/libxml2-2.9.8/.extract_done')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports/packages/arm/all/libxml-2.9.8.tgz')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-package')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:1956 '/var/db/pkg/libxml-2.9.8/+CONTENTS')
*** Error 1 in /usr/ports/textproc/libxml (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'install')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:2073 '/usr/ports/pobj/apache-httpd-2.4.29/.dep-textproc-libxml')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:2508 '/usr/ports/pobj/apache-httpd-2.4.29/.extract_done')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports/packages/arm/all/apache-httpd-2.4.29p0.tgz')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-package')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:1956 '/var/db/pkg/apache-httpd-2.4.29p0/+CONTENTS')
*** Error 1 in /usr/ports/www/apache-httpd (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'install')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2073 '/usr/ports/pobj/php-7.0.28/.dep-www-apache-httpd')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2508 '/usr/ports/pobj/php-7.0.28/.extract_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports/packages/arm/all/php-7.0.28.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1956 '/var/db/pkg/php-7.0.28/+CONTENTS')
*** Error 1 in /usr/ports/lang/php/7.0 (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'install')
op1bsd63snap#




-----Original Message-----
From: [hidden email] <[hidden email]> On Behalf Of Peter Hessler
Sent: April 13, 2018 5:46 AM
To: [hidden email]
Cc: [hidden email]
Subject: Re: php on arm

On 2018 Apr 12 (Thu) at 09:54:08 -0700 (-0700), [hidden email] wrote:
:What happened to php packages on the latest build of the arm packages?  They :were there in the previous build.  I was hoping to get a stable system with :the release of 6.3 but I can't build the system I want without php.
:

Because of the old gcc-4.2.1 situation, php required a newer gcc on arm, and that gcc failed to build.

However now that arm uses llvm as the compiler, it will hopefully build without that.


--
Time flies like an arrow
Fruit flies like a banana