Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380845 - =dev-lang/php-5.3.8: missing eblit-php-pkg_postinst
Summary: =dev-lang/php-5.3.8: missing eblit-php-pkg_postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 13:21 UTC by Markos Chandras (RETIRED)
Modified: 2013-10-06 15:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2011-08-27 13:21:54 UTC
After merging php, the following warning(error?) occurs

/var/tmp/portage/dev-lang/php-5.3.8/temp/environment: line 1877: eblit-php-pkg_postinst: command not found

I am not sure if this is serious or not. Let me know if you need more info


Portage 2.2.0_alpha51 (default/linux/amd64/10.0/server, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39.1-x86_64-linode19 x86_64)
=================================================================
System uname: Linux-2.6.39.1-x86_64-linode19-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.0.3
Timestamp of tree: Unknown
app-shells/bash:          4.1_p9
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo qting-edge sunrise hwoarang
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--getbinpkg --binpkg-respect-use y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed"
LINGUAS="en el"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/hwoarang/development/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/home/hwoarang/development/overlays/qting-edge /home/hwoarang/development/overlays/sunrise/sunrise /home/hwoarang/development/overlays/hwoarang"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion bzip2 caps cli cracklib crypt cxx dri gdbm gpm iconv idn ipv6 mmx modules mudflap multilib mysql ncurses nls nptl nptlonly offensive openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd threads truetype unicode vhosts vim-pager vim-syntax vorbis xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ubx" INPUT_DEVICES="keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2011-08-30 09:34:20 UTC
Sorry, but I cannot reproduce this.

If eblit-php-pkg_postinst does not run, users will miss out on a bunch of elogs, so it is unfortunate if this is not executed.
Comment 2 cyberbat 2011-08-31 17:13:03 UTC
I confirm this bug. Also I've noticed that the thing happens when emerging from binary package (emerge parameters: -k or -g). Emerging from the source on the same system is ok.
Comment 3 Phattanon Duangdara 2011-09-04 16:32:34 UTC
I also hit this bug too, happens only when emerge with --usepkg and --usepkgonly. Ebuild seems try to use library on /var/tmp on postinst which not available when merging binary packages.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-09-06 09:22:12 UTC
Yes, I forgot to mention that I hit this bug when emerging a binary php package
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2011-09-07 11:13:03 UTC
Does this only happen with php-5.3.8, or does it also happen with 5.3.6? If so, this problem has probably existed for quite some time. If this does not happen with 5.3.6, I guess this happens because of the EAPI bump.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-09-07 13:10:51 UTC
I am sorry but this is a production machine so I can't downgrade php to test whether old ebuilds have the same behavior :/
Comment 7 cyberbat 2011-09-07 13:28:54 UTC
(In reply to comment #5)
> or does it also happen with 5.3.6? If so,
> this problem has probably existed for quite some time. 

I've checked. We've got this variant.

>> Original instance of package unmerged safely.
/var/tmp/portage/dev-lang/php-5.3.6/temp/environment: line 1985: eblit-php-pkg_postinst: команда не найдена (comand not found)
>>> dev-lang/php-5.3.6 merged.
>>> Auto-cleaning packages...
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2011-09-07 14:55:28 UTC
Okay. This appears to be a bit nasty.

It sounds like the eblits are not sourced properly. The result of this is that the PHP symlinks will not be automagically fixed. It will have no consequence for those who do a minor version upgrade, and probably not a big deal for those doing major version upgrades either except that they will not get the useful einfos. Those doing first-time install will get a broken install and will have to run eselect php for php to work.
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2011-11-05 11:03:28 UTC
I moved pkg_postinst from eblit into the ebuild for 5.3.9_rc1. I think that should sovle the problem.
Comment 10 cyberbat 2011-11-05 13:50:24 UTC
(In reply to comment #9)
> I moved pkg_postinst from eblit into the ebuild for 5.3.9_rc1. I think that
> should sovle the problem.

I have tried on my test box. 5.3.8 shows the error, 5.3.9_rc1 not.