Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing is missing? #349

Closed
lhunath opened this issue Aug 11, 2017 · 3 comments
Closed

missing is missing? #349

lhunath opened this issue Aug 11, 2017 · 3 comments

Comments

@lhunath
Copy link

lhunath commented Aug 11, 2017

The Makefile seems to suggest there is supposed to be a tool called missing in the root. .gitignore ignores it, though. Consequently, make clean fails.

@lhunath lhunath closed this as completed Aug 11, 2017
@lhunath
Copy link
Author

lhunath commented Aug 11, 2017

lhunath@myst libjson-c 130$ make distclean
Making distclean in .
test -z "libjson-c.la " || rm -f libjson-c.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "json-c.pc json-c-uninstalled.pc" || rm -f json-c.pc json-c-uninstalled.pc
test . = "." || test -z "" || rm -f
rm -f config.h stamp-h1 json_config.h stamp-h2
rm -f libtool config.lt
rm -rf
rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
rm -f INSTALL test-driver tests/Makefile.in compile
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
Making distclean in tests
cd .. && /Applications/Xcode.app/Contents/Developer/usr/bin/make  am--refresh
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/lhunath/Documents/workspace/lyndir/MasterPassword/platform-darwin/External/libjson-c/missing aclocal-1.15
/bin/sh: /Users/lhunath/Documents/workspace/lyndir/MasterPassword/platform-darwin/External/libjson-c/missing: No such file or directory
make[2]: *** [aclocal.m4] Error 127
make[1]: *** [../aclocal.m4] Error 2
make: *** [distclean-recursive] Error 1

It appears the issue is that clean deletes missing before it still needs it for something else.

@lhunath lhunath reopened this Aug 11, 2017
@lhunath
Copy link
Author

lhunath commented Aug 11, 2017

Not sure why.. but when I avoid deleting these files by removing them from Makefile.am, distclean appears to start a new ./configure through automake. As I said, not sure why it's doing that. But something's funky with distclean:

Making distclean in tests
 cd . && /bin/sh /Users/lhunath/Documents/workspace/lyndir/MasterPassword/platform-darwin/External/libjson-c/missing automake-1.15 --gnu
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --disable-shared --prefix=/Users/lhunath/Documents/workspace/lyndir/MasterPassword/platform-darwin/External/libjson-c/libjson-c-osx --enable-strerror-override CFLAGS=-arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.8 -O2 -g -flto  LDFLAGS=-arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.8 -flto  --no-create --no-recursion

hawicz added a commit that referenced this issue Aug 31, 2017
…aning up everything, so add a local "really-clean" target that does so.
@hawicz
Copy link
Member

hawicz commented Aug 31, 2017

None of the clean targets that automake creates (not even maintainer-clean) are set up in a way to truly clean up all generated files, so we can't use them. Instead, I added a "really-clean" target which should do what's needed.

@hawicz hawicz closed this as completed Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants