Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588218 - dev-php/libvirt-php-9999 - newins: src/libvirt-php.so does not exist
Summary: dev-php/libvirt-php-9999 - newins: src/libvirt-php.so does not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 12:04 UTC by Michal Privoznik
Modified: 2016-08-16 06:57 UTC (History)
3 users (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 Michal Privoznik 2016-07-07 12:04:40 UTC
After b87607385f95f6e18c4b061f1c3c55e250cc7c31 the resulting libvirt-php.so is not built directly to src/ dir rather than src/.libs. We should reflect that change in our ebuild too:

--- /usr/portage/dev-php/libvirt-php/libvirt-php-9999.ebuild    2016-07-07 13:59:09.552115444 +0200
+++ /tmp/libvirt-php-9999.ebuild        2016-07-07 13:59:05.602126460 +0200
@@ -53,7 +53,7 @@
        for slot in $(php_get_slots); do
                php_init_slot_env ${slot}
                insinto "${EXT_DIR}"
-               newins "src/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so"
+               newins "src/.libs/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so"
        done
        php-ext-source-r2_createinifiles
        dodoc AUTHORS ChangeLog NEWS README


>>> Install libvirt-php-9999 into /var/tmp/portage/dev-php/libvirt-php-9999/image/ category dev-php
 * ERROR: dev-php/libvirt-php-9999::gentoo failed (install phase):
 *   !!! newins: src/libvirt-php.so does not exist
Comment 1 Matthias Maier gentoo-dev 2016-08-16 05:25:13 UTC
I have updated libvirt-php to the latest version (0.5.2) and updated the live ebuild as well.

May I ask you to test
  dev-php/libvirt-php-0.5.2
  dev-php/libvirt-php-9999
whether they are functional? I have only done a few very brief test (by running a few example queries from the libvirt-php webpage) - I do not use php.

If everything seems fine please close.


commit f69d0742735855f3aa4655e600a5afd2d4d7381f
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Tue Aug 16 00:18:48 2016 -0500

    dev-php/libvirt-php: drop old version 0.4.8
    
    Package-Manager: portage-2.2.28

commit b2117fdc99012d53d7739729027b16d95570f98b
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Tue Aug 16 00:18:02 2016 -0500

    dev-php/libvirt-php: version bump to 0.5.2
    
    Package-Manager: portage-2.2.28

commit 9da931e699af972059d1c9f72e4629561b832a37
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Mon Aug 15 22:04:52 2016 -0500

    dev-php/libvirt-php: Update live build, bug #588218
    
    Thanks to Michal Privoznik for the updated ebuild
    
    Package-Manager: portage-2.2.28
Comment 2 Michal Privoznik 2016-08-16 06:57:43 UTC
(In reply to Matthias Maier from comment #1)
> I have updated libvirt-php to the latest version (0.5.2) and updated the
> live ebuild as well.
> 
> May I ask you to test
>   dev-php/libvirt-php-0.5.2
>   dev-php/libvirt-php-9999
> whether they are functional? 


Yes, they are looking good to me. Thank you!