Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160767 - app-portage/portage-utils-cvs: make check fails
Summary: app-portage/portage-utils-cvs: make check fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 20:31 UTC by solar (RETIRED)
Modified: 2010-01-24 21:32 UTC (History)
0 users

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


Attachments
qfile-cvs-1.39.diff (qfile-cvs-1.39.diff,2.58 KB, patch)
2007-01-07 20:36 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2007-01-07 20:31:08 UTC
SpanKY/vapier@ added new source checking test to portage-utils with 
the last release. I failed to run said check before. Anyway I just 
ran it after a cvs commit from the bugs from this morn and notice 
the following. So in the future could we try to run a 
'make check' with our patches... 

Thanks in advance.


make check

....

FAIL: src.use.xfuncs
qfile.c:206:	if ((qfile_args = malloc(sizeof(qfile_args_t))) == NULL)
FAIL: src.style
qfile.c:216:	
qfile.c:218:		if (qfile_args->basenames != NULL 
qfile.c:221:		if (qfile_args->dirnames != NULL 
qfile.c:224:		if (qfile_args->realdirnames != NULL 
qfile.c:549:			snprintf(path, _Q_PATH_MAX, "%s/%s/%s", 
qfile.c:574:	} while(args_file != NULL && qargc == max_args);
make[2]: *** [check] Error 1
make[2]: Leaving directory `/var/cvsroot/gentoo-projects/portage-utils/tests/source'
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/cvsroot/gentoo-projects/portage-utils/tests'
make: *** [check] Error 2
Comment 1 solar (RETIRED) gentoo-dev 2007-01-07 20:36:47 UTC
Created attachment 105939 [details, diff]
qfile-cvs-1.39.diff

patch to make qfile pass make check.

solar@here /var/cvsroot/gentoo-projects/portage-utils $ cd tests/source/
solar@here /var/cvsroot/gentoo-projects/portage-utils/tests/source $ make 
./dotest
PASS: src.typos
PASS: src.obsolete.funcs
PASS: src.bad.constants
PASS: src.obsolete.headers
PASS: src.use.xfuncs
PASS: src.style
Comment 2 solar (RETIRED) gentoo-dev 2007-01-07 20:41:08 UTC
solar@here /var/cvsroot/gentoo-projects/portage-utils $ cvs ci -m "- make check should not fail. bug 160767" 
? scripts
/var/cvsroot/gentoo-projects/portage-utils/qfile.c,v  <--  qfile.c
new revision: 1.40; previous revision: 1.39