libninjam / gninjam

clone of the original gninjam codebase
GNU General Public License v2.0
1 stars 0 forks source link

build fails #6

Open trebmuh opened 2 years ago

trebmuh commented 2 years ago

Trying to build from GIT head development https://github.com/libninjam/gninjam/commit/48cb0d1c7ae4d811d32c9dc596b7c2238cc7eb6b , it fails with:

make[1]: Entering directory '/build/gninjam-0.1.2+20211231'
./autogen.sh && ./configure \
    --host=x86_64-linux-gnu \
    --build=x86_64-linux-gnu \
    --prefix=/usr \
    --mandir=\${prefix}/share/man \
    --infodir=\${prefix}/share/info \
    CFLAGS="-g -O2 -ffile-prefix-map=/build/gninjam-0.1.2+20211231=. -fstack-protector-strong -Wformat -Werror=format-security" \
    LDFLAGS="-Wl,-z,defs"
GNU Make 4.3 found
autoconf (GNU Autoconf) 2.69 found
automake (GNU automake) 1.16.3 found
aclocal-1.16: overwriting 'm4/pkg.m4' with '/usr/share/aclocal/pkg.m4'
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'
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

configure.ac:13: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
Patching file po/Makefile.in.in
./autogen.sh: 61: XGETTEXT_PATCH+=\t  --default-domain=gninjam \\: not found
./autogen.sh: 62: XGETTEXT_PATCH+=\n\t  --package-name=gNinjam \\: not found
./autogen.sh: 63: XGETTEXT_PATCH+=\n\t  --package-version=0.1.3 \\: not found
./autogen.sh: 64: XGETTEXT_PATCH+=\n\t  --copyright-holder='Tobias Gehrig <tobias@gehrignet.de>' \\: not found
./autogen.sh: 65: XGETTEXT_PATCH+=\n\t  --msgid-bugs-address='https://github.com/libninjam/gninjam/issues' \\|: not found
./autogen.sh: 67: MSGFMT_PATCH+=\n\tmsgcmp --use-untranslated --use-fuzzy $< $(GETTEXT_PACKAGE).pot \|\| \\: not found
./autogen.sh: 68: MSGFMT_PATCH+=\n\t  ! echo "[MAINTENANCE]: translation file '$<' requires attention": not found
./autogen.sh: 69: MSGFMT_PATCH+=\n\tfalse: not found
./autogen.sh: 70: MSGFMT_PATCH+=\n\t$(GMSGFMT) --check --use-fuzzy|: not found
./autogen.sh: 72: UPDATE_PO_PATCH+=\n\tmv $(GETTEXT_PACKAGE).pot{,.orig}: not found
./autogen.sh: 73: UPDATE_PO_PATCH+=\n\t$(MAKE) $(GETTEXT_PACKAGE).pot: not found
./autogen.sh: 74: UPDATE_PO_PATCH+=\n\tsed -i 's/# SOME DESCRIPTIVE TITLE./# gNinjam - Gtk client for NINJAM - translation template/' $(GETTEXT_PACKAGE).pot: not found
./autogen.sh: 75: UPDATE_PO_PATCH+=\n\tsed -i 's/# Copyright (C) YEAR /# Copyright (C) 2006-2008 /' $(GETTEXT_PACKAGE).pot: not found
./autogen.sh: 76: UPDATE_PO_PATCH+=\n\t! diff $(GETTEXT_PACKAGE).pot{,.orig} \| grep -Ev "[<>] \\\"POT-Creation-Date: " \&> \/dev\/null \|\| \\: not found
./autogen.sh: 77: UPDATE_PO_PATCH+=\n\t  ! echo "[MAINTENANCE]: translation template '$(GETTEXT_PACKAGE).pot' requires attention"|: not found
sed: -e expression #1, char 30: unterminated `s' command
sed: -e expression #1, char 16: unterminated `s' command
sed: -e expression #1, char 41: unterminated `s' command
bill-auger commented 2 years ago

i get those missing m4 files warnings (autoconf 2.71); but they may be harmless - i have no trouble with those sed commands - when i run autogen.sh, the final line is: "Patching file po/Makefile.in.in"

that patching section in autogen.sh is a WIP see dd9e6b09dc8f04ad0128ae66c6df668aef8b7e5a - you could try reverting that change

$ git checkout v0.1.2 autogen.sh

if that does not work, try these changes to autogen.sh and Makefile.am (or the entire patch maybe) 8231a74e9bfb52444dfc438e827f32b9966ea395 - that was a routine autotools upgrade - probably another is needed now

if the build complains about translations, that was the problem i was addressing in dd9e6b09dc8f04ad0128ae66c6df668aef8b7e5a - probably needs some more work