Bug#848012: glimpse: FTBFS: /usr/bin/ld: cannot find -lfl
Chris Lamb
lamby at debian.org
Tue Dec 13 07:17:57 UTC 2016
Source: glimpse
Version: 4.18.7-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Dear Maintainer,
glimpse fails to build from source in unstable/amd64:
[…]
build_in.c: At top level:
build_in.c:1459:1: warning: return type defaults to 'int' [-Wimplicit-int]
scanword(word, buffer, buffer_end, attr)
^~~~~~~~
build_in.c:1484:1: warning: return type defaults to 'int' [-Wimplicit-int]
merge_in(f1, f2, f3)
^~~~~~~~
build_in.c: In function 'merge_in':
build_in.c:1571:12: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration]
x = decode8b(src_index_buf[bdx1]);
^~~~~~~~
build_in.c:1577:9: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration]
x = decode12b(x);
^~~~~~~~~
build_in.c:1590:12: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration]
x = decode16b(x);
^~~~~~~~~
build_in.c:1595:12: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration]
x = decode24b(x);
^~~~~~~~~
build_in.c:1756:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=]
fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf);
^
build_in.c:1771:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=]
fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf);
^
build_in.c:1895:5: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
build_in.c:1484:1: note: declared here
merge_in(f1, f2, f3)
^~~~~~~~
build_in.c: At top level:
build_in.c:1898:1: warning: return type defaults to 'int' [-Wimplicit-int]
remove_filename(fileindex, new_partition)
^~~~~~~~~~~~~~~
build_in.c: In function 'remove_filename':
build_in.c:1901:60: warning: 'return' with no value, in function returning non-void
if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return;
^~~~~~
build_in.c:1898:1: note: declared here
remove_filename(fileindex, new_partition)
^~~~~~~~~~~~~~~
build_in.c: At top level:
build_in.c:1946:1: warning: return type defaults to 'int' [-Wimplicit-int]
get_new_index(deletedlist, oldfileindex)
^~~~~~~~~~~~~
build_in.c:1965:1: warning: return type defaults to 'int' [-Wimplicit-int]
delete_removed_indices(deletedlist)
^~~~~~~~~~~~~~~~~~~~~~
build_in.c:2239:1: warning: return type defaults to 'int' [-Wimplicit-int]
initialize_disable_list(files)
^~~~~~~~~~~~~~~~~~~~~~~
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 filetype.c
filetype.c: In function 'filetype':
filetype.c:71:6: warning: implicit declaration of function 'test_special_suffix' [-Wimplicit-function-declaration]
if (test_special_suffix(tempname)) {
^~~~~~~~~~~~~~~~~~~
filetype.c:100:6: warning: implicit declaration of function 'test_postscript' [-Wimplicit-function-declaration]
if (test_postscript(buffer, num_read)) {
^~~~~~~~~~~~~~~
filetype.c:109:18: warning: implicit declaration of function 'test_binary' [-Wimplicit-function-declaration]
BINARY = test_binary(buffer, num_read);
^~~~~~~~~~~
filetype.c:120:21: warning: implicit declaration of function 'test_uuencode' [-Wimplicit-function-declaration]
UUENCODED = test_uuencode(buffer, num_read);
^~~~~~~~~~~~~
filetype.c:129:5: warning: implicit declaration of function 'heavy_index' [-Wimplicit-function-declaration]
if(heavy_index(tempname, buffer, num_read)) {
^~~~~~~~~~~
filetype.c:137:5: warning: implicit declaration of function 'hqx' [-Wimplicit-function-declaration]
if(hqx(tempname, buffer, num_read)) {
^~~
filetype.c:154:17: warning: implicit declaration of function 'extract_info' [-Wimplicit-function-declaration]
*xinfo_len = extract_info(tempname, buffer, num_read, i, xinfo, MAX_LINE_LEN);
^~~~~~~~~~~~
filetype.c: At top level:
filetype.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int]
heavy_index(name, buffer, num_read)
^~~~~~~~~~~
filetype.c: In function 'heavy_index':
filetype.c:291:16: warning: implicit declaration of function 'hash4k' [-Wimplicit-function-declaration]
hash_value = hash4k(word, strlen(word));
^~~~~~
filetype.c: At top level:
filetype.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int]
hqx(name, buffer, num_read)
^~~
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 simpletest.c
simpletest.c:10:8: warning: type defaults to 'int' in declaration of 'UseFilters' [-Wimplicit-int]
extern UseFilters;
^~~~~~~~~~
simpletest.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int]
test_binary(buffer, length)
^~~~~~~~~~~
simpletest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int]
test_uuencode(buffer, length)
^~~~~~~~~~~~~
simpletest.c: In function 'test_uuencode':
simpletest.c:67:13: warning: implicit declaration of function 'memlook' [-Wimplicit-function-declaration]
i = memlook("\nbegin", buffer, length);
^~~~~~~
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 getword.c
getword.c: In function 'getword':
getword.c:245:11: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration]
*pattr = region_identify(ICurrentFileOffset, 0);
^~~~~~~~~~~~~~~
getword.c: At top level:
getword.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int]
set_indexable_char(indexable_char)
^~~~~~~~~~~~~~~~~~
getword.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int]
set_special_char(special_char)
^~~~~~~~~~~~~~~~
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 memlook.c
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 lib.c
lib.c:5:16: warning: conflicting types for built-in function 'strdup'
unsigned char *strdup(str)
^~~~~~
lib.c: In function 'strdup':
lib.c:12:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
len = strlen(str);
^~~~~~
lib.c:12:8: warning: incompatible implicit declaration of built-in function 'strlen'
lib.c:12:8: note: include '<string.h>' or provide a declaration of 'strlen'
lib.c:16:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(2);
^~~~
lib.c:16:3: warning: incompatible implicit declaration of built-in function 'exit'
lib.c:16:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 partition.c
partition.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int]
partition(dir_num, dir_name)
^~~~~~~~~
partition.c: In function 'partition':
partition.c:116:21: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration]
if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypat)) <= 0) return -1; /* exclude/include pattern search */
^~~~~~~~~~~~~
partition.c:128:27: warning: implicit declaration of function 'convert2agrepregexp' [-Wimplicit-function-declaration]
if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-1)) == 0) continue;
^~~~~~~~~~~~~~~~~~~
partition.c:182:6: warning: implicit declaration of function 'fsize' [-Wimplicit-function-declaration]
fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc, 0); /* the file names will be in name_list[]: NOT TOP LEVEL!!! Mar/11/96 */
^~~~~
partition.c: At top level:
partition.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int]
oldpartition(dir_num, dir_name)
^~~~~~~~~~~~
partition.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int]
save_data_structures()
^~~~~~~~~~~~~~~~~~~~
partition.c: In function 'save_data_structures':
partition.c:700:9: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration]
index=decode16b((src_index_buf[j+1] << 8) | (src_index_buf[j+2]));
^~~~~~~~~
In file included from glimpse.h:8:0,
from partition.c:3:
partition.c:702:12: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration]
putc(encode8b(index), i_out);
^
partition.c:784:15: warning: implicit declaration of function 'encode32b' [-Wimplicit-function-declaration]
offset = encode32b(part_size);
^~~~~~~~~
partition.c:818:18: warning: implicit declaration of function 'dump_mini' [-Wimplicit-function-declaration]
if (BuildTurbo) dump_mini(s);
^~~~~~~~~
partition.c:848:3: warning: null argument where non-null required (argument 1) [-Wnonnull]
fputs(LIST_GET(name_list, i), f_out);
^~~~~
partition.c:850:13: warning: null argument where non-null required (argument 1) [-Wnonnull]
offset += strlen(LIST_GET(name_list, i)) + 1;
^~~~~~
partition.c:890:36: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration]
if (!built_filename_hashtable) build_filename_hashtable(name_list, file_num);
^~~~~~~~~~~~~~~~~~~~~~~~
partition.c:899:16: warning: implicit declaration of function 'get_new_index' [-Wimplicit-function-declaration]
if ((index = get_new_index(deletedlist, e->index)) < 0) {
^~~~~~~~~~~~~
partition.c: At top level:
partition.c:934:1: warning: return type defaults to 'int' [-Wimplicit-int]
merge_splits()
^~~~~~~~~~~~
partition.c: In function 'merge_splits':
partition.c:1034:15: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration]
index = encode16b(decode8b(src_index_buf[j+1]));
^~~~~~~~~
partition.c:1034:25: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration]
index = encode16b(decode8b(src_index_buf[j+1]));
^~~~~~~~
partition.c:1052:6: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration]
get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in);
^~~~~~~~~~~~~~~~~
gcc -Wl,-z,relro -L../lib -o ../bin/buildcast buildcast.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl
gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DBUILDCAST=0 glimpse.c
glimpse.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int]
extern set_usemalloc(); /* compress/misc.c */
^~~~~~~~~~~~~
glimpse.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int]
cross_boundary(oldnum, newnum)
^~~~~~~~~~~~~~
glimpse.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
determine_sync()
^~~~~~~~~~~~~~
glimpse.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
glimpse.c: In function 'main':
glimpse.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration]
build_filename_hashtable((char *)NULL, 0);
^~~~~~~~~~~~~~~~~~~~~~~~
glimpse.c:201:13: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
return usage(1);
^~~~~
glimpse.c:536:2: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration]
partition(argc, argv);
^~~~~~~~~
glimpse.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration]
read_filters(INDEX_DIR, UseFilters);
^~~~~~~~~~~~
glimpse.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration]
initialize_tuncompress(string_file, freq_file, 0);
^~~~~~~~~~~~~~~~~~~~~~
glimpse.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration]
set_indexable_char(indexable_char);
^~~~~~~~~~~~~~~~~~
glimpse.c:847:19: warning: implicit declaration of function 'get_index_type' [-Wimplicit-function-declaration]
if ((indextype = get_index_type(s, &indexnumber, &indextype, &structuredindex, temp_rdelim)) < 0) {
^~~~~~~~~~~~~~
glimpse.c:865:13: warning: implicit declaration of function 'get_array_of_lines' [-Wimplicit-function-declaration]
file_num = get_array_of_lines(s, name_list, MaxNum24bPartition, 1);
^~~~~~~~~~~~~~~~~~
glimpse.c:866:2: warning: implicit declaration of function 'initialize_disable_list' [-Wimplicit-function-declaration]
initialize_disable_list(file_num);
^~~~~~~~~~~~~~~~~~~~~~~
glimpse.c:867:2: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration]
initialize_data_structures(file_num);
^~~~~~~~~~~~~~~~~~~~~~~~~~
glimpse.c:871:14: warning: implicit declaration of function 'get_table' [-Wimplicit-function-declaration]
part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; /* part_num INCLUDES last partition */
^~~~~~~~~
glimpse.c:873:7: warning: implicit declaration of function 'merge_splits' [-Wimplicit-function-declaration]
else merge_splits();
^~~~~~~~~~~~
glimpse.c:939:4: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration]
remove_filename(i, -1);
^~~~~~~~~~~~~~~
glimpse.c:969:2: warning: implicit declaration of function 'destroy_data_structures' [-Wimplicit-function-declaration]
destroy_data_structures();
^~~~~~~~~~~~~~~~~~~~~~~
glimpse.c:972:12: warning: implicit declaration of function 'oldpartition' [-Wimplicit-function-declaration]
if (-1 == oldpartition(argc, argv)) {
^~~~~~~~~~~~
glimpse.c:1000:37: warning: implicit declaration of function 'build_index' [-Wimplicit-function-declaration]
if (!DeleteFromIndex || FastIndex) build_index();
^~~~~~~~~~~
glimpse.c:1002:38: warning: implicit declaration of function 'purge_index' [-Wimplicit-function-declaration]
else if (PurgeIndex) new_file_num = purge_index();
^~~~~~~~~~~
glimpse.c:1021:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration]
destroy_filename_hashtable();
^~~~~~~~~~~~~~~~~~~~~~~~~~
glimpse.c:1030:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration]
cleanup();
^~~~~~~
glimpse.c:1031:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration]
save_data_structures();
^~~~~~~~~~~~~~~~~~~~
glimpse.c: At top level:
glimpse.c:1063:1: warning: return type defaults to 'int' [-Wimplicit-int]
cleanup()
^~~~~~~
glimpse.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int]
usage(flag)
^~~~~
gcc -Wl,-z,relro -L../lib -o ../bin/glimpseindex glimpse.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl
gcc -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o convert.o convert.c
convert.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int]
mem_name2element(pelement, file, len, filehash_buffer, filehash_index_buffer, files_used)
^~~~~~~~~~~~~~~~
convert.c: In function 'change_format':
convert.c:581:10: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
return usage();
^~~~~
gcc -Wl,-z,relro -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lm -ldl
make[2]: Leaving directory '«BUILDDIR»/index'
make[2]: Entering directory '«BUILDDIR»/dynfilters'
flex -F -8 htuml2txt.lex
gcc -O3 -fomit-frame-pointer -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c lex.yy.c
gcc -o htuml2txt lex.yy.o -lfl
/usr/bin/ld: cannot find -lfl
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'htuml2txt' failed
make[2]: *** [htuml2txt] Error 1
make[2]: Leaving directory '«BUILDDIR»/dynfilters'
Makefile:89: recipe for target 'build-sub' failed
make[1]: *** [build-sub] Error 2
make[1]: Leaving directory '«BUILDDIR»'
debian/rules:24: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glimpse.4.18.7-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 15749 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20161213/6eb12d7c/attachment-0001.obj>
More information about the Reproducible-bugs
mailing list