This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19017] New: build failure in make subdirs=string tests=test-bcopy check


https://sourceware.org/bugzilla/show_bug.cgi?id=19017

            Bug ID: 19017
           Summary: build failure in make subdirs=string tests=test-bcopy
                    check
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: msebor at redhat dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

Attempting to build and/or run a subset of tests fails in some directories. 
For example, invoking make as shown below to build and run just the test-bcopy
test fails with the subsequent error.  This is because the Makefile in those
directories contains the following lines:

tests-special += $(objpfx)tst-svc-cmp.out
$(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out

Adding the .out file to the tests-special variable then unconditionally
attempts the create it but because the file depends on tst-svc.out which cannot
be derived from the value of the tests variable the recipe fails.

$ nice make subdirs=string tests=test-bcopy check
...
make[2]: *** No rule to make target
`/build/glibc-trunk/power8/string/tst-svc.out', needed by
`/build/glibc-trunk/power8/string/tst-svc-cmp.out'.  Stop.
make[2]: Leaving directory `/src/glibc-trunk/string'
make[1]: *** [string/tests] Error 2
make[1]: Leaving directory `/src/glibc-trunk'
make: *** [check] Error 2
make: Leaving directory `/build/glibc-trunk/power8'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]