Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436582 - vala.eclass is not compatible with app-emulation/libvirt-glib-0.1.2
Summary: vala.eclass is not compatible with app-emulation/libvirt-glib-0.1.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 10:34 UTC by Pacho Ramos
Modified: 2012-09-29 13:39 UTC (History)
0 users

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


Attachments
libvirt-glib-0.1.2.ebuild (libvirt-glib-0.1.2.ebuild,1.12 KB, text/plain)
2012-09-29 10:35 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-09-29 10:34:43 UTC
While trying to bump app-emulation/libvirt-glib I hit this problem:

>>> Emerging (8 of 8) app-emulation/libvirt-glib-0.1.2
 * libvirt-glib-0.1.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking libvirt-glib-0.1.2.tar.gz to /var/tmp/portage/app-emulation/libvirt-glib-0.1.2/work
>>> Source unpacked in /var/tmp/portage/app-emulation/libvirt-glib-0.1.2/work
>>> Preparing source in /var/tmp/portage/app-emulation/libvirt-glib-0.1.2/work/libvirt-glib-0.1.2 ...
ln: fallo al crear el enlace simbólico «/var/tmp/portage/app-emulation/libvirt-glib-0.1.2/temp/pkgconfig/libvala.pc»: El fichero ya existe
 * ERROR: app-emulation/libvirt-glib-0.1.2 failed (prepare phase):
 *   ln failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 5561:  Called vala_src_prepare
 *   environment, line 6079:  Called die
 * The specific snippet of code:
 *                   ln -s "${d}/${p}-${version}.pc" "${T}/pkgconfig/${p}.pc" || die "ln failed";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/libvirt-glib-0.1.2'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-glib-0.1.2'`.
 * The complete build log is located at '/var/log/portage/build/app-emulation/libvirt-glib-0.1.2:20120929-103236.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/libvirt-glib-0.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-glib-0.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/libvirt-glib-0.1.2/work/libvirt-glib-0.1.2'
 * S: '/var/tmp/portage/app-emulation/libvirt-glib-0.1.2/work/libvirt-glib-0.1.2'

>>> Failed to emerge app-emulation/libvirt-glib-0.1.2, Log file:

>>>  '/var/log/portage/build/app-emulation/libvirt-glib-0.1.2:20120929-103236.log'

Maybe "ln" should be called with "-f" option

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2012-09-29 10:35:11 UTC
Created attachment 325292 [details]
libvirt-glib-0.1.2.ebuild
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-29 13:10:05 UTC
This error should be impossible. Possibilities I can think of:
1. you had FEATURES=keeptemp or keepwork, and forgot to delete /var/tmp/portage/app-emulation/libvirt-glib-0.1.2 after a failed or interrupted emerge.
2. one of your vala slots installed multiple libvala-$SLOT.pc files. (Please check by looking at "ls /usr/{share,lib}/pkgconfig/libvala*")
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-29 13:12:02 UTC
Never mind, I see what happened: "use vala && vala_src_prepare" needs to be in src_prepare, not in pkg_setup.
Comment 4 Pacho Ramos gentoo-dev 2012-09-29 13:39:09 UTC
Yeah, sorry for the noise