You are not logged in.
PKGBUILD is here: https://gist.github.com/xgdgsc/b4dee613978bd3e96e23 .
It seem to fail between '1' and '2', which is ./autogen.sh, but I can run that when not using makepkg and makepkg does not give any useful information with the -L flag. What is wrong?
Offline
autogen.sh is returning an error code because "automake --add-missing --copy &>/dev/null" is failing. If you remove the redirect, it will tell you more.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:14: installing './install-sh'
automake: error: no 'Makefile.am' found for any configure outpuWell that' s the error after removing /dev/null.
Does anybody know the difference of environment in makepkg and outside for autoconf?
Offline
It's not a problem with your environment -- autogen.sh errors whether you use makepkg or not, you just don't get any feedback because of the redirect (you can check the exit code with 'echo $?').
You should open a bug report upstream, their configure.ac is incomplete. Looks like they're in the process of rewriting it though, so some feedback may be helpful.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
It's not a problem with your environment -- autogen.sh errors whether you use makepkg or not,
No. I only get error when run ./autogen.sh in makepkg, when I run that myself, there is no error.
Offline
Really? I'll be surprised if that's the case. Have you removed the redirect and/or checked the exit code?
./autogen.sh
echo $?0 = no error
1 = error
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Well, I' m not seeing the output. I updated the gist. Error below:
==> Making package: somoclu-git 208.c5ba668-1 (Fri Sep 5 21:27:45 CST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating somoclu git repo...
Fetching origin
==> Validating source files with sha512sums...
somoclu ... Skipped
==> Extracting sources...
-> Creating working copy of somoclu git repo...
Cloning into 'somoclu'...
done.
==> Starting pkgver()...
==> Removing existing pkg/ directory...
==> Starting build()...
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:14: installing './install-sh'
automake: error: no 'Makefile.am' found for any configure output
==> ERROR: A failure occurred in build().
Aborting...I don' t see the error code.
Last edited by xgdgsc (2014-09-05 14:07:52)
Offline
./autogen.sh
echo $?This won't work inside a PKGBUILD; makepkg exits as soon as autogen.sh returns non-zero. You need to run that in a shell outside of makepkg.
Offline
./autogen.sh echo $?This won't work inside a PKGBUILD; makepkg exits as soon as autogen.sh returns non-zero. You need to run that in a shell outside of makepkg.
Thanks, I understand now.
Offline
This is an upstream issue. They use *very* old style automake files. e.g. instead of AC_INIT should be used AM_INIT_AUTOMAKE (and I believe there are more autotools-related issues there).
UPD: It looks like AM_INIT_AUTOMAKE is needed in addition to AC_INIT. But better to check autotools documentation.
Last edited by anatolik (2014-09-06 04:35:19)
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline