flatsurf / e-antic

Embedded algebraic number fields
https://flatsurf.github.io/e-antic/libeantic/
GNU Lesser General Public License v3.0
12 stars 11 forks source link

configure deletes file it itself depends on #127

Closed jengelh closed 4 years ago

jengelh commented 4 years ago
» git log -1
commit 8caf4d4d66f0a69becc53ea5b6f39d6f257ce513 (HEAD -> master, tag: 1.0.0-rc.1, origin/master, origin/HEAD)
Merge: 701ce42 4707d8d
Author: Vincent Delecroix <vincent.delecroix@u-bordeaux.fr>
Date:   Fri Sep 4 19:01:26 2020 +0200

    Merge pull request #122 from saraedum

    Compress cereal output

» git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
» ./bootstrap.sh 
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:15: installing './ar-lib'
configure.ac:15: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
configure.ac:64: error: required file 'upstream/patched/nf_init_randtest.c' not found
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
» git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    upstream/patched/nf_init_randtest.c

no changes added to commit (use "git add" and/or "git commit -a")

I don't as of yet know what deletes the file exactly, but removing the AC_REPLACE_FUNCS line from configure.ac makes the undesired file deletion stop as well.

videlec commented 4 years ago

How did you install https://github.com/wbhart/antic? Do you use a release or the git version?

jengelh commented 4 years ago

antic-0.2.2.tar.gz is used and installed to /usr (/usr/include/antic/nf.h /usr/include/antic/nf_elem.h /usr/include/antic/qfb.h /usr/lib64/libantic.so /usr/lib64/libantic.so.0) by way of an RPM package.

saraedum commented 4 years ago

@jengelh did you pull the submodules? Can you try to do a git submodule update --init first?