Comments (4)
Thank you for your reporting.
About the -Wunused-result
warning, in principle the return-value should be checked, although what we can do when ftruncate
failed is just printing some error message and terminating the program. Usually it works without error checkings unless some severe IO problems occur (e.g., disk error).
For the make check
problem, I confirmed the same problem occurs also in my environment (openSUSE 13.1). More investigation is needed.
About the manualdate.tex
problem, I would use LC_TIME=C date
to ensure the output format is always like 22 May 2014
, because -I
option is not in the POSIX specification, http://pubs.opengroup.org/onlinepubs/009695399/utilities/date.html. (But -d
is also not in the POSIX....)
The last one is easy to answer. You should use Format O3
(capital O), not Format 03
(zero). If you use the latter, it means the line size in the output should be 3, so FORM complained 3 is too small and corrected it to 39.
from form.
Thanks a lot for the quick answer. That clears things up for me. I leave it to you, when you want to close the issue.
from form.
I found the make check
problem is caused by automake >= 1.13. The following is a somewhat technical detail and you may jump to the last paragraph.
In automake >= 1.13, the default behaviour of the test suite was changed in an incompatible way (a parallel test harness). I prefer a serial test harness (because of its output behaviour and there is only one test program form.rb to be executed, i.e., a parallel test harness doesn't lead any parallelization in our test suite), so a simple workaround is adding serial-tests
option in AM_INIT_AUTOMAKE
. It resolves the problem in automake >= 1.13, but in automake < 1.12 serial-tests
is not available and causes another error.
To use serial-tests
with keeping backwards compatibility, I tried m4_ifndef([AM_PROG_INSTALL], [serial-tests])
and m4_ifdef([AM_EXTRA_RECURSIVE_TARGETS], [serial-tests])
found in https://lists.gnu.org/archive/html/automake/2013-01/msg00052.html and http://www.memoryhole.net/kyle/2014/01/automake_113s_parallel_harness.html, respectively, but both seem not to work in my environment.
An alternative way is check automake --version
by m4_esyscmd
as https://www.redhat.com/archives/libguestfs/2013-February/msg00102.html, but I don't like to do that because the command name of automake can differ from automake
. (And I can't find a way to get the automake command name in the m4-layer.)
As a consequence, a workaround for now is adding serial-tests
option in AM_INIT_AUTOMAKE
in configure.ac
manually if you use automake >= 1.13:
AM_INIT_AUTOMAKE([foreign 1.7 dist-bzip2 serial-tests])
(By the way, my commit 3d69423 is a fix of make check
about other stuff.)
from form.
All the problems here were resolved at least for typical environments, so I close the issue.
from form.
Related Issues (20)
- Populate the FORM Cookbook HOT 9
- Calling argument on polyratfun changes its ordering HOT 3
- How to access the Multiple Zeta Value Data Mine? HOT 3
- Test failure (Format broken) HOT 1
- Duplicated/wrong info in output header
- The current color.h is broken HOT 6
- [newbie] Derivative of polynomial of CTensors HOT 2
- "obsolete" warnings with the latest Autotools
- Hangs on GitHub Actions
- Wrong newline characters (CR+CR+LF) on Windows
- Substitute vector in inverse of scalar product HOT 5
- FindrNumber/TermRenumber related crash HOT 7
- No useful information for debugging hanging Github actions HOT 1
- 4.3.0 fails to build on 32bit HOT 9
- List of supported platforms HOT 6
- Gauge boson helicity or polarization vectors
- [CI] ParFORM issues with the Ubuntu 22.04 image
- Integer overflows in corner cases of moebius_ HOT 2
- Clarify extcmd.c license HOT 3
- Sum over two initially different indices HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from form.