Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520356 - dev-lang/php-5.5.15 - !!! newins: .libs/libphp5.dylib does not exist
Summary: dev-lang/php-5.5.15 - !!! newins: .libs/libphp5.dylib does not exist
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-20 21:02 UTC by Artem Butusov
Modified: 2014-08-21 07:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (gentoo-prefix-php-5.5.15-osx.patch,2.19 KB, patch)
2014-08-20 21:02 UTC, Artem Butusov
Details | Diff
emerge --info '=dev-lang/php-5.5.15::gentoo_prefix' (gentoo-prefix-php-5.5.15-osx-emerge-info.txt,3.73 KB, text/plain)
2014-08-20 23:48 UTC, Artem Butusov
Details
emerge -pqv '=dev-lang/php-5.5.15::gentoo_prefix' (gentoo-prefix-php-5.5.15-osx-emerge.txt,660 bytes, text/plain)
2014-08-20 23:48 UTC, Artem Butusov
Details
/var/tmp/portage/dev-lang/php-5.5.15/temp/environment (gentoo-prefix-php-5.5.15-osx-env.txt,163.03 KB, text/plain)
2014-08-20 23:49 UTC, Artem Butusov
Details
gentoo-prefix-php-5.5.15-osx-build.log.bz2 (gentoo-prefix-php-5.5.15-osx-build.log.bz2,33.25 KB, application/x-bzip)
2014-08-20 23:50 UTC, Artem Butusov
Details
gentoo-prefix-php-5.5.15-osx.patch (gentoo-prefix-php-5.5.15-osx.patch,2.19 KB, patch)
2014-08-20 23:51 UTC, Artem Butusov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Butusov 2014-08-20 21:02:30 UTC
Created attachment 383224 [details, diff]
fix

dev-lang/php-5.5.15 can't pass install phase on max os x x86_64

use flags: dev-lang/php apache2 crypt curl ftp gd inifile mhash mysql mysqli pcntl pdo sockets sqlite xmlreader xmlwriter zip

problem 1: ebuild install phase command can't find anything in .libs for apache module
fix: replace .libs => ./libs [not sure if there was a problem with apache2 module before, not sure if it's portable fix]

problem 2: ebuild refers to .dylib extension (get_libname) but php/apache modules actually have .module/.so extension (get_modname) on osx
fix: replace $(get_libname) to $(get_modname) [it must be portable]
fix: replace opcache.so to opcache.$(get_modname) in ini [it must be portable]

problem 3: eselect php list apache2 search for *.dylib instead of *.bundle/*.so on osx
fix: create symlink from *.module to *.dylib so eselect can work without changes in select sources [it must be portable]
Comment 1 Jeroen Roovers gentoo-dev 2014-08-20 22:33:38 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Artem Butusov 2014-08-20 23:48:16 UTC
Created attachment 383232 [details]
emerge --info '=dev-lang/php-5.5.15::gentoo_prefix'
Comment 3 Artem Butusov 2014-08-20 23:48:49 UTC
Created attachment 383234 [details]
emerge -pqv '=dev-lang/php-5.5.15::gentoo_prefix'
Comment 4 Artem Butusov 2014-08-20 23:49:24 UTC
Created attachment 383236 [details]
/var/tmp/portage/dev-lang/php-5.5.15/temp/environment
Comment 5 Artem Butusov 2014-08-20 23:50:30 UTC
Created attachment 383238 [details]
gentoo-prefix-php-5.5.15-osx-build.log.bz2
Comment 6 Artem Butusov 2014-08-20 23:51:20 UTC
Created attachment 383240 [details, diff]
gentoo-prefix-php-5.5.15-osx.patch
Comment 7 Artem Butusov 2014-08-20 23:52:49 UTC
Portage 2.2.10.1-prefix (python 2.7.6-final-0, prefix/darwin/macos/10.9/x64, gcc-4.2.1, unavailable, 13.3.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-13.3.0-x86_64-i386-64bit
Timestamp of tree: Tue, 19 Aug 2014 03:33:17 +0000
app-shells/bash:      4.2_p45-r1
dev-lang/python:      2.7.6-r1, 3.3.3
dev-util/cmake:       2.8.12.2-r1
dev-util/pkgconfig:   0.28-r2
sys-devel/autoconf:   2.69
sys-devel/automake:   1.14
sys-devel/gcc-config: 1.8-r00.1
sys-devel/libtool:    2.4.2-r1
sys-devel/make:       4.0-r1
Repositories: gentoo_prefix local
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin13"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-apple-darwin13"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/local/gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/usr/local/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/usr/local/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/local/gentoo/var/tmp"
PORTDIR="/usr/local/gentoo/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl threads unicode x64-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON