Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails #6

Open
trebmuh opened this issue Dec 31, 2021 · 1 comment
Open

build fails #6

trebmuh opened this issue Dec 31, 2021 · 1 comment

Comments

@trebmuh
Copy link

trebmuh commented Dec 31, 2021

Trying to build from GIT head development 48cb0d1 , 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 <[email protected]>' \\: 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
Copy link
Member

bill-auger commented Feb 3, 2022

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 dd9e6b0 - 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) 8231a74 - 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 dd9e6b0 - probably needs some more work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants