Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283934 - [FEATURES="test"] app-portage/portage-utils-0.2.1 fails make check
Summary: [FEATURES="test"] app-portage/portage-utils-0.2.1 fails make check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
: 295815 295924 298962 300168 300303 302659 321221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-07 07:12 UTC by Xake
Modified: 2010-06-08 04:48 UTC (History)
12 users (show)

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


Attachments
fix first test error (portage-utils_xmalloc_fix.patch,1.41 KB, patch)
2009-12-03 22:15 UTC, Pinky
Details | Diff
fix test error , usign xmalloc instead of malloc (portage-utils_xmalloc_fix.patch,597 bytes, patch)
2009-12-03 22:43 UTC, Pinky
Details | Diff
fix test error, space at end if line (portage-utils_space_fix.patch,506 bytes, patch)
2009-12-03 22:43 UTC, Pinky
Details | Diff
test fix, remove missused blank lines betwen functions (portage-utils_blank_lines_fix.patch,318 bytes, patch)
2009-12-03 22:56 UTC, Pinky
Details | Diff
updated ebuild (portage-utils-0.2.1.ebuild,2.03 KB, text/plain)
2010-01-12 09:12 UTC, Lie Ryan
Details
udated Manifest (Manifest,1.19 KB, text/plain)
2010-01-12 09:12 UTC, Lie Ryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2009-09-07 07:12:22 UTC
FAIL: src.use.xfuncs
qlop.c:472:	ip = malloc(sizeof(struct kinfo_proc) * size);
FAIL: src.style
main.c:60:char portarch[20] = ""; 
FAIL: src.space
--- ../../main.c	2009-08-29 21:45:54.000000000 +0200
+++ ../../main.c~	2009-09-07 08:42:01.270176351 +0200
@@ -57,7 +57,7 @@
 char reinitialize = 0;
 char reinitialize_metacache = 0;
 char portdir[_Q_PATH_MAX] = EPREFIX "/usr/portage";
-char portarch[20] = ""; 
+char portarch[20] = "";
 char portvdb[_Q_PATH_MAX] = "var/db/pkg";
 char portcachedir[] = "metadata/cache";
 char portroot[_Q_PATH_MAX] = "/";
--- ../../qmerge.c	2009-08-29 21:45:54.000000000 +0200
+++ ../../qmerge.c~	2009-09-07 08:42:02.366426123 +0200
@@ -1109,9 +1109,6 @@
 	}
 }
 
-
-
-
 void print_Pkg(int full, struct pkg_t *pkg)
 {
 	char *p = NULL;
make[2]: *** [check] Error 1


$ emerge --info
Portage 2.2_rc40 (hardened/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-rc6 x86_64)
=================================================================
System uname: Linux-2.6.31-rc6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 07 Sep 2009 01:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ftree-vectorize -ggdb -mtune=native -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -ftree-vectorize -ggdb -mtune=native -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests candy ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo"
LANG="sv_SE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="sv"
MAKEOPTS="-j25 -l10"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnome /usr/local/portage/layman/x11 /usr/local/portage/layman/hardened-development /usr/local/portage/mine /usr/local/portage/notify-osd-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 amr amrnb amrwb applet archive avahi bash-completion bluetooth bzip2 cairo ccache cdaudio cdda cdr cleartype cli consolekit cracklib crypt cups cxx dbus deskbar device-mapper devicekit devkit dhcpcd digitalradio djvu dmraid dri dts dvd dvdr dvi eds encode eselect evo exif faac fat fbcondecor ffmpeg fftw flac fuse gdbm gdm gif glib gmp gnome gnome-keyring gnutls gphoto2 gpm grammar graphite gsf gsm gstreamer gtk gudev hal hardened iconv iconvacl icu id3tag idn ieee1394 iptc isdnlog jabber java6 jingle jpeg jpeg2k justify kvm lcms libnotify logrotate lvm mad maps math matroska mktemp mms mmx mmxext moonlight mp2 mp3 mpeg mpi msn mtp mudflap multilib musepack musicbrainz nautilus ncurses network-cron networkmanager nfs nls nptl nptlonly ntfs offensive ogg opencore-amr opengl openmp openntpd ots pam pango parted pcre pdf perl pic pidgin png policykit pppd pulseaudio python qemu quicktime readline reflection samba session smp sms speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs test tex theora thesaurus threads tiff totem tracker truetype udev unicode upnp urandom usb userlocales v4l vhook videos vim-syntax vorbis x264 xcb xcomposite xmp xmpp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pinky 2009-12-03 22:15:52 UTC
Created attachment 211921 [details, diff]
fix first test error
Comment 2 Pinky 2009-12-03 22:43:15 UTC
Created attachment 211923 [details, diff]
fix test error , usign xmalloc instead of malloc
Comment 3 Pinky 2009-12-03 22:43:47 UTC
Created attachment 211925 [details, diff]
fix test error, space at end if line
Comment 4 Pinky 2009-12-03 22:56:02 UTC
Created attachment 211926 [details, diff]
test fix, remove missused blank lines betwen functions
Comment 5 Pinky 2009-12-03 22:56:35 UTC
please send someone this patches upstrem
Comment 6 SpanKY gentoo-dev 2009-12-05 10:01:40 UTC
ive committed the simple xmalloc change.  the rest were already fixed in cvs at some point.
Comment 7 SpanKY gentoo-dev 2009-12-05 23:50:37 UTC
*** Bug 295815 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2009-12-07 13:38:25 UTC
*** Bug 295924 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2010-01-05 02:59:48 UTC
*** Bug 298962 has been marked as a duplicate of this bug. ***
Comment 10 solar (RETIRED) gentoo-dev 2010-01-08 18:19:04 UTC
*** Bug 300168 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2010-01-10 01:07:15 UTC
*** Bug 300303 has been marked as a duplicate of this bug. ***
Comment 12 Lie Ryan 2010-01-12 09:12:23 UTC
Created attachment 216166 [details]
updated ebuild

attached is an ebuild applying this patch, download the ebuild and the Manifest to your overlay directory and the put the patches files/*.patch

It has been a year since the bug opened and fixed upstream but they haven't made any release yet since then; until then this ebuild may help emerge going.
Comment 13 Lie Ryan 2010-01-12 09:12:46 UTC
Created attachment 216167 [details]
udated Manifest
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2010-01-28 18:34:05 UTC
*** Bug 302659 has been marked as a duplicate of this bug. ***
Comment 15 SpanKY gentoo-dev 2010-06-08 04:48:38 UTC
*** Bug 321221 has been marked as a duplicate of this bug. ***