Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554408 - sys-fs/udev-222 fails src_prepare: The line count for secure_getenv() failed, see bug #443030
Summary: sys-fs/udev-222 fails src_prepare: The line count for secure_getenv() failed,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-10 05:33 UTC by Ryan Hill (RETIRED)
Modified: 2015-07-10 16:46 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 Ryan Hill (RETIRED) gentoo-dev 2015-07-10 05:33:11 UTC
I'm getting this on two systems.

>>> Preparing source in /var/tmp/portage/sys-fs/udev-222/work/systemd-222 ...
 * The line count for secure_getenv() failed, see bug #443030
 * ERROR: sys-fs/udev-222::gentoo failed (prepare phase):
 *   (no error message)


Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/developer, gcc-4.9.3, glibc-2.21, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3920XM_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    32596584 total,   6040520 free
KiB Swap:    1048572 total,   1048520 free
Timestamp of repository gentoo: Fri, 10 Jul 2015 04:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 5.1.0::gentoo
sys-devel/gcc-config:     1.8::local
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo-portage-rsync-mirror
    priority: -1000

local
    location: /home/dirtyepic/overlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/src/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12 V=1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[ebuild     U  ] sys-fs/udev-222::gentoo [220-r3::gentoo] USE="kmod -acl -doc (-selinux) -static-libs (-gudev%*) (-introspection%*)" ABI_X86="(64) -32 (-x32)" 0 KiB
Comment 1 Patrick Lauer gentoo-dev 2015-07-10 05:43:40 UTC
+  10 Jul 2015; Patrick Lauer <patrick@gentoo.org> package.mask:
+  Mask not-building udev release #554408

Same failure here ...
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-10 07:34:04 UTC
@@ -114,7 +110,7 @@
 src_prepare() {
        if ! [[ ${PV} = 9999* ]]; then
                # secure_getenv() disable for non-glibc systems wrt bug #443030
-               if ! [[ $(grep -r secure_getenv * | wc -l) -eq 28 ]]; then
+               if ! [[ $(grep -r secure_getenv * | wc -l) -eq 25 ]]; then
                        eerror "The line count for secure_getenv() failed, see bug #443030"
                        die
                fi
Comment 3 Dmitry Suloev 2015-07-10 10:09:15 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> @@ -114,7 +110,7 @@
>  src_prepare() {
>         if ! [[ ${PV} = 9999* ]]; then
>                 # secure_getenv() disable for non-glibc systems wrt bug
> #443030
> -               if ! [[ $(grep -r secure_getenv * | wc -l) -eq 28 ]]; then
> +               if ! [[ $(grep -r secure_getenv * | wc -l) -eq 25 ]]; then
>                         eerror "The line count for secure_getenv() failed,
> see bug #443030"
>                         die
>                 fi

And we get this:
make -j3 ata_id cdrom_id collect scsi_id v4l_id accelerometer mtd_probe 
make: *** No rule to make target 'accelerometer'.  Stop.
make: *** Waiting for unfinished jobs....
 * ERROR: sys-fs/udev-222::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/udev-222::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/udev-222::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/udev-222/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-222/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/udev-222/work/systemd-222-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-fs/udev-222/work/systemd-222'
Comment 4 Paul Zander 2015-07-10 11:27:23 UTC
https://github.com/systemd/systemd/commit/0051ebf7

udev: Remove accelerometer helper
It's moved to the iio-sensor-proxy D-Bus service.
Comment 5 William Hubbs gentoo-dev 2015-07-10 16:46:13 UTC
udev-222 builds for me now, so I'm closing this and unmasking.