Transcalc FTBFS with error "call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transcalc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: transcalc
Hi,
When compiling with gcc 4.3, transcalc FTBFS because of a call to an open function with only 2 parameters:
make[3]: Entering directory `/build/
cc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/
transcalc.c: In function 'read_config_file':
transcalc.c:182: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
transcalc.c:196: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
transcalc.c:197: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
transcalc.c:198: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
In function 'open',
inlined from 'running_
/usr/include/
make[3]: *** [transcalc.o] Error 1
Changed in transcalc: | |
assignee: | nobody → fabricesp |
status: | New → In Progress |
Changed in transcalc: | |
assignee: | fabricesp → nobody |
status: | In Progress → Confirmed |
Changed in transcalc: | |
status: | Fix Committed → Fix Released |
Good work.
Can you forward it upstream too and make use of https:/ /wiki.ubuntu. com/UbuntuDevel opment/ PatchTaggingGui delines the next time? :-)