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

sudo make install repeats the entire build #2432

Open
Sjors opened this issue Mar 2, 2019 · 4 comments
Open

sudo make install repeats the entire build #2432

Sjors opened this issue Mar 2, 2019 · 4 comments

Comments

@Sjors
Copy link
Contributor

Sjors commented Mar 2, 2019

On Ubuntu 18.04, starting from v0.6.3 I checked out v0.7.0 and then:

make

Which seemed to work fine. And then:

sudo make install

This started the whole configure and build process over again. This also takes a lot longer, so maybe make missed something? (I didn't try the executable)

@Sjors
Copy link
Contributor Author

Sjors commented Mar 2, 2019

Mmm, in fact, sudo make install ended up failing:

...
ccan-utf8.o: In function `_GLOBAL__sub_I_00099_0_utf8_decode':
/home/khadas/src/lightning/ccan/ccan/utf8/utf8.c:176: undefined reference to `__asan_init'
/home/khadas/src/lightning/ccan/ccan/utf8/utf8.c:176: undefined reference to `__asan_version_mismatch_check_v8'
collect2: error: ld returned 1 exit status
Makefile:388: recipe for target 'ccan/ccan/cdump/tools/cdump-enumstr' failed
make: *** [ccan/ccan/cdump/tools/cdump-enumstr] Error 1

so I did a make clean and then sudo make install was successful.

@Sjors
Copy link
Contributor Author

Sjors commented Mar 2, 2019

Ok, that got weirder. Starting lightningd failed with a very spooky "0 channels loaded from db". I nuked the source dir, did another ./configure --enable-developer, make and sudo make install. This time it went smoothly and lightningd started normally.

@ZmnSCPxj
Copy link
Collaborator

Is this still an issue?

@Sjors
Copy link
Contributor Author

Sjors commented Jan 31, 2020

I haven't seen the issue, but I also haven't used sudo for a while.

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