Created attachment 370498 [details] build.log See also bug 489794 comments 2, 3 and 4. [...] isosize: print-size ... OK last: last ipv6 ... OK last: last ... FAILED (last/last) libmount: context ... IGNORE (not root permissions) libmount: context-py ... IGNORE (pylibmount not compiled) [...] --------------------------------------------------------------------- 1 tests of 126 FAILED --------------------------------------------------------------------- Makefile:11067: recipe for target 'check-local-tests' failed make[3]: *** [check-local-tests] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1' Makefile:10741: recipe for target 'check-am' failed make[2]: *** [check-am] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1' Makefile:10303: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1' Makefile:10744: recipe for target 'check' failed make: *** [check] Error 2 * ERROR: sys-apps/util-linux-2.24.1-r2::gentoo failed (test phase): * emake failed falcon ~ # diff -u /var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1/tests/{expected/last/last,output/last/last} --- /var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1/tests/expected/last/last 2013-10-09 10:48:26.560289171 +0200 +++ /var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1/tests/output/last/last 2014-02-15 16:13:36.825216464 +0100 @@ -1,6 +1,6 @@ ~~~ basic output ~~~ rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) -torvalds linux hobby Mon Aug 26 00:57 still logged in +torvalds linux hobby Mon Aug 26 00:57 gone - no logout reboot system boot system-name Wed Aug 28 18:00 still running reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00) IPv4 root dns-server Wed Aug 28 13:00 - 14:00 (01:00) @@ -17,7 +17,7 @@ wtmp begins Wed Aug 28 03:00:00 2013 ~~~ include system ~~~ rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) -torvalds linux hobby Mon Aug 26 00:57 still logged in +torvalds linux hobby Mon Aug 26 00:57 gone - no logout reboot system boot system-name Wed Aug 28 18:00 still running shutdown system down system-name Wed Aug 28 17:00 - 18:00 (01:00) reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00) @@ -47,16 +47,16 @@ wtmp begins Wed Aug 28 03:00:00 2013 ~~~ show ip ~~~ -torvalds linux 128.214.205.14 Mon Aug 26 00:57 still logged in +torvalds linux 128.214.205.14 Mon Aug 26 00:57 gone - no logout wtmp begins Wed Aug 28 03:00:00 2013 ~~~ no host ~~~ -torvalds linux Mon Aug 26 00:57 still logged in +torvalds linux Mon Aug 26 00:57 gone - no logout wtmp begins Wed Aug 28 03:00:00 2013 ~~~ full times ~~~ rick long never-gonna-logo Thu Jan 1 00:00:00 1970 - Tue Jan 19 03:14:07 2038 (24855+03:14) -torvalds linux hobby Mon Aug 26 00:57:08 1991 still logged in +torvalds linux hobby Mon Aug 26 00:57:08 1991 gone - no logout reboot system boot system-name Wed Aug 28 18:00:00 2013 still running reboot system boot system-name Wed Aug 28 16:00:00 2013 - Wed Aug 28 17:00:00 2013 (01:00) IPv4 root dns-server Wed Aug 28 13:00:00 2013 - Wed Aug 28 14:00:00 2013 (01:00) @@ -73,7 +73,7 @@ wtmp begins Wed Aug 28 03:00:00 2013 ~~~ no time ~~~ rick long never-gonna-logo (24855+03:14) -torvalds linux hobby logged in +torvalds linux hobby - no logout reboot system boot system-name running reboot system boot system-name (01:00) IPv4 root dns-server (01:00) @@ -90,7 +90,7 @@ wtmp begins Wed Aug 28 03:00:00 2013 ~~~ iso-8601 time ~~~ rick long never-gonna-logout 1970-01-01T00:00:00+0000 - 2038-01-19T03:14:07+0000 (24855+03:14) -torvalds linux hobby 1991-08-26T00:57:08+0000 still logged in +torvalds linux hobby 1991-08-26T00:57:08+0000 gone - no logout reboot system boot system-name 2013-08-28T18:00:00+0000 still running reboot system boot system-name 2013-08-28T16:00:00+0000 - 2013-08-28T17:00:00+0000 (01:00) IPv4 root dns-server 2013-08-28T13:00:00+0000 - 2013-08-28T14:00:00+0000 (01:00) @@ -115,7 +115,7 @@ wtmp begins Wed Aug 28 03:00:00 2013 ~~~ present ~~~ rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) -torvalds linux hobby Mon Aug 26 00:57 still logged in +torvalds linux hobby Mon Aug 26 00:57 gone - no logout runlevel foo one Wed Aug 28 11:00 - 12:00 (01:00) wtmp begins Wed Aug 28 03:00:00 2013 eroen@falcon ~ $ emerge --info '=sys-apps/util-linux-2.24.1-r2::gentoo' Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.18-r1, 3.12.5e0-falcon0+ x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.5e0-falcon0+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 4037884 total, 472612 free KiB Swap: 8388604 total, 8055108 free Timestamp of tree: Sat, 15 Feb 2014 13:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.5.4, 4.6.4, 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo gamerlay eroen ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/var/distfiles" EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --verbose-conflicts --with-bdeps=y --binpkg-respect-use y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="/var/temdist/ /var/distfiles-occam/ http://mirrors.eu.kernel.org/gentoo/ http://mirrors.kernel.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/var/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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/eroen" SYNC="rsync://mirrors.eu.kernel.org/gentoo-portage/" USE="X a52 aac aacs accessibility acl adns alsa amd64 ao berkdb bluray bs2b bzip2 cairo calendar canberra caps cdda cdio cdparanoia cdr cli corefonts cracklib crypt css cue cups curl cxx dbus dia dirac djvu dmapi dri dts dvd dvdnav dvi ebook eigen exif faac fam fbcondecor ffmpeg fftw fits flac fontconfig fortran fuse g3dvl gcrypt gd gdbm gif gimp git gmp gnutls gold gstreamer hdri highlight iconv icu id3tag idn imagemagick inotify iptc ipv6 jpeg jpeg2k kde kvm lcms lensfun libnotify loop-aes lqr lzma lzo mad man matroska midi mikmod mkv mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mpeg4 mpeg4pt2 mplayer mtp multilib musepack ncurses netlink nfs nls nouveau nptl ocr offensive ogg openal opencl openexr opengl opengtl openmp openvg optimization osmesa pam pango pcre pdf png pnm portaudio postscript qalculate qemu qt3support qt4 rar raw rdesktop readline real rtmp samba scanner schroedinger security session smp sndfile socks5 speex spice sse sse2 sse3 ssl ssse3 strong-optimization svg tbb tcpd theora threads tiff timidity tls truetype udev uml unicode usb usbredir v4l v4l2 vdpau virtualbox vnc vorbis wacom wavpack webp wmf x264 xattr xcb xcomposite xetex xfs xft xine xinerama xorg xps xrandr xv xvid xvmc zlib" ABI_X86="32 64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="biosdevname caps crypt crypt-gpg dash dmraid lvm mdraid 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="menu" 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" USE_PYTHON="2.7 3.2 3.3" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS eroen@falcon ~ $ emerge -pqv '=sys-apps/util-linux-2.24.1-r2::gentoo' [ebuild U ] sys-apps/util-linux-2.24.1-r2 [2.24.1-r1] USE="caps ncurses nls pam static-libs suid udev unicode -bash-completion -cramfs -cytune -fdformat -python (-selinux) -slang {-test} -tty-helpers" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3"
If I understood correctly, this should be fixed in git as per bug 489794 for the next release. If so, we could simply disable the test for now, using this line in src_prepare(): find tests/ -type f -name last -delete #489794, #501408 Does that work for you? And futhermore, Mike, is that OK to commit?
(In reply to Samuli Suominen from comment #1) i don't think it is. the test failures there were because last was disabled, so i fixed it to auto-skip. current git still fails the same way when last is enabled.
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for last test failures http://sources.gentoo.org/sys-apps/util-linux/files/util-linux-2.24-last-tests.patch?rev=1.1 http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.24.1-r2.ebuild?r1=1.1&r2=1.2
thanks mike
This is reintroduced/still present in util-linux-2.24.2. The patch from 2.24.1 still applies and solves this, eg --- a/sys-apps/util-linux/util-linux-2.24.2.ebuild +++ b/sys-apps/util-linux/util-linux-2.24.2.ebuild @@ -65,6 +65,7 @@ src_prepare() { po/update-potfiles eautoreconf fi + epatch "${FILESDIR}"/${PN}-2.24-last-tests.patch #501408 find tests/ -name bigyear -delete #489794 elibtoolize }
Fixed thanks for the report
(In reply to SpanKY from comment #3) > should be all set now in the tree; thanks for the report! > > Commit message: Add fix from upstream for last test failures > http://sources.gentoo.org/sys-apps/util-linux/files/util-linux-2.24-last- > tests.patch?rev=1.1 > http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.24.1-r2. > ebuild?r1=1.1&r2=1.2 Weird: on my system I have to comment out this patch to have the tests succeed...
(In reply to Paolo Pedroni from comment #7) > Weird: on my system I have to comment out this patch to have the tests > succeed... You are not the first one saying that, so I'm reopening the bug.
a newer version is stabilized now and doesn't apply the patches (they're integrated upstream), so closing out