retitle 673015 gprbuild: [hurd-i386 always,kfreebsd-i386 intermittent] could not create $DIRECTORY/auto.cgpr thanks
On kfreebsd-i386, I reproduced the build failure of libgtkada (the below is one big command line, word-wrapped for legibility): gprbuild -v debian/gtkada.gpr -XKIND=dynamic -R -j2 \ -XADAFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4" \ -XC_INCLUDE_DIRS="/usr/include/gtk-2.0 /usr/lib/i386-kfreebsd-gnu/gtk-2.0/include /usr/include/atk-1.0 /usr/include/cairo /usr/include/gdk-pixbuf-2.0 /usr/include/pango-1.0 /usr/include/gio-unix-2.0/ /usr/include/glib-2.0 /usr/lib/i386-kfreebsd-gnu/glib-2.0/include /usr/include/pixman-1 /usr/include/freetype2 /usr/include/libpng12 /usr/include/libart-2.0 /usr/include/gconf/2 /usr/include/gnome-keyring-1 /usr/include/dbus-1.0 /usr/lib/i386-kfreebsd-gnu/dbus-1.0/include /usr/include/libxml2 /usr/include/gail-1.0 /usr/include/libgnomeui-2.0 /usr/include/libgnome-2.0 /usr/include/libbonoboui-2.0 /usr/include/libgnomecanvas-2.0 /usr/include/gnome-vfs-2.0 /usr/lib/gnome-vfs-2.0/include /usr/include/orbit-2.0 /usr/include/libbonobo-2.0 /usr/include/bonobo-activation-2.0" \ -XCFLAGS="-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" -XLDFLAGS="-Wl,-z,relro -Wl,--as-needed" \ -Xgtkada_SOVERSION="2.24.1" \ -Xgtkglada_SOVERSION="2.24.1" \ -Xgnomeada_SOVERSION="2.24.1" GPRBUILD 2011 (Debian 2011-1) (20110419) (i486-kfreebsd-gnu) Copyright (C) 2004-2011, Free Software Foundation, Inc. gprconfig --batch -o /home/lbrenta/libgtkada-2.24.1/debian/build/obj-dynamic/auto.cgpr --target=x86-freebsd --config=c,, --config=ada,, gprbuild: could not create /home/lbrenta/libgtkada-2.24.1/debian/build/obj-dynamic/auto.cgpr So the culprit is, as noted before, gprconfig. Running gprconfig manually yields: $ gprconfig -v \ -o /home/lbrenta/libgtkada-2.24.1/debian/build/obj-dynamic/auto.cgpr \ --target=x86-freebsd --config=c,, --config=ada,, Parsing knowledge base at /usr/share/gprconfig Parsing file /usr/share/gprconfig/c.xml Parsing file /usr/share/gprconfig/compilers.xml languages: constant := Project File warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined warning: environment variable 'WIND_BASE' is not defined Parsing file /usr/share/gprconfig/cpp.xml Parsing file /usr/share/gprconfig/cross.xml Parsing file /usr/share/gprconfig/fortran.xml Parsing file /usr/share/gprconfig/gnat.xml Parsing file /usr/share/gprconfig/linker.xml Parsing file /usr/share/gprconfig/nocompiler.xml Parsing file /usr/share/gprconfig/targetset.xml Parsing file /usr/share/gprconfig/asm.xml Language c requires a compiler Language ada requires a compiler Only compilers matching target x86-freebsd will be preserved Will examine P /usr/local/bin Will examine P /usr/bin Will examine P /bin Will examine P /usr/local/games Will examine P /usr/games Foreach compiler in /usr/local/bin regexp=TRUE extra_dir=FALSE Foreach compiler in /usr/bin regexp=TRUE extra_dir=FALSE G++ is candidate: filename=g++ Segmentation fault The same when run in gdb: Program received signal SIGSEGV, Segmentation fault. 0x28675468 in __gnat_backtrace () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 (gdb) bt #0 0x28675468 in __gnat_backtrace () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #1 0x2866586e in system__traceback__call_chain () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #2 0x284f6e41 in ada__exceptions__call_chain () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #3 0x284f65a1 in ada__exceptions__exception_propagation__propagate_exceptionXn () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #4 0x284f72d5 in __gnat_raise_nodefer_with_msg () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #5 0x284f7363 in __gnat_raise_exception () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #6 0x285decb4 in gnat__expect__non_blocking_spawn () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #7 0x285dedc1 in gnat__expect__get_command_output () from /usr/lib/i386-kfreebsd-gnu/libgnat-4.6.so.1 #8 0x080c2495 in ?? () #9 0x080c4021 in ?? () #10 0x080c524d in ?? () #11 0x080c668b in ?? () #12 0x08082bc3 in ?? () #13 0x0804fb35 in ?? () #14 0x2874b52b in __libc_start_main () from /lib/i386-kfreebsd-gnu/libc.so.0.1 #15 0x0804fb69 in ?? () -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org