Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 16:35:59 +1100
From:      nano <nanotek@bsdbox.co>
To:        freebsd-questions@freebsd.org
Subject:   Missing PHP libraries after 10.0-RELEASE upgrade
Message-ID:  <52E741BF.2050703@bsdbox.co>

next in thread | raw e-mail | index | archive | help
During my upgrade from 9.2-RELEASE to 10.0-RELEASE the ports tree was 
broken [0]. This upset the standard freebsd-update major release upgrade 
process [1]: at the portmaster -f point, most builds failed due to the 
STAGEDIR debacle. By the time the ports tree was fixed and I was able to 
successfully reinstall all ports, the final freebsd-update install 
command returned the message that there was nothing to do. I rebooted 
and thought nothing of it. A couple days later, I've tried to update 
lang/php55 and all lang/php55-extensions to 5.5.8 (from 5.5.7); PHP 
successfully updated but all extensions are failing due to missing
libraries:


/usr/ports/lang/php55-extensions # make install clean
===>  Found saved configuration for php55-extensions-1.8
===>   php55-extensions-1.8 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php55-extensions-1.8 for building
===>  Extracting for php55-extensions-1.8
===>  Patching for php55-extensions-1.8
===>   php55-extensions-1.8 depends on file:
/usr/local/include/php/main/php.h - found
!---------------------------------[ highlight 
]---------------------------------!
===>   php55-extensions-1.8 depends on file:
/usr/local/lib/php/20121212/bz2.so - not found
!--------------------------------------[/]--------------------------------------!
===>    Verifying install for /usr/local/lib/php/20121212/bz2.so in
/usr/ports/archivers/php55-bz2
===>  Staging for php55-bz2-5.5.8
===>   php55-bz2-5.5.8 depends on file:
/usr/local/include/php/main/php.h - found
===>   Generating temporary packing list
!---------------------------------[ highlight 
]---------------------------------!
install:
/var/ports/basejail/usr/ports/archivers/php55-bz2/work/php-5.5.8/ext/bz2/modules/bz2.so: 

No such file or directory
*** [do-install] Error code 71
!--------------------------------------[/]--------------------------------------!


I am running into the same problem on both systems that I upgraded from 
9.2-RELEASE [2].

How do I fix this?

Thanks.



[0] r340369
http://svnweb.freebsd.org/ports?view=revision&revision=340369

[1] http://www.freebsd.org/releases/10.0R/installation.html
freebsd-update fetch
freebsd-update install
freebsd-update -r 10.0-RELEASE upgrade
freebsd-update install
reboot
freebsd-update install
portmaster -f
freebsd-update install
reboot

[2] uname -a
FreeBSD idhs 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 
22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD scif 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 
01:46:25 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


-- 
bsdbox.co



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52E741BF.2050703>