FS#527 - Aide does not compile

Attached to Project: Arch Linux
Opened by Giannis Vrentzos (gvre) - Thursday, 11 March 2004, 23:15 GMT
Last edited by Dale Blount (dale) - Friday, 12 March 2004, 02:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gregor Ibic (gregor.ibic)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Aide does not compile and returns the following error:

[root@serv-01 aide]# cat build.log
==> Making package: aide (Fri Mar 12 01:21:05 EET 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of aide-0.10.tar.gz
==> Validating source files with MD5sums
aide-0.10.tar.gz ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf aide-0.10.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
loading cache ./config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=i686 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=i686 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for bison... (cached) bison -y
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for library containing syslog... (cached) none required
checking endianess... (cached) little
checking for byte typedef... (cached) no
checking for ushort typedef... (cached) yes
checking for ulong typedef... (cached) yes
checking for u16 typedef... (cached) no
checking for u32 typedef... (cached) no
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking for ANSI C header files... (cached) yes
checking for readdir... (cached) yes
checking for readdir_r... (cached) yes
checking for stricmp... (cached) no
checking for ustat... (cached) yes
checking for mmap... (cached) yes
checking for vsnprintf... (cached) yes
checking for syslog.h... (cached) yes
checking for ustat.h... (cached) yes
checking for acl-support... no
checking for zlib.h... (cached) yes
checking for gzdopen in -lz... (cached) yes
checking for regexec... (cached) yes
checking for regcomp... (cached) yes
checking for mhash_get_block_size in -lmhash... (cached) yes
checking for crypt in -lc... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for PostgresSQL support... no
creating ./config.status
creating Makefile
creating src/Makefile
creating po/Makefile
creating doc/Makefile
creating doc/aide.conf
creating aide.spec
creating config.h
config.h is unchanged
make all-recursive
make[1]: Entering directory `/var/abs/extra/system/aide/src/aide-0.10'
Making all in src
make[2]: Entering directory `/var/abs/extra/system/aide/src/aide-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I/var/abs/extra/system/aide/src/aide-0.10/src -I.. -I/usr/include -I/var/abs/extra/system/aide/src/aide-0.10/include -I/var/abs/extra/system/aide/src/aide-0.10 -I/var/abs/extra/system/aide/src/aide-0.10/src -static -march=i686 -O2 -pipe -static -c conf_lex.c
conf_lex.c: In function `conflex':
conf_lex.c:4728: error: `yy_prev_more_offset' undeclared (first use in this function)
conf_lex.c:4728: error: (Each undeclared identifier is reported only once
conf_lex.c:4728: error: for each function it appears in.)
make[2]: *** [conf_lex.o] Error 1
make[2]: Leaving directory `/var/abs/extra/system/aide/src/aide-0.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/extra/system/aide/src/aide-0.10'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed. Aborting...

Gvre
This task depends upon

Closed by  Dale Blount (dale)
Saturday, 13 March 2004, 04:59 GMT
Reason for closing:  Not a bug
Comment by Dale Blount (dale) - Friday, 12 March 2004, 02:11 GMT
Giannis,

Try downgrading your flex, we've seen this with other packages.
The old version is still available:
ftp://ftp.archlinux.org/current/flex-2.5.27-1.pkg.tar.gz
Comment by Giannis Vrentzos (gvre) - Friday, 12 March 2004, 16:04 GMT
That worked!!

Thanks,
Gvre

Loading...