Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56623 closed defect (fixed)

make test fails: *** No rule to make target `../cregistry/cregistry.a', needed by `registry.dylib'. Stop.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone: MacPorts 2.5.3
Component: base Version: 2.5.2
Keywords: Cc:
Port:

Description

make test fails if make has not previously been run.

$ make test
===> making test in vendor
make[1]: Nothing to be done for `test'.
===> making test in src
===> making test in src/compat
make[2]: Nothing to be done for `test'.
===> making test in src/cregistry
make[2]: Nothing to be done for `test'.
===> making test in src/registry2.0
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common registry.c -o registry.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common util.c -o util.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common entry.c -o entry.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common entryobj.c -o entryobj.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common file.c -o file.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common fileobj.c -o fileobj.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common portgroup.c -o portgroup.o
clang -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic   -DHAVE_CONFIG_H -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I/Users/rschmidt/macports/macports-base-ryandesign-fork/src -I. -I/Users/rschmidt/macports/macports-base-ryandesign-fork/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common portgroupobj.c -o portgroupobj.o
make[2]: *** No rule to make target `../cregistry/cregistry.a', needed by `registry.dylib'.  Stop.
make[1]: *** [test] Error 1
make: *** [test] Error 1

Change History (3)

comment:1 Changed 6 years ago by raimue (Rainer Müller)

Owner: set to raimue
Resolution: fixed
Status: newclosed

In fd5d30e0d1b5d08876cf6779d788d4731159ae2e/macports-base (master):

cregistry: Build 'all' as a dependency of 'test'

cregistry.a is a dependency needed by other modules. Although the test
target is empty, we need to build it to ensure running 'make test'
always works.

Closes: #56623

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.5.3

comment:3 Changed 6 years ago by raimue (Rainer Müller)

In 8b63849e685d401925af4983dd87a45e0d6b8418/macports-base (release-2.5):

cregistry: Build 'all' as a dependency of 'test'

cregistry.a is a dependency needed by other modules. Although the test
target is empty, we need to build it to ensure running 'make test'
always works.

Closes: #56623
(cherry picked from commit fd5d30e0d1b5d08876cf6779d788d4731159ae2e)

Note: See TracTickets for help on using tickets.