View Issue Details

IDProjectCategoryView StatusLast Update
0006648gnunet-gtkbuild systempublic2020-11-16 10:08
Reporterphilipp Assigned Toschanzen  
PrioritynormalSeveritytrivialReproducibilityalways
Status feedbackResolutionopen 
PlatformLinuxOSnixosOS Versionnixos-unstable
Product Version0.14.0 
Target Version0.14.1 
Summary0006648: Build failure
Descriptiongnunet-gtk fails to build against a fresh gnunet-0.14.0 install with

checking for GNUnet core... --with-gnunet not specified
checking for gnunetutil >= 0.9.0... yes
checking GNUNET_CFLAGS... -I/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/include
checking GNUNET_LIBS... -L/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/lib -lgnunetutil
checking for gnunet/gnunet_conversation_service.h... no
checking for gnunet/gnunet_fs_service.h... no
configure: error: compiling gnunet-gtk requires GNUnet core headers
Steps To Reproduce* freshly install gnunet-0.14.0 with no prior version installed
* build gnunet-gtk-0.14.0 providing it's include dir in the GNUNET_CFLAGS
* build fails
Additional Informationhttps://github.com/NixOS/nixpkgs/pull/103896 Draft of PR with nix files
TagsNo tags attached.

Activities

philipp

2020-11-15 13:13

reporter  

gnunet-gtk-0.14.0-build.log (14,946 bytes)   
this derivation will be built:
  /nix/store/idycfqlpixh1rlg93k6qfsi70vpa144g-gnunet-gtk-0.14.0.drv
building '/nix/store/idycfqlpixh1rlg93k6qfsi70vpa144g-gnunet-gtk-0.14.0.drv'...
unpacking sources
unpacking source archive /nix/store/54w87i3imz2sja9g6z3qyqmzqx007mmk-gnunet-gtk-0.14.0.tar.gz
source root is gnunet-gtk-0.14.0
setting SOURCE_DATE_EPOCH to timestamp 1605317155 of file gnunet-gtk-0.14.0/po/vi.gmo
patching sources
patching script interpreter paths in pixmaps/icon-theme-installer
pixmaps/icon-theme-installer: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/pmrhk324fkidrm5ffd5jckb21s9zys6r-bash-4.4-p23/bin/bash"
configuring
fixing libtool script ./build-aux/ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/nnz4jxpyl2vgvc05g9l4k5rbl0295s9a-gnunet-gtk-0.14.0 --with-gnutls=/nix/store/kvpzhz44g6r4913swkyf8f6g74mybzd2-gnutls-3.6.15-bin
checking for a BSD-compatible install... /nix/store/kv03qrgw1l3lf7zrhvak22g891lba3k3-coreutils-8.32/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/kv03qrgw1l3lf7zrhvak22g891lba3k3-coreutils-8.32/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for strerror in -lcposix... no
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... /nix/store/rvivjpk43sp9f91zjbz6b6nrrn15xdxd-gnugrep-3.5/bin/grep
checking for egrep... /nix/store/rvivjpk43sp9f91zjbz6b6nrrn15xdxd-gnugrep-3.5/bin/grep -E
checking for ANSI C header files... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/0pk3sjg92jyvh4n19sqg7wcpw252ni5v-gnused-4.8/bin/sed
checking for fgrep... /nix/store/rvivjpk43sp9f91zjbz6b6nrrn15xdxd-gnugrep-3.5/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/kv03qrgw1l3lf7zrhvak22g891lba3k3-coreutils-8.32/bin/dd
checking how to truncate binary pipes... /nix/store/kv03qrgw1l3lf7zrhvak22g891lba3k3-coreutils-8.32/bin/dd bs=4096 count=1
./configure: line 7462: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
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 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... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for uid_t in sys/types.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /nix/store/929krjhxrkjifzlq0j76inray1bgkwwy-gettext-0.21/bin/msgfmt
checking for gmsgfmt... /nix/store/929krjhxrkjifzlq0j76inray1bgkwwy-gettext-0.21/bin/msgfmt
checking for xgettext... /nix/store/929krjhxrkjifzlq0j76inray1bgkwwy-gettext-0.21/bin/xgettext
checking for msgmerge... /nix/store/929krjhxrkjifzlq0j76inray1bgkwwy-gettext-0.21/bin/msgmerge
checking for ld used by gcc... ld
checking if the linker (ld) 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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for unistd.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for getpwnam... yes
checking whether _stati64 is declared... no
checking for libextractor... --with-extractor not specified
checking extractor.h usability... yes
checking extractor.h presence... yes
checking for extractor.h... yes
checking for EXTRACTOR_plugin_add_defaults in -lextractor... yes
checking for libqrencode... --with-qrencode not specified
checking qrencode.h usability... yes
checking qrencode.h presence... yes
checking for qrencode.h... yes
checking for gtk... checking for gtk+-3.0... yes
checking GTK_CFLAGS... -I/nix/store/f91sf2xjb7psnyl55s39djww76j4yvaw-gtk+3-3.24.23-dev/include/gtk-3.0 -I/nix/store/qb3z6apbxblx1971wgfcwkz69cwyv2d3-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include/glib-2.0 -I/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib/glib-2.0/include -I/nix/store/ac33bbqwwgf2hlzlhzf9l9ssnx8ibgll-cairo-1.16.0-dev/include/cairo -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include/freetype2 -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include -I/nix/store/6xizi900zrci7qypq0b9k9dpbn66rlyc-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/r2n4cs6qbzz52nj7jadjvj2sfjpj9f33-pango-1.47.0-dev/include/pango-1.0 -I/nix/store/hxzwymyqjw8azsxlk7kwx2njk7xhg2p1-harfbuzz-2.7.2-dev/include/harfbuzz
checking GTK_LIBS... -L/nix/store/r9lzagx1wj26wai3bwxykf8s0gvnrn5v-gtk+3-3.24.23/lib -L/nix/store/1xwi6g4hldcg5g2g6w50kczl13rarfjj-atk-2.36.0/lib -L/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib -L/nix/store/v2ql6945ymmgig4w7pdpqgbg6amm2ja7-cairo-1.16.0/lib -L/nix/store/j2il952rvjns6c1v1fcbjbfxmxdkvrs6-gdk-pixbuf-2.40.0/lib -L/nix/store/nq7ymd5nr3n182isw5lnjm5pasnfy30h-pango-1.47.0/lib -L/nix/store/jlw1wg9d8ndkwgpcppp760hl2v1p7sg0-harfbuzz-2.7.2/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... /nix/store/y03kn18w1jl52w7hf081ih89brk00qky-pkg-config-wrapper-0.29.2/bin/pkg-config
checking for GTK+ - version >= 3.22.0... yes (version 3.24.23)
checking for unique-3.0... yes
checking unique_CFLAGS... -I/nix/store/f91sf2xjb7psnyl55s39djww76j4yvaw-gtk+3-3.24.23-dev/include/gtk-3.0 -I/nix/store/qb3z6apbxblx1971wgfcwkz69cwyv2d3-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include/glib-2.0 -I/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib/glib-2.0/include -I/nix/store/ac33bbqwwgf2hlzlhzf9l9ssnx8ibgll-cairo-1.16.0-dev/include/cairo -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include/freetype2 -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include -I/nix/store/6xizi900zrci7qypq0b9k9dpbn66rlyc-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/r2n4cs6qbzz52nj7jadjvj2sfjpj9f33-pango-1.47.0-dev/include/pango-1.0 -I/nix/store/hxzwymyqjw8azsxlk7kwx2njk7xhg2p1-harfbuzz-2.7.2-dev/include/harfbuzz -I/nix/store/zwzbakqimj0brkfycgiv1vh6w84072cn-libunique3-3.0.2/include/unique-3.0
checking unique_LIBS... -L/nix/store/r9lzagx1wj26wai3bwxykf8s0gvnrn5v-gtk+3-3.24.23/lib -L/nix/store/1xwi6g4hldcg5g2g6w50kczl13rarfjj-atk-2.36.0/lib -L/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib -L/nix/store/v2ql6945ymmgig4w7pdpqgbg6amm2ja7-cairo-1.16.0/lib -L/nix/store/j2il952rvjns6c1v1fcbjbfxmxdkvrs6-gdk-pixbuf-2.40.0/lib -L/nix/store/nq7ymd5nr3n182isw5lnjm5pasnfy30h-pango-1.47.0/lib -L/nix/store/jlw1wg9d8ndkwgpcppp760hl2v1p7sg0-harfbuzz-2.7.2/lib -L/nix/store/zwzbakqimj0brkfycgiv1vh6w84072cn-libunique3-3.0.2/lib -lunique-3.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking gmodule.h usability... yes
checking gmodule.h presence... yes
checking for gmodule.h... yes
checking gtk/gtk.h usability... yes
checking gtk/gtk.h presence... yes
checking for gtk/gtk.h... yes
checking gdk/gdk.h usability... yes
checking gdk/gdk.h presence... yes
checking for gdk/gdk.h... yes
checking for Glade core... --with-glade not specified
checking for gladeui-2.0 >= 3.10.0... yes
checking GLADE_CFLAGS... -I/nix/store/f6ppsb5pfv5j0n3qlp4w8b22hlb2cwy7-glade-3.36.0/include/libgladeui-2.0 -I/nix/store/f91sf2xjb7psnyl55s39djww76j4yvaw-gtk+3-3.24.23-dev/include/gtk-3.0 -I/nix/store/qb3z6apbxblx1971wgfcwkz69cwyv2d3-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include -I/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev/include/glib-2.0 -I/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib/glib-2.0/include -I/nix/store/ac33bbqwwgf2hlzlhzf9l9ssnx8ibgll-cairo-1.16.0-dev/include/cairo -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include/freetype2 -I/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev/include -I/nix/store/6xizi900zrci7qypq0b9k9dpbn66rlyc-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/r2n4cs6qbzz52nj7jadjvj2sfjpj9f33-pango-1.47.0-dev/include/pango-1.0 -I/nix/store/hxzwymyqjw8azsxlk7kwx2njk7xhg2p1-harfbuzz-2.7.2-dev/include/harfbuzz -I/nix/store/2x6lbscvrcn40wim352dd3qdk4xcvgy8-libxml2-2.9.10-dev/include/libxml2
checking GLADE_LIBS... -L/nix/store/f6ppsb5pfv5j0n3qlp4w8b22hlb2cwy7-glade-3.36.0/lib -L/nix/store/r9lzagx1wj26wai3bwxykf8s0gvnrn5v-gtk+3-3.24.23/lib -L/nix/store/1xwi6g4hldcg5g2g6w50kczl13rarfjj-atk-2.36.0/lib -L/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2/lib -L/nix/store/v2ql6945ymmgig4w7pdpqgbg6amm2ja7-cairo-1.16.0/lib -L/nix/store/j2il952rvjns6c1v1fcbjbfxmxdkvrs6-gdk-pixbuf-2.40.0/lib -L/nix/store/nq7ymd5nr3n182isw5lnjm5pasnfy30h-pango-1.47.0/lib -L/nix/store/jlw1wg9d8ndkwgpcppp760hl2v1p7sg0-harfbuzz-2.7.2/lib -L/nix/store/dczf2l5x34ahm0yl7avcrad49w2kq69j-libxml2-2.9.10/lib -lgladeui-2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2
checking for gnutls... /nix/store/kvpzhz44g6r4913swkyf8f6g74mybzd2-gnutls-3.6.15-bin
checking gnutls/abstract.h usability... yes
checking gnutls/abstract.h presence... yes
checking for gnutls/abstract.h... yes
checking for gnutls_pubkey_import in -lgnutls... yes
checking for GNUnet core... --with-gnunet not specified
checking for gnunetutil >= 0.9.0... yes
checking GNUNET_CFLAGS... -I/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/include
checking GNUNET_LIBS... -L/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/lib -lgnunetutil
checking for gnunet/gnunet_conversation_service.h... no
checking for gnunet/gnunet_fs_service.h... no
configure: error: compiling gnunet-gtk requires GNUnet core headers
error: --- Error --- nix-build
builder for '/nix/store/idycfqlpixh1rlg93k6qfsi70vpa144g-gnunet-gtk-0.14.0.drv' failed with exit code 1; last 10 log lines:
  checking gnutls/abstract.h presence... yes
  checking for gnutls/abstract.h... yes
  checking for gnutls_pubkey_import in -lgnutls... yes
  checking for GNUnet core... --with-gnunet not specified
  checking for gnunetutil >= 0.9.0... yes
  checking GNUNET_CFLAGS... -I/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/include
  checking GNUNET_LIBS... -L/nix/store/5aff9gk0f6gy0ickgdfgrl4ng5y68ccq-gnunet-0.14.0/lib -lgnunetutil
  checking for gnunet/gnunet_conversation_service.h... no
  checking for gnunet/gnunet_fs_service.h... no
  configure: error: compiling gnunet-gtk requires GNUnet core headers
gnunet-gtk-0.14.0-build.log (14,946 bytes)   

schanzen

2020-11-16 09:45

manager   ~0017141

this is a very odd error where PKG_CHECK_MODULES finds gnunet, but a normal AC_CHECK_HEADERS does not.
The reason may be nix's sandbox. Try explicitly pointing to the directory using --with-gnunet=<gnunet prefix in sandbox>

schanzen

2020-11-16 10:08

manager   ~0017142

This does not seem like valid CFLAGS to me:

GNUNET_CFLAGS="${gnunet}/include";

You probably meant

GNUNET_CFLAGS="-I${gnunet}/include";

?

Maybe the erroneous CFLAGS also mess up detection IDK.

Issue History

Date Modified Username Field Change
2020-11-15 13:13 philipp New Issue
2020-11-15 13:13 philipp File Added: gnunet-gtk-0.14.0-build.log
2020-11-16 09:45 schanzen Note Added: 0017141
2020-11-16 09:45 schanzen Assigned To => schanzen
2020-11-16 09:45 schanzen Status new => feedback
2020-11-16 10:05 schanzen Target Version => 0.14.1
2020-11-16 10:08 schanzen Note Added: 0017142