[Bug 334035] [NEW] Transcalc FTBFS with error "call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments"

fabrice_sp coutadeurf at gmail.com
Tue Feb 24 21:00:51 UTC 2009


Public bug reported:

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/buildd/transcalc-0.14/src'
cc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -DDATADIR=\"/usr/share\"    -ggdb -O2 -Wall -c transcalc.c
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_for_first_time' at transcalc.c:149:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [transcalc.o] Error 1

** Affects: transcalc (Ubuntu)
     Importance: Undecided
     Assignee: fabrice_sp (fabricesp)
         Status: In Progress

** Changed in: transcalc (Ubuntu)
     Assignee: (unassigned) => fabrice_sp (fabricesp)
       Status: New => In Progress

-- 
Transcalc FTBFS with error "call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments"
https://bugs.launchpad.net/bugs/334035
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list