[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927739: FTBFS: undefined reference to `yylex'



Hi,

I was not able to reproduce this neither in sbuild nor on my local system and reproducible builds doesn't show failures either. Interestingly debuild asked for bison, whereas sbuild installs neither flex nor bison. Maybe we should add both as build dependencies..

Can you send a full build log and the versions of the installed build dependencies?

Cheers Jochen

* Sebastian Dröge <slomo@debian.org> [2019-04-22 12:33]:
Source: libkate
Version: 0.4.1-9
Severity: serious

Hi,

Something seems to have changed with flex, which causes the package to now
fail to build:

/bin/bash ../libtool  --tag=CC  --silent --mode=link gcc -Wall -W    -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/home/slomo/tmp/foo/libkate-0.4.1=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o kateenc kateenc-kateenc.o kateenc-kate_lexer.o kateenc-kate_parser.o kateenc-kpng.o ../lib/liboggkate.la ../lib/libkate.la -logg -lpng16 -lz -lfl
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status


Thanks!

-- System Information:
Debian Release: buster/sid
 APT prefers unstable
 APT policy: (700, 'unstable'), (500, 'unstable-debug'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature


Reply to: