[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Plash] cvs head build failure on debian etch: 'AT_SYMLINK_NOFOLLOW' und
From: |
Timo Lindfors |
Subject: |
[Plash] cvs head build failure on debian etch: 'AT_SYMLINK_NOFOLLOW' undeclared |
Date: |
Fri, 05 Oct 2007 21:49:29 +0300 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
I tried to build plash cvs head on a debian etch system using
svn co svn://svn.gna.org/svn/plash/trunk plash
cd plash
wget ftp://ftp.gnu.org/gnu/glibc/glibc-2.3.6.tar.bz2
ftp://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.6.tar.bz2
ln -s debian-etch debian
script -c 'dpkg-buildpackage -rfakeroot -d' build.log
but the build failed with the errors
Error building obj/filesysobj-real.o
src/filesysobj-real.c: In function `real_file_chmod':
src/filesysobj-real.c:164: warning: implicit declaration of function `fchmodat'
src/filesysobj-real.c:181: warning: implicit declaration of function `openat'
src/filesysobj-real.c: In function `real_dir_traverse':
src/filesysobj-real.c:290: warning: implicit declaration of function `fstatat'
src/filesysobj-real.c:290: error: `AT_SYMLINK_NOFOLLOW' undeclared (first use
in this function)
src/filesysobj-real.c:290: error: (Each undeclared identifier is reported only
once
src/filesysobj-real.c:290: error: for each function it appears in.)
src/filesysobj-real.c: In function `real_dir_list':
src/filesysobj-real.c:357: warning: implicit declaration of function `fdopendir'
src/filesysobj-real.c:357: warning: assignment makes pointer from integer
without a cast
src/filesysobj-real.c: In function `real_dir_mkdir':
src/filesysobj-real.c:394: warning: implicit declaration of function `mkdirat'
src/filesysobj-real.c: In function `real_dir_symlink':
src/filesysobj-real.c:410: warning: implicit declaration of function `symlinkat'
src/filesysobj-real.c: In function `real_dir_rename':
src/filesysobj-real.c:426: warning: implicit declaration of function `renameat'
src/filesysobj-real.c: In function `real_dir_link':
src/filesysobj-real.c:446: warning: implicit declaration of function `linkat'
src/filesysobj-real.c: In function `real_dir_unlink':
src/filesysobj-real.c:465: warning: implicit declaration of function `unlinkat'
src/filesysobj-real.c: In function `real_dir_rmdir':
src/filesysobj-real.c:480: error: `AT_REMOVEDIR' undeclared (first use in this
function)
src/filesysobj-real.c: In function `real_symlink_readlink':
src/filesysobj-real.c:636: warning: implicit declaration of function
`readlinkat'
Traceback (most recent call last):
File "./make_objs.py", line 414, in ?
sys.exit(main(sys.argv[1:]))
File "./make_objs.py", line 402, in main
build(targets, logger)
File "./make_objs.py", line 367, in build
target.build()
File "./make_objs.py", line 159, in build
stderr=output)
File "./make_objs.py", line 47, in run_command
raise CommandFailedError("Return code %i: %s" %
__main__.CommandFailedError: Return code 1: gcc-3.3 -O1 -Wall -Igensrc -Isrc
-DENABLE_LOGGING -DPLASH_GLIB -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/i
nclude/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -c
src/filesysobj-real.c -o obj/filesysobj-real.o -MD -MF obj/filesysobj-real.o.d
make: *** [build] Error 1
Full build log is also available at
http://iki.fi/lindi/plash.cvs2007-10-05.build.log.gz
$ grep -r AT_REMOVEDIR /usr/include
/usr/include/linux/fcntl.h:#define AT_REMOVEDIR 0x200 /* Remove
directory instead of
suggests that linux/fcntl.h might need to be included but is it
correct to include it directly? man fstatat says that
#include <sys/stat.h>
should be sufficient but a simple example program shows that this does
not happen so maybe this is also a bug in the include files?
Please let me know if you can't reproduce the bug, I'm happy to
provide more info.
best regards,
Timo Lindfors
- [Plash] cvs head build failure on debian etch: 'AT_SYMLINK_NOFOLLOW' undeclared,
Timo Lindfors <=