Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370647 - sys-fs/udev-9999: could not be unpacked
Summary: sys-fs/udev-9999: could not be unpacked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 09:44 UTC by Steve BOSAK
Modified: 2011-06-09 13:18 UTC (History)
0 users

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 Steve BOSAK 2011-06-08 09:44:28 UTC
After trying to emerge sys-fs/udev-9999 next error shown:
/var/tmp/portage/sys-fs/udev-9999/temp/environment: line 3611: git_src_unpack: command not found

Reproducible: Always

Steps to Reproduce:
1. emerge sys-fs/udev-9999
2. above error occurs
Actual Results:  
unpacking failed

Expected Results:  
unpacked correctly

Portage 2.2.0_alpha38_p1 (default/linux/amd64/10.0, gcc-4.6.1-pre9999, glibc-2.13-r2, 3.0.0-rc1 x86_64)
=================================================================
System uname: Linux-3.0.0-rc1-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.0.2
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.51.0.9
sys-devel/gcc:            4.6.1_pre9999::toolchain
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        9999
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -mcx16 -msahf"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s,-z,combreloc,-z,now,-z,relro -Wl,--hash-style=gnu"
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-08 14:04:25 UTC
Revision 1.41 of udev-9999.ebuild has introduced:
vcs="git-2 autotools"
...
inherit ${VCS} ...

vcs != VCS
Comment 2 Steve BOSAK 2011-06-08 15:06:20 UTC
installed packages:
sys-devel/automake-1.11.1-r1
sys-devel/autoconf-2.68

after try emerge sys-devel/automake-9999:

sys-devel/automake-9999:

/bin/sh: /var/tmp/portage/sys-devel/automake-9999/work/automake-9999/aclocal: No such file or directory

installed packages:
sys-devel/automake-1.11.1-r1
sys-devel/autoconf-9999

after try emerge sys-devel/automake-9999

sys-devel/automake-9999:
configure: error: Autoconf 2.62 or better is required.
Comment 3 William Hubbs gentoo-dev 2011-06-08 15:43:38 UTC
This has been fixed; thanks for the report.
Comment 4 Steve BOSAK 2011-06-08 20:29:53 UTC
here is complete fix:

if [[ ${PV} == "9999" ]]
then
        EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/hotplug/udev.git"
        EGIT_BRANCH="master"
        vcs="git-2 autotools"
fi

inherit ${vcs} eutils flag-o-matic multilib toolchain-funcs linux-info systemd

src_unpack() {
        unpack ${A}
        if [[ ${PV} == "9999" ]]
        then
                git-2_src_unpack
        fi
}

Please also fix:
sys-devel/automake-9999, sys-devel/autoconf-9999.

Thank you for your assistance.
Comment 5 William Hubbs gentoo-dev 2011-06-09 01:32:08 UTC
The fix for udev-9999 has been applied.

(In reply to comment #4)
> Please also fix:
> sys-devel/automake-9999, sys-devel/autoconf-9999.

We will need separate bugs for these. we do not normally fix mor than one package on the same bug, and I am not a maintainer of these packages.

Thanks,

William
Comment 6 Steve BOSAK 2011-06-09 07:03:22 UTC
Please apply complete fix from Comment #4.

Now in portage is used old function call:
udev-9999.ebuild,v 1.44 2011/06/08 15:30:14 williamh
git_src_unpack

As I wrote in Comment #4 it have to be:

git_src_unpack -> git-2_src_unpack

Thank you for your time.
Comment 7 Matthias Schwarzott gentoo-dev 2011-06-09 13:18:38 UTC
(In reply to comment #6)
> Please apply complete fix from Comment #4.
> 
Applied.