reasonml-old / yarn-pkg-config

GNU General Public License v2.0
2 stars 10 forks source link

Weird issue only the first time trying to install with `esy`. #3

Open jordwalke opened 6 years ago

jordwalke commented 6 years ago

Weird issue only the first time trying to install with esy. Second time it succeeds.

### ORIGINAL COMMAND: which pkg-config || (./configure --with-internal-glib --prefix $cur__install && make && make install)
### RENDERED COMMAND: which pkg-config || (./configure --with-internal-glib --prefix /Users/jwalke/.esy/3__________________________________________________________________/s/yarn_pkg_config-0.29.5-51d313a4 && make && make install)
### CWD: /Users/jwalke/.esy/3__________________________________________________________________/b/yarn_pkg_config-0.29.5-51d313a4
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
...
checking if gcc supports flag -Werror=format=2 in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-include-dirs in envvar CFLAGS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glib/Makefile
config.status: creating glib/libcharset/Makefile
config.status: creating glib/gnulib/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing glib/glibconfig.h commands
 cd . && /bin/sh /Users/jwalke/.esy/3__________________________________________________________________/b/yarn_pkg_config-0.29.5-51d313a4/missing automake-1.15 --gnu
/Users/jwalke/.esy/3__________________________________________________________________/b/yarn_pkg_config-0.29.5-51d313a4/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile.in] Error 1

There's some tools that check the mtimes to see if anything changed in the files since last built. If the files are touched, it will require automake etc. I think something is touching the mtimes.

jordwalke commented 6 years ago

Oh that would make sense since it copies the file to a build tree. I will change this package so that it changes all the last touched times before beginning the build.