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

bootstrap.sh fails on Mageia x86-64 v6 #1

Open
shlomif opened this issue Jun 16, 2017 · 44 comments
Open

bootstrap.sh fails on Mageia x86-64 v6 #1

shlomif opened this issue Jun 16, 2017 · 44 comments
Labels
build Issues related to the build process

Comments

@shlomif
Copy link

shlomif commented Jun 16, 2017

Hi!

On Mageia x86-64 v6 ( see http://www.mageia.org/en/ ) running bootstrap.sh gives me the following output and seeks input:

+ '[' '!' -e /zzz ']'
+ mkdir -p work
+ cd work
++ pwd
+ WD=/home/shlomif/Download/unpack/to-del/gimp-appimage/work
+ prefix=/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst
+ export PATH=/zzz/bin:/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/perl/modules/bin:/opt/valgrind-trunk/bin:/home/shlomif/apps/latemp/bin:/home/shlomif/apps/quadpres/bin:/home/shlomif/apps/wml/bin:/home/shlomif/bin:/home/shlomif/Download/unpack/file/fzf/fzf/bin:/home/shlomif/apps/neovim/bin:/home/shlomif/apps/fop/fop-20140425:/home/shlomif/apps/vim/bin:/home/shlomif/apps/gwenview/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/perl/modules/bin:/opt/valgrind-trunk/bin:/home/shlomif/apps/latemp/bin:/home/shlomif/apps/quadpres/bin:/home/shlomif/apps/wml/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin
+ PATH=/zzz/bin:/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/perl/modules/bin:/opt/valgrind-trunk/bin:/home/shlomif/apps/latemp/bin:/home/shlomif/apps/quadpres/bin:/home/shlomif/apps/wml/bin:/home/shlomif/bin:/home/shlomif/Download/unpack/file/fzf/fzf/bin:/home/shlomif/apps/neovim/bin:/home/shlomif/apps/fop/fop-20140425:/home/shlomif/apps/vim/bin:/home/shlomif/apps/gwenview/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/perl/modules/bin:/opt/valgrind-trunk/bin:/home/shlomif/apps/latemp/bin:/home/shlomif/apps/quadpres/bin:/home/shlomif/apps/wml/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin
+ export LD_LIBRARY_PATH=/zzz/lib:/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/lib:
+ LD_LIBRARY_PATH=/zzz/lib:/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/lib:
+ '[' '!' -e /home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/bin ']'
+ cd /home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/bin
+ rm -f automake-1.11
++ which automake
+ ln -s /usr/bin/automake automake-1.11
+ export CHECKOUTROOT=/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources
+ CHECKOUTROOT=/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources
+ export BUILDROOT=/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build
+ BUILDROOT=/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build
+ jhbuild -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/../gimp.jhbuildrc -m /home/shlomif/Download/unpack/to-del/gimp-appimage/work/../modulesets/gimp.modules build gettext
�[1m*** Checking out gettext *** [1/1]�[m�
�[1m*** Skipping gettext (package and dependencies not updated) *** [1/1]�[m�
�[1m*** success *** [1/1]�[m�
+ jhbuild -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/../gimp.jhbuildrc -m /home/shlomif/Download/unpack/to-del/gimp-appimage/work/../modulesets/gimp.modules build gimp-bootstrap
W: glib has a dependency on unknown "gtk-doc" module
W: Circular dependencies detected: gimp-bootstrap -> librsvg -> glib -> shared-mime-info -> glib
W: gdk-pixbuf has a dependency on unknown "gobject-introspection" module
W: freetype-no-harfbuzz has a dependency on unknown "zlib" module
W: cairo has a dependency on unknown "gtk-doc" module
W: pango has a dependency on unknown "gobject-introspection" module
W: gimp-bootstrap has a dependency on unknown "python2" module
autoreconf: 'configure.ac' or 'configure.in' is required
�[1m*** Checking out liblzma *** [1/26]�[m�
�[1m*** Skipping liblzma (package and dependencies not updated) *** [1/26]�[m�
�[1m*** Checking out json-c *** [2/26]�[m�
�[1m*** Configuring json-c *** [2/26]�[m�
/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/json-c-0.12.1/autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc 
�[1m*** Error during phase configure of json-c: ########## Error running /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/json-c-0.12.1/autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc  *** [2/26]�[m�

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: invalid choice

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [

Please look into fixing it and let me know if I can prove of further help.

@aferrero2707
Copy link
Owner

aferrero2707 commented Jun 16, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 17, 2017

@aferrero2707 : hi! Sorry for the late reply. I noticed that I have work/sources/json-c-0.12.1/ unpacked and it still happens.

@aferrero2707
Copy link
Owner

I have changed the json-c package. Could you try to do a git pull in your gimp-appimage folder and re-run the bootstrap.sh script?

Thanks!

@shlomif
Copy link
Author

shlomif commented Jun 17, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 17, 2017 via email

@aferrero2707
Copy link
Owner

Could you try to delete the previous json-c source folder before running bootstrap.sh?

rm -rf work/sources/json-c-0.12.1

This worked on my test system...

@shlomif
Copy link
Author

shlomif commented Jun 17, 2017 via email

@aferrero2707
Copy link
Owner

I hopefully found the true reason for the failure on json-c package (out-of-source builds not supported).

Could you make again a git pull and then run bootstrap.sh, whenever you can?

Thanks!

@aferrero2707
Copy link
Owner

I just committed few more fixes, so you should re-do a git pull just to be sure...

I re-compiled everything from scratch and all was downloaded and built correctly this time.

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017

I should note that after installing nasm in /usr/bin, the ./boostrap.sh invocation appears to succeed:

libtool: install: warning: `../../src/liblcms2.la' has not been installed in `/zzz/lib'
libtool: install: /usr/bin/install -c .libs/psicc /zzz/_jhbuild/root-lcms/zzz/bin/psicc
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/utils/psicc'
make[1]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/utils/psicc'
Making install in testbed
make[1]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/testbed'
make[2]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/testbed'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/testbed'
make[1]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8/testbed'
make[1]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8'
make[2]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8'
 /usr/bin/mkdir -p '/zzz/_jhbuild/root-lcms/zzz/lib/pkgconfig'
 /usr/bin/install -c -m 644 lcms2.pc '/zzz/_jhbuild/root-lcms/zzz/lib/pkgconfig'
make[2]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8'
make[1]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/lcms2-2.8'
I: Deleting .la file: u'/zzz/_jhbuild/root-lcms/zzz/lib/liblcms2.la'
I: Moving temporary DESTDIR u'/zzz/_jhbuild/root-lcms' into build prefix
I: Install complete: 13 files copied
*** success *** [12/12]
shlomif@telaviv1:~/Download/unpack/to-del/gimp-appimage$ 

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017

Now ./build.sh gimp-appimage gives me this:

checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for flex... no
checking for lex... no
configure: error: flex not found but required
*** Error during phase configure of gobject-introspection: ########## Error running ./autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc  *** [11/57]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017

After installing flex and bison, I am getting this:

remote: Counting objects: 30422, done.
remote: Compressing objects: 100% (6142/6142), done.
remote: Total 30422 (delta 24777), reused 29533 (delta 24220)
Receiving objects: 100% (30422/30422), 6.80 MiB | 1.94 MiB/s, done.
Resolving deltas: 100% (24777/24777), done.
git remote set-url origin git://git.gnome.org/pango
git remote update origin
Fetching origin
git rebase origin/pango-1-36
Current branch pango-1-36 is up to date.
*** Configuring pango *** [12/57]
./autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc
which: no gtkdocize in (/zzz/bin:/home/shlomif/Download/unpack/to-del/gimp-appimage/work/inst/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/perl/modules/bin:/opt/valgrind-trunk/bin:/home/shlomif/apps/latemp/bin:/home/shlomif/apps/quadpres/bin:/home/shlomif/apps/wml/bin:/home/shlomif/Download/unpack/file/fzf/fzf/bin:/home/shlomif/apps/neovim/bin:/home/shlomif/apps/fop/fop-20140425:/home/shlomif/apps/vim/bin:/home/shlomif/apps/gwenview/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin)
*** No GTK-Doc found, please install it ***
*** Error during phase configure of pango: ########## Error running ./autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc  *** [12/57]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"

this reminds me of http://www.retrologic.com/jargon/W/whack-a-mole.html .

@shlomif
Copy link
Author

shlomif commented Jun 18, 2017

after installing gtk-doc, I am getting this error - no idea how to fix it:

W: gimp-std has a dependency on unknown "bzip2_" module
W: glib has a dependency on unknown "gtk-doc" module
W: Circular dependencies detected: gimp-appimage -> gimp -> gimp-std -> gtk+ -> glib -> shared-mime-info -> glib
W: freetype-no-harfbuzz has a dependency on unknown "zlib" module
W: cairo has a dependency on unknown "gtk-doc" module
W: gegl-std has a dependency on unknown "librsvg_" module
Fetching origin
Current branch glib-2-48 is up to date.
Fetching origin
Current branch master is up to date.
Fetching origin
Current branch gnome-3-20 is up to date.
Fetching origin
Current branch pango-1-36 is up to date.
configure: WARNING: unrecognized options: --disable-Werror, --enable-introspection, --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.8
configure: autobuild hostname... telaviv1.shlomifish.org
configure: autobuild timestamp... 20170618-223714
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for ar... ar
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... (cached) ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for windres... no
checking for cc for build... gcc
checking whether NLS is requested... yes
checking for msgfmt... /zzz/bin/msgfmt
checking for gmsgfmt... /zzz/bin/msgfmt
checking for xgettext... /zzz/bin/xgettext
checking for msgmerge... /zzz/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for strerror_r... (cached) yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating src/gpg-error-config
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --disable-Werror, --enable-introspection, --disable-gtk-doc

        Libgpg-error v1.8 has been configured as follows:

        Platform:  x86_64-unknown-linux-gnu


make  all-recursive
make[1]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8'
Making all in m4
make[2]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8/m4'
Making all in src
make[2]: Entering directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8/src'
gawk -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkstrtable.awk -v textidx=3 \
	/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/err-sources.h.in >err-sources.h
gawk -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkstrtable.awk -v textidx=3 \
	/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/err-codes.h.in >err-codes.h
gawk -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkerrnos.awk /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/errnos.in >code-to-errno.h
gawk -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkerrcodes1.awk /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/errnos.in >_mkerrcodes.h
gcc -E  _mkerrcodes.h | grep GPG_ERR_ | \
               gawk -f /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
gcc -I. -I/home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src -o mkerrcodes /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkerrcodes.c
In file included from /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/libgpg-error-1.8/src/mkerrcodes.c:26:0:
./mkerrcodes.h:9:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_E2BIG" },
     ^
./mkerrcodes.h:10:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EACCES" },
     ^
./mkerrcodes.h:11:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EADDRINUSE" },
     ^
./mkerrcodes.h:12:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EADDRNOTAVAIL" },
     ^
./mkerrcodes.h:13:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EADV" },
     ^
./mkerrcodes.h:14:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EAFNOSUPPORT" },
     ^
./mkerrcodes.h:15:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EAGAIN" },
     ^
./mkerrcodes.h:16:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EALREADY" },
     ^
./mkerrcodes.h:17:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADE" },
     ^
./mkerrcodes.h:18:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADF" },
     ^
./mkerrcodes.h:19:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADFD" },
     ^
./mkerrcodes.h:20:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADMSG" },
     ^
./mkerrcodes.h:21:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADR" },
     ^
./mkerrcodes.h:22:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADRQC" },
     ^
./mkerrcodes.h:23:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBADSLT" },
     ^
./mkerrcodes.h:24:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBFONT" },
     ^
./mkerrcodes.h:25:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EBUSY" },
     ^
./mkerrcodes.h:26:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECANCELED" },
     ^
./mkerrcodes.h:27:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECHILD" },
     ^
./mkerrcodes.h:28:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECHRNG" },
     ^
./mkerrcodes.h:29:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECOMM" },
     ^
./mkerrcodes.h:30:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECONNABORTED" },
     ^
./mkerrcodes.h:31:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECONNREFUSED" },
     ^
./mkerrcodes.h:32:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ECONNRESET" },
     ^
./mkerrcodes.h:33:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDEADLK" },
     ^
./mkerrcodes.h:34:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDEADLOCK" },
     ^
./mkerrcodes.h:35:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDESTADDRREQ" },
     ^
./mkerrcodes.h:36:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDOM" },
     ^
./mkerrcodes.h:37:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDOTDOT" },
     ^
./mkerrcodes.h:38:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EDQUOT" },
     ^
./mkerrcodes.h:39:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EEXIST" },
     ^
./mkerrcodes.h:40:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EFAULT" },
     ^
./mkerrcodes.h:41:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EFBIG" },
     ^
./mkerrcodes.h:42:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EHOSTDOWN" },
     ^
./mkerrcodes.h:43:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EHOSTUNREACH" },
     ^
./mkerrcodes.h:44:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EIDRM" },
     ^
./mkerrcodes.h:45:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EILSEQ" },
     ^
./mkerrcodes.h:46:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EINPROGRESS" },
     ^
./mkerrcodes.h:47:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EINTR" },
     ^
./mkerrcodes.h:48:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EINVAL" },
     ^
./mkerrcodes.h:49:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EIO" },
     ^
./mkerrcodes.h:50:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EISCONN" },
     ^
./mkerrcodes.h:51:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EISDIR" },
     ^
./mkerrcodes.h:52:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EISNAM" },
     ^
./mkerrcodes.h:53:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EL2HLT" },
     ^
./mkerrcodes.h:54:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EL2NSYNC" },
     ^
./mkerrcodes.h:55:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EL3HLT" },
     ^
./mkerrcodes.h:56:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EL3RST" },
     ^
./mkerrcodes.h:57:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELIBACC" },
     ^
./mkerrcodes.h:58:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELIBBAD" },
     ^
./mkerrcodes.h:59:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELIBEXEC" },
     ^
./mkerrcodes.h:60:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELIBMAX" },
     ^
./mkerrcodes.h:61:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELIBSCN" },
     ^
./mkerrcodes.h:62:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELNRNG" },
     ^
./mkerrcodes.h:63:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ELOOP" },
     ^
./mkerrcodes.h:64:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EMEDIUMTYPE" },
     ^
./mkerrcodes.h:65:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EMFILE" },
     ^
./mkerrcodes.h:66:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EMLINK" },
     ^
./mkerrcodes.h:67:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EMSGSIZE" },
     ^
./mkerrcodes.h:68:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EMULTIHOP" },
     ^
./mkerrcodes.h:69:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENAMETOOLONG" },
     ^
./mkerrcodes.h:70:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENAVAIL" },
     ^
./mkerrcodes.h:71:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENETDOWN" },
     ^
./mkerrcodes.h:72:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENETRESET" },
     ^
./mkerrcodes.h:73:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENETUNREACH" },
     ^
./mkerrcodes.h:74:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENFILE" },
     ^
./mkerrcodes.h:75:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOANO" },
     ^
./mkerrcodes.h:76:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOBUFS" },
     ^
./mkerrcodes.h:77:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOCSI" },
     ^
./mkerrcodes.h:78:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENODATA" },
     ^
./mkerrcodes.h:79:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENODEV" },
     ^
./mkerrcodes.h:80:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOENT" },
     ^
./mkerrcodes.h:81:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOEXEC" },
     ^
./mkerrcodes.h:82:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOLCK" },
     ^
./mkerrcodes.h:83:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOLINK" },
     ^
./mkerrcodes.h:84:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOMEDIUM" },
     ^
./mkerrcodes.h:85:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOMEM" },
     ^
./mkerrcodes.h:86:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOMSG" },
     ^
./mkerrcodes.h:87:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENONET" },
     ^
./mkerrcodes.h:88:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOPKG" },
     ^
./mkerrcodes.h:89:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOPROTOOPT" },
     ^
./mkerrcodes.h:90:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOSPC" },
     ^
./mkerrcodes.h:91:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOSR" },
     ^
./mkerrcodes.h:92:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOSTR" },
     ^
./mkerrcodes.h:93:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOSYS" },
     ^
./mkerrcodes.h:94:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTBLK" },
     ^
./mkerrcodes.h:95:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTCONN" },
     ^
./mkerrcodes.h:96:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTDIR" },
     ^
./mkerrcodes.h:97:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTEMPTY" },
     ^
./mkerrcodes.h:98:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTNAM" },
     ^
./mkerrcodes.h:99:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTSOCK" },
     ^
./mkerrcodes.h:100:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTSUP" },
     ^
./mkerrcodes.h:101:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTTY" },
     ^
./mkerrcodes.h:102:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENOTUNIQ" },
     ^
./mkerrcodes.h:103:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ENXIO" },
     ^
./mkerrcodes.h:104:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EOPNOTSUPP" },
     ^
./mkerrcodes.h:105:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EOVERFLOW" },
     ^
./mkerrcodes.h:106:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPERM" },
     ^
./mkerrcodes.h:107:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPFNOSUPPORT" },
     ^
./mkerrcodes.h:108:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPIPE" },
     ^
./mkerrcodes.h:109:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPROTO" },
     ^
./mkerrcodes.h:110:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPROTONOSUPPORT" },
     ^
./mkerrcodes.h:111:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EPROTOTYPE" },
     ^
./mkerrcodes.h:112:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ERANGE" },
     ^
./mkerrcodes.h:113:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EREMCHG" },
     ^
./mkerrcodes.h:114:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EREMOTE" },
     ^
./mkerrcodes.h:115:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EREMOTEIO" },
     ^
./mkerrcodes.h:116:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ERESTART" },
     ^
./mkerrcodes.h:117:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EROFS" },
     ^
./mkerrcodes.h:118:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESHUTDOWN" },
     ^
./mkerrcodes.h:119:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESOCKTNOSUPPORT" },
     ^
./mkerrcodes.h:120:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESPIPE" },
     ^
./mkerrcodes.h:121:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESRCH" },
     ^
./mkerrcodes.h:122:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESRMNT" },
     ^
./mkerrcodes.h:123:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESTALE" },
     ^
./mkerrcodes.h:124:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ESTRPIPE" },
     ^
./mkerrcodes.h:125:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ETIME" },
     ^
./mkerrcodes.h:126:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ETIMEDOUT" },
     ^
./mkerrcodes.h:127:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ETOOMANYREFS" },
     ^
./mkerrcodes.h:128:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_ETXTBSY" },
     ^
./mkerrcodes.h:129:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EUCLEAN" },
     ^
./mkerrcodes.h:130:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EUNATCH" },
     ^
./mkerrcodes.h:131:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EUSERS" },
     ^
./mkerrcodes.h:132:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EWOULDBLOCK" },
     ^
./mkerrcodes.h:133:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EXDEV" },
     ^
./mkerrcodes.h:134:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EXFULL" },
     ^
Makefile:871: recipe for target 'mkerrcodes' failed
make[2]: *** [mkerrcodes] Error 1
make[2]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8/src'
Makefile:317: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shlomif/Download/unpack/to-del/gimp-appimage/work/build/libgpg-error-1.8'
Makefile:247: recipe for target 'all' failed
make: *** [all] Error 2

@aferrero2707
Copy link
Owner

Thanks for digging further! Tomorrow I need to check my local copy of libgpg-error, to see if I have the same problem and why on my system the compiler does not issue an error...

I also need to check the problem with pango and gtk-doc, as I was assuming it can be compiled without it. Probably I still had the version provided by my system.

@aferrero2707
Copy link
Owner

./mkerrcodes.h is an auto-generated file, so I really do not know how this could be fixed and why it is not generated correctly on your system...

@aferrero2707
Copy link
Owner

Seems others had the same issue, and there is some fix...

openwrt/packages#1855
openwrt/packages#1983

@aferrero2707
Copy link
Owner

I just made a commit that introduces the patches suggested above. Hopefully this will allow to get past the libgpg-error package on all systems.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017 via email

@aferrero2707
Copy link
Owner

One more patch applied, taken from here.

Should allow to get past the error on libgcrypt...

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

Hi!

I got a new error now:


*** autogen not found. Will not link against libopts.
***
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking for struct iovec.iov_basea... no
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking stdatomic.h usability... yes
checking stdatomic.h presence... yes
checking for stdatomic.h... yes
checking for getrandom... no
checking for getentropy... no
checking for NETTLE... no
configure: error:
  ***
  *** Libnettle 3.1 was not found.

*** Error during phase configure of gnutls: ########## Error running ./configure --prefix /zzz --disable-Werror --with-included-libtasn1 --with-included-unistring --without-p11-kit --enable-introspection=no --disable-static --disable-gtk-doc  *** [31/57]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice:

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

Update: the build is proceeding after I installed the nettle-devel package.

@aferrero2707
Copy link
Owner

This will allow me to make a list of the basic dependencies that are supposed to be available on the system. Thanks for your patience!

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

@aferrero2707 : you're welcome. Please also check for their presence inside the scripts using GNU autoconf or a similar mechanism.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

And... another error:


checking for xgettext... /zzz/bin/xgettext
checking for msgmerge... /zzz/bin/msgmerge
checking for msgfmt... /zzz/bin/msgfmt
checking for gmsgfmt... /zzz/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.3
checking for XML::Parser... ok
checking for DBUS... yes
checking for GLIB... yes
checking for GOBJ... yes
checking for GIO... yes
checking for dlopen in -lc... no
checking for dlopen in -ldl... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XTestFakeKeyEvent in -lXtst... no
configure: error: Couldn't find the Xtst library. Check config.log
*** Error during phase configure of at-spi2-core: ########## Error running /home/shlomif/Download/unpack/to-del/gimp-appimage/work/sources/at-spi2-core/autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc  *** [45/57]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice:

@aferrero2707
Copy link
Owner

Indeed, all X libraries are not compiled from sources but taken from the system... so you are likely to get few of those missing X* libraries and have to install development packages.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

Now I am getting this:

*** Checking out nufraw *** [56/57]
gzip -dc "/home/shlomif/.cache/jhbuild/downloads/nufraw-0.39.tar.gz" | tar xf -
tar: nufraw-0.39/doc-pak: Cannot create symlink to ‘doc/’: File exists
tar: Exiting with failure status due to previous errors
jhbuild build: failed to unpack /home/shlomif/.cache/jhbuild/downloads/nufraw-0.39.tar.gz
shlomif@telaviv1:~/Download/unpack/to-del/gimp-appimage$

Thanks!

@aferrero2707
Copy link
Owner

aferrero2707 commented Jun 19, 2017

You are almost at the end, that is the last package...

I have no solution for this particular error, the nuFraw package seems to be broken due to a badly formed symlink. I had the same problem on my system.

Just try to re-run the build process with

./build.sh -n gimp-appimage

to skip the unpacking of the tar file.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

@aferrero2707 : thanks! Trying that now.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

@aferrero2707 : ok now I am getting this:



*** Skipping iso-codes (package and dependencies not updated) *** [51/57]
*** Skipping gimp-std (package and dependencies not updated) *** [52/57]
*** Skipping phfgimp (package and dependencies not updated) *** [54/57]
*** Skipping gtkimageview (package and dependencies not updated) *** [55/57]
*** Checking out nufraw *** [56/57]
*** Configuring nufraw *** [56/57]
./autogen.sh --prefix /zzz --disable-Werror  --enable-introspection=no --disable-static --disable-gtk-doc
running aclocal
running autoconf
running autoheader
running automake
configure.ac:6: installing './config.guess'
configure.ac:6: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am: installing './depcomp'
now run './configure --enable-contrast && make'
*** Building nufraw *** [56/57]
make -j 1 V=1
make: *** No targets specified and no makefile found.  Stop.
*** Error during phase build of nufraw: ########## Error running make -j 1 V=1  *** [56/57]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice:

@aferrero2707
Copy link
Owner

Uhmm... ok, there is a patch that should be applied to the nuFraw sources, but is skipped due to the -n option... maybe re-running

./build.sh gimp-appimage

will apply it correctly?

Otherwise we can for the moment skip nuFraw for testing the appimage you are building, at least until a find a better solution.

To skip nuFraw, just edit the

modulesets/gimp.modules

and delete the nufraw dependency from the gimp-appimage target. If you are not familiar with jhbuild, I can do that in the git repository instead.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

@aferrero2707 : thanks! I believe I removed nufraw from there and I am trying to run it now again. I got:


*** Checking out phfgimp *** [54/55]
git remote set-url origin https://github.com/aferrero2707/PhFGimp.git
git remote update origin
Fetching origin
git rebase origin/master
Current branch master is up to date.
*** Skipping phfgimp (package and dependencies not updated) *** [54/55]
*** success *** [55/55]

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

And now the third step gave me:

hlomif@telaviv1:~/Download/unpack/to-del/gimp-appimage$ ls -l out/
total 105176
-rwxr-xr-x 1 shlomif shlomif 107698712 Jun 19 22:25 GIMP_AppImage-2.9.5-20170619.glibc2.14-x86_64.AppImage
shlomif@telaviv1:~/Download/unpack/to-del/gimp-appimage$

yay!

@aferrero2707
Copy link
Owner

aferrero2707 commented Jun 19, 2017

Great!!! It's time to test the package:

./out/GIMP_AppImage-2.9.5-20170619.glibc2.14-x86_64.AppImage

Does it run?

Now, the cool thing is that you can update the package automatically whenever new commits are made in the BABL, GEGL or GIMP git repositories... all one needs to do is to run

./build.sh -t babl gimp-appimage

With this command, nothing will be re-compiled if all local git repositories are already up-to-date.

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

I "scp"ed the package to my local machine running fedora 26 x86-64, and ran it. GIMP started and is quite functional, but there's only one font available - both in the UI and the text tool - and it's a blocky monospace font reminiscient of old Motif GUIs. thanks!

@aferrero2707
Copy link
Owner

That's the same problem I also have with the RapidPhotoDownloader AppImage... I have to figure out how to properly include the fonts in the package. However, having it running is already a good starting point.

Have you tried to run my own package from here?

@shlomif
Copy link
Author

shlomif commented Jun 19, 2017

@aferrero2707 : thanks! No, I have not tried running your package yet.

@aferrero2707
Copy link
Owner

Could you also provide me your own AppImage package? I would like to check the font issue, as I have a similar problem with rapid-photo-downloader.

Also, I am very much interested to know if you see the same font problem with my own package...

Thanks!

@shlomif
Copy link
Author

shlomif commented Jun 22, 2017 via email

@shlomif
Copy link
Author

shlomif commented Jun 26, 2017

@aferrero2707 : I tried your package now and it uses the same font for the GUI but I noticed it has some other selectable fonts for drawing (which may also be the case for my own package).

@aferrero2707 aferrero2707 added the build Issues related to the build process label Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to the build process
Projects
None yet
Development

No branches or pull requests

2 participants