Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created February 15, 2013 14:27
Show Gist options
  • Save hiroyuki-sato/4960699 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/4960699 to your computer and use it in GitHub Desktop.
netatalk build failed when regenerate configure file.
%build
libtoolize --force
aclocal -I macros
automake --add-missing
autoconf
autoheader
make[1]: Entering directory `/home/arch/rpm/BUILD/netatalk-3.0.2'
Making all in libevent
make[2]: Entering directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
cd . && /bin/sh /home/arch/rpm/BUILD/netatalk-3.0.2/missing --run automake-1.11 --foreign Makefile
aclocal.m4:17: warning: this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.in:14: version mismatch. This is Automake 1.11.1,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.11.5. You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
WARNING: `automake-1.11' is probably too old. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
make[2]: Entering directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
/bin/mkdir -p ./include/event2
echo '/* event2/event-config.h' > include/event2/event-config.h
echo ' *' >> include/event2/event-config.h
echo ' * This file was generated by autoconf when libevent was built, and post-' >> include/event2/event-config.h
echo ' * processed by Libevent so that its macros would have a uniform prefix.' >> include/event2/event-config.h
echo ' *' >> include/event2/event-config.h
echo ' * DO NOT EDIT THIS FILE.' >> include/event2/event-config.h
echo ' *' >> include/event2/event-config.h
echo ' * Do not rely on macros in this file existing in later versions.'>> include/event2/event-config.h
echo ' */' >> include/event2/event-config.h
echo '#ifndef _EVENT2_EVENT_CONFIG_H_' >> include/event2/event-config.h
echo '#define _EVENT2_EVENT_CONFIG_H_' >> include/event2/event-config.h
sed -e 's/#define /#define _EVENT_/' \
-e 's/#undef /#undef _EVENT_/' \
-e 's/#ifndef /#ifndef _EVENT_/' < config.h >> include/event2/event-config.h
echo "#endif" >> include/event2/event-config.h
make all-recursive
make[3]: Entering directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
Making all in .
make[4]: Entering directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
CC event.lo
mv: cannot stat `.deps/event.Tpo': No such file or directory
make[4]: *** [event.lo] Error 1
make[4]: Leaving directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/arch/rpm/BUILD/netatalk-3.0.2/libevent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arch/rpm/BUILD/netatalk-3.0.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.nL9oOR (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.nL9oOR (%build)
[arch@angler0106 SPECS]$ cd /home/arch/rpm/BUILD/netatalk-3.0.2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment