Package: emacs;
Reported by: badli al rashid <theothernighttheotherday <at> gmail.com>
Date: Mon, 5 May 2025 11:09:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: badli al rashid <theothernighttheotherday <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 78259 <at> debbugs.gnu.org Subject: bug#78259: callproc.c undeclared function Date: Tue, 6 May 2025 21:06:13 +0800
[Message part 1 (text/plain, inline)]
hi, i am unable to find. posix_spawn_file_actions_addchdir_np in the aosp spawn.h file. regards, badli Sent from Gmail On Tue, May 6, 2025, 19:37 badli al rashid < theothernighttheotherday <at> gmail.com> wrote: > i tried with make configure="--prefix=/opt/emacs CFLAGS='-O0 -g3'" from > the emac source the posix_spawn_file_actions_addchdir_np and it is a clean > source i did a "git clean -dxf". > > i will try to take a look at the header file. > > > Sent from Gmail > > On Tue, May 6, 2025, 19:12 Eli Zaretskii <eliz <at> gnu.org> wrote: > >> > From: badli al rashid <theothernighttheotherday <at> gmail.com> >> > Date: Tue, 6 May 2025 09:13:50 +0800 >> > Cc: 78259 <at> debbugs.gnu.org >> > >> > configure:33844: result: yes >> >> > configure:33850: checking for posix_spawn_file_actions_addchdir >> >> > configure:33850: gcc -o conftest -O0 -g3 -pthread -isystem >> > /data/data/com.termux/files/usr/include/librsvg-2.0 -isystem >> /data/data/com.termux/files/usr/include/cairo - >> > isystem /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/libxml2 - >> > isystem /data/data/com.termux/files/usr/include/pango-1.0 -isystem >> > /data/data/com.termux/files/usr/include/harfbuzz -isystem >> /data/data/com.termux/files/usr/include/pango-1.0 - >> > isystem /data/data/com.termux/files/usr/include/fribidi -isystem >> /data/data/com.termux/files/usr/include - >> > isystem /data/data/com.termux/files/usr/include/harfbuzz -isystem >> /data/data/com.termux/files/usr/include - >> > isystem /data/data/com.termux/files/usr/include/gdk-pixbuf-2.0 -isystem >> > /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/glib-2.0 -isystem >> > /data/data/com.termux/files/usr/lib/glib-2.0/include -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/cairo -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/freetype2 -isystem >> /data/data/com.termux/files/usr/include/libpng16 - >> > isystem /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/pixman-1 - >> > isystem /data/data/com.termux/files/usr/include/cairo -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/freetype2 -isystem >> /data/data/com.termux/files/usr/include/libpng16 - >> > isystem /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/pixman-1 >> > conftest.c -lsqlite3 -lX11 -L/data/data/com.termux/files/usr/lib >> -lcairo >&5 >> > ld.lld: error: undefined symbol: >> posix_spawn_file_actions_addchdir >> >> > >>> referenced by conftest.c:285 >> >> >> > >>> >> /data/data/com.termux/files/usr/tmp/conftest-987b5e.o:(main) >> >> > gcc: error: linker command failed with exit code 1 (use -v to >> see invocation) >> > configure:33850: $? = 1 >> >> > configure: failed program was: >> > >> > configure:33850: result: no >> configure:33856: checking >> > for posix_spawn_file_actions_addchdir_np >> configure:33856: gcc -o conftest - >> > O0 -g3 -pthread -isystem >> /data/data/com.termux/files/usr/include/librsvg-2.0 -isystem >> > /data/data/com.termux/files/usr/include/cairo -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/libxml2 -isystem >> /data/data/com.termux/files/usr/include/pango-1.0 - >> > isyste >> > m /data/data/com.termux/files/usr/include/harfbuzz -isystem >> > /data/data/com.termux/files/usr/include/pango-1.0 -is >> > ystem /data/data/com.termux/files/usr/include/fribidi -isystem >> /data/data/com.termux/files/usr/include -isystem >> > / >> > data/data/com.termux/files/usr/include/harfbuzz -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/gdk-pixbuf-2.0 -isystem >> /data/data/com.termux/files/usr/include - >> > isystem /data/data/com.termux/files/usr/include/glib-2.0 -isystem >> > /data/data/com.termux/files/usr/lib/glib-2.0/include -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/cairo -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/freetype2 -isystem >> /data/data/com.termux/files/usr/include/libpng16 - >> > isystem /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/pixman-1 - >> > isystem /data/data/com.termux/files/usr/include/cairo -isystem >> /data/data/com.termux/files/usr/include -isystem >> > /data/data/com.termux/files/usr/include/freetype2 -isystem >> /data/data/com.termux/files/usr/include/libpng16 - >> > isystem /data/data/com.termux/files/usr/include -isystem >> /data/data/com.termux/files/usr/include/pixman-1 >> > conftest.c -lsqlite3 -lX11 -L/data/data/com.termux/files/usr/lib >> -lcairo >&5 configure:33856: $? = 0 >> >> So the function does exist, but something is wrong with its prototype >> declaration in the spawn.h header file. I suggest to take a look at >> the spawn.h header file and see what it says about >> posix_spawn_file_actions_addchdir_np. Perhaps the prototype is >> guarded by some preprocessor directives or something? >> >> What was the exact 'configure' command you used to configure Emacs, >> and was that in a clean source tree? >> >>
[Message part 2 (text/html, inline)]
[spawn.h (text/x-chdr, attachment)]
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.