3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

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

3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

Siju George
Hi,

I had successfully installed PHP4 from ports on my 3.9/amd64 a few weeks back.
However on i386 it gives the following error. I was jut trying to make
packages using

#make package from

/usr/ports/www/php4 & /usr/ports/www/php45 simultaneously.

Did I do something wrong?

Thankyou so much

Kind Regards

Siju


--------
===>  php4-extensions-4.4.1p0 depends on: openldap-client-* - found
===>  php4-extensions-4.4.1p0 depends on: libmcrypt-* - not found
===>  Verifying install for libmcrypt-* in security/libmcrypt
===>  Checking files for libmcrypt-2.5.7p1
`/usr/ports/distfiles/libmcrypt-2.5.7.tar.gz' is up to date.
>> Checksum OK for libmcrypt-2.5.7.tar.gz. (sha1)
===>  libmcrypt-2.5.7p1 depends on: mhash-* - not found
===>  Verifying install for mhash-* in security/mhash
===>  Building for mhash-0.9.1p1
make  all-recursive
Making all in lib
/usr/local/bin/libtool  --mode=link cc  -O2 -pipe    -o libmhash.la
-rpath /usr/local/lib -version-info 2:0:0  -no-undefined
-export-symbols ./libmhash.sym mhash.lo swap.lo bzero.lo crc32.lo
md5.lo  sha1.lo haval.lo tiger.lo tiger_sboxes.lo gosthash.lo
keygen_hex.lo keygen_mcrypt.lo keygen_asis.lo keygen.lo  keygen_s2k.lo
ripemd.lo md4.lo sha256_sha224.lo  sha512_sha384.lo adler32.lo
whirlpool.lo
libtool: link: `keygen_mcrypt.lo' is not a valid libtool object
*** Error code 1

Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1/lib
(line 236 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
224 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
152 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash (line 1924 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/security/libmcrypt (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/security/libmcrypt (line 1750 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php4/extensions (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php4/extensions (line 1750 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php4 (line 108 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).
#

-----------------------------------------------------------------------------------------------

-------------===>  php5-extensions-5.0.5p0 depends on: openldap-client-* - found
===>  php5-extensions-5.0.5p0 depends on: libmcrypt-* - not found
===>  Verifying install for libmcrypt-* in security/libmcrypt
===>  Checking files for libmcrypt-2.5.7p1
`/usr/ports/distfiles/libmcrypt-2.5.7.tar.gz' is up to date.
>> Checksum OK for libmcrypt-2.5.7.tar.gz. (sha1)
===>  libmcrypt-2.5.7p1 depends on: mhash-* - not found
===>  Verifying install for mhash-* in security/mhash
===>  Building for mhash-0.9.1p1
make  all-recursive
Making all in lib
/usr/local/bin/libtool  --mode=link cc  -O2 -pipe    -o libmhash.la
-rpath /usr/local/lib -version-info 2:0:0  -no-undefined
-export-symbols ./libmhash.sym mhash.lo swap.lo bzero.lo crc32.lo
md5.lo  sha1.lo haval.lo tiger.lo tiger_sboxes.lo gosthash.lo
keygen_hex.lo keygen_mcrypt.lo keygen_asis.lo keygen.lo  keygen_s2k.lo
ripemd.lo md4.lo sha256_sha224.lo  sha512_sha384.lo adler32.lo
whirlpool.lo
libtool: link: `keygen_mcrypt.lo' is not a valid libtool object
*** Error code 1
Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1/lib
(line 236 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
224 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
152 of Makefile).
*** Error code 1

Stop in /usr/ports/security/mhash (line 1924 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/security/libmcrypt (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/security/libmcrypt (line 1750 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/extensions (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/extensions (line 1750 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5 (line 108 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).
#
--------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|

Re: 3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

Jolan Luff
On Mon, Jun 12, 2006 at 10:18:32AM +0530, Siju George wrote:

> Hi,
>
> I had successfully installed PHP4 from ports on my 3.9/amd64 a few weeks
> back.
> However on i386 it gives the following error. I was jut trying to make
> packages using
>
> #make package from
>
> /usr/ports/www/php4 & /usr/ports/www/php45 simultaneously.
>
> Did I do something wrong?

the ports infrastructure doesn't really have locking to handle building
two ports at the same time, especially ones that have the same
dependencies.  i would do 'make clean-depends' for both ports and build
them one at a time.

> --------
> ===>  php4-extensions-4.4.1p0 depends on: openldap-client-* - found
> ===>  php4-extensions-4.4.1p0 depends on: libmcrypt-* - not found
> ===>  Verifying install for libmcrypt-* in security/libmcrypt
> ===>  Checking files for libmcrypt-2.5.7p1
> `/usr/ports/distfiles/libmcrypt-2.5.7.tar.gz' is up to date.
> >>Checksum OK for libmcrypt-2.5.7.tar.gz. (sha1)
> ===>  libmcrypt-2.5.7p1 depends on: mhash-* - not found
> ===>  Verifying install for mhash-* in security/mhash
> ===>  Building for mhash-0.9.1p1
> make  all-recursive
> Making all in lib
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe    -o libmhash.la
> -rpath /usr/local/lib -version-info 2:0:0  -no-undefined
> -export-symbols ./libmhash.sym mhash.lo swap.lo bzero.lo crc32.lo
> md5.lo  sha1.lo haval.lo tiger.lo tiger_sboxes.lo gosthash.lo
> keygen_hex.lo keygen_mcrypt.lo keygen_asis.lo keygen.lo  keygen_s2k.lo
> ripemd.lo md4.lo sha256_sha224.lo  sha512_sha384.lo adler32.lo
> whirlpool.lo
> libtool: link: `keygen_mcrypt.lo' is not a valid libtool object
> *** Error code 1
>
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1/lib
> (line 236 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
> 224 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
> 152 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash (line 1924 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/security/libmcrypt (line 1422 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/security/libmcrypt (line 1750 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php4/extensions (line 1422 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php4/extensions (line 1750 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php4 (line 108 of
> /usr/ports/infrastructure/mk/bsd.port.subdir.mk).
> #
>
> -----------------------------------------------------------------------------------------------
>
> -------------===>  php5-extensions-5.0.5p0 depends on: openldap-client-* -
> found
> ===>  php5-extensions-5.0.5p0 depends on: libmcrypt-* - not found
> ===>  Verifying install for libmcrypt-* in security/libmcrypt
> ===>  Checking files for libmcrypt-2.5.7p1
> `/usr/ports/distfiles/libmcrypt-2.5.7.tar.gz' is up to date.
> >>Checksum OK for libmcrypt-2.5.7.tar.gz. (sha1)
> ===>  libmcrypt-2.5.7p1 depends on: mhash-* - not found
> ===>  Verifying install for mhash-* in security/mhash
> ===>  Building for mhash-0.9.1p1
> make  all-recursive
> Making all in lib
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe    -o libmhash.la
> -rpath /usr/local/lib -version-info 2:0:0  -no-undefined
> -export-symbols ./libmhash.sym mhash.lo swap.lo bzero.lo crc32.lo
> md5.lo  sha1.lo haval.lo tiger.lo tiger_sboxes.lo gosthash.lo
> keygen_hex.lo keygen_mcrypt.lo keygen_asis.lo keygen.lo  keygen_s2k.lo
> ripemd.lo md4.lo sha256_sha224.lo  sha512_sha384.lo adler32.lo
> whirlpool.lo
> libtool: link: `keygen_mcrypt.lo' is not a valid libtool object
> *** Error code 1
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1/lib
> (line 236 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
> 224 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash/w-mhash-0.9.1p1/mhash-0.9.1 (line
> 152 of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/security/mhash (line 1924 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/security/libmcrypt (line 1422 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/security/libmcrypt (line 1750 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php5/extensions (line 1422 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php5/extensions (line 1750 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php5 (line 108 of
> /usr/ports/infrastructure/mk/bsd.port.subdir.mk).
> #
> --------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|

Re: 3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

Peter Strömberg
On 13 Jun 2006 at 1:19, Jolan Luff wrote:

> On Mon, Jun 12, 2006 at 10:18:32AM +0530, Siju George wrote:
> > ...
> > /usr/ports/www/php4 & /usr/ports/www/php45 simultaneously.
> >
> > Did I do something wrong?
>
> the ports infrastructure doesn't really have locking to handle building
> two ports at the same time, especially ones that have the same
> dependencies.

Check LOCK INFRASTRUCTURE in ports(7)

Reply | Threaded
Open this post in threaded view
|

Re: 3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

Nikolay Sturm-2
In reply to this post by Jolan Luff
* Jolan Luff [2006-06-13]:
> the ports infrastructure doesn't really have locking to handle
> building two ports at the same time, especially ones that have the
> same dependencies.

Well, putting this into /etc/mk.conf is a good start

LOCKDIR=        /usr/ports/locks/${MACHINE_ARCH}
LOCK_CMD=       /usr/ports/infrastructure/build/dolock
UNLOCK_CMD=     rm -f

but it might leave locks around if you interrupt a build hard enough.

Nikolay

Reply | Threaded
Open this post in threaded view
|

Re: 3. 9 PHP4 & PHP5 ports fails on i386 but suceeds on amd64

Siju George
On 6/13/06, Nikolay Sturm <[hidden email]> wrote:

> * Jolan Luff [2006-06-13]:
> > the ports infrastructure doesn't really have locking to handle
> > building two ports at the same time, especially ones that have the
> > same dependencies.
>
> Well, putting this into /etc/mk.conf is a good start
>
> LOCKDIR=        /usr/ports/locks/${MACHINE_ARCH}
> LOCK_CMD=       /usr/ports/infrastructure/build/dolock
> UNLOCK_CMD=     rm -f
>
> but it might leave locks around if you interrupt a build hard enough.
>

Thankyou so much for the info JOlan, Peter and Nickolay :-)

Kind Regards

Siju