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

Bug#687564: RFS: irstlm/5.80.01-1 -- [ITP] IRST Language Modeling Toolkit



* Giulio Paci <giuliopaci@gmail.com>, 2013-01-01, 23:54:
Unfortunately, get-orig-source doesn't work here:

$ ./debian/rules get-orig-source
debian/rules:61: warning: overriding recipe for target `get-orig-source'
/usr/share/cdbs/1/rules/upstream-tarball.mk:86: warning: ignoring old recipe for target `get-orig-source'
mkdir -p /temporary
mkdir: cannot create directory `/temporary': Permission denied
make: *** [get-orig-source] Error 1


On my system it happened a weird thing: I tried to run the same command as you and everything worked fine. So I checked if there was a new cdbs version, I updated it and then I was able to reproduce the error. Finally I reinstalled the same cdbs version that I had before, but the get-orig-source target was not working anymore.

Do you have any idea about why it worked and then stopped to work?

No idea, sorry.

In the meanwhile I fixed the problem: I missed DEB_ROOT declaration in the rules file, so I am very surprised that it worked on my system.

It works now, thanks.


I see some warnings in the build log. I haven't look into details, but at least breaking aliasing rules is undefined behavior, and therefore it must be fixed.

lmtable.cpp:726:30: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
lmtable.cpp:1614:21: warning: variable 'hit' set but not used [-Wunused-but-set-variable]
lmtable.cpp:1735:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
lmtable.cpp:2272:10: warning: variable 'tlk' set but not used [-Wunused-but-set-variable]
lmtable.cpp:1550:30: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:1450:33: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:1416:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:1421:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:785:33: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:513:39: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:616:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:620:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
lmtable.cpp:624:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
lmInterpolation.cpp:168:17: warning: converting 'false' to pointer type 'bool*' [-Wconversion-null]
lmInterpolation.cpp:95:37: warning: array subscript is above array bounds [-Warray-bounds]
ngramtable.h:671:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
util.cpp:70:18: warning: ignoring return value of 'int mkstemp(char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1518:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1674:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1329:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1510:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1145:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1194:19: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1041:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:729:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:886:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
mdiadapt.cpp:1002:17: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
n_gram.h:73:39: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow]
shiftlm.cpp:538:11: warning: variable 'history' set but not used [-Wunused-but-set-variable]
cplsa.cpp:285:10: warning: variable 'lastLL' set but not used [-Wunused-but-set-variable]
cplsa.cpp:365:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
compile-lm.cpp:183:16: warning: variable 'outtype' set but not used [-Wunused-but-set-variable]
quantize-lm.cpp:95:6: warning: unused parameter 'argc' [-Wunused-parameter]
quantize-lm.cpp:95:6: warning: unused parameter 'argv' [-Wunused-parameter]
quantize-lm.cpp:95:6: warning: unused parameter 'argi' [-Wunused-parameter]
tlm.cpp:516:34: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
tlm.cpp:530:30: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
plsa.cpp:233:23: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
plsa.cpp:252:53: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]

--
Jakub Wilk


Reply to: