Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314831 - [patch] app-misc/lockfile-progs-0.1.13 runs tests with installed version
Summary: [patch] app-misc/lockfile-progs-0.1.13 runs tests with installed version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paweł Hajdan, Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 15:22 UTC by Dustin Polke
Modified: 2010-04-12 17:56 UTC (History)
0 users

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


Attachments
Diff to ${FILESDIR}/Makefile to fix tests (Makefile.diff,1.83 KB, patch)
2010-04-12 15:24 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2010-04-12 15:22:19 UTC
See $Subject. When trying to run tests with no version installed, emerge dies as follows:

 * lockfile-progs_0.1.13.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                        [ ok ]
 * checking lockfile-progs_0.1.13.tar.gz ;-) ...                                                                                                                                              [ ok ]
 * CPV:  app-misc/lockfile-progs-0.1.13
 * REPO: gentoo
 * USE:  arm elibc_glibc kernel_linux test userland_GNU
>>> Unpacking source...
>>> Unpacking lockfile-progs_0.1.13.tar.gz to /var/tmp/portage/app-misc/lockfile-progs-0.1.13/work
>>> Source unpacked in /var/tmp/portage/app-misc/lockfile-progs-0.1.13/work
>>> Preparing source in /var/tmp/portage/app-misc/lockfile-progs-0.1.13/work/sid ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/lockfile-progs-0.1.13/work/sid ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-misc/lockfile-progs-0.1.13/work/sid ...
make -j3 
cc -Os -march=armv5te -pipe -fomit-frame-pointer -ggdb   -c -o lockfile-progs.o lockfile-progs.c
cc -o lockfile-create -Os -march=armv5te -pipe -fomit-frame-pointer -ggdb -Wl,-O1 -Wl,--as-needed lockfile-progs.o -llockfile
>>> Source compiled.
>>> Test phase [test]: app-misc/lockfile-progs-0.1.13
make -j3 -j1 test 
lockfile-create testfile
make: lockfile-create: Command not found
make: *** [test] Error 127
 * ERROR: app-misc/lockfile-progs-0.1.13 failed:
 *   Make test failed. See above for details.

I will attach a diff to the copied Makefile to use the version in ${S}.
The inherit eutils line can be dropped as well as no function from that eclass is used in the ebuild.

Reproducible: Always
Comment 1 Dustin Polke 2010-04-12 15:24:58 UTC
Created attachment 227501 [details, diff]
Diff to ${FILESDIR}/Makefile to fix tests

If you need emerge --info, please let me know.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-04-12 17:56:25 UTC
Fixed in CVS, thanks for the report and the patch.