libtexttools FTBFS on Lucid: open needs 3 arguments

Bug #503972 reported by Kamal Mostafa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtexttools (Debian)
Fix Released
Unknown
libtexttools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

http://launchpadlibrarian.net/36790961/buildlog_ubuntu-lucid-i386.libtexttools_2.0.5-2_FAILEDTOBUILD.txt.gz

[...]
cc -c -g -O2 -g -O2 -D_Bool=char C_code/system.c -o shared-obj/system.o -fPIC
C_code/system.c: In function 'CGetUNIX':
C_code/system.c:141: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
C_code/system.c: In function 'CNice':
C_code/system.c:167: warning: ignoring return value of 'nice', declared with attribute warn_unused_result
C_code/system.c: In function 'Crealtotalmem':
C_code/system.c:241: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
C_code/system.c:242: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
C_code/system.c: In function 'Crealfreemem':
C_code/system.c:252: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
C_code/system.c:253: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
C_code/system.c: In function 'Ctotalmem':
C_code/system.c:265: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
C_code/system.c:267: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
C_code/system.c:268: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
C_code/system.c: In function 'Cfreemem':
C_code/system.c:281: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
C_code/system.c:282: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
C_code/system.c:283: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:205,
                 from C_code/system.c:4:
In function 'open',
    inlined from 'CRunItForStdErr' at C_code/system.c:431:
/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
In function 'open',
    inlined from 'CRunIt' at C_code/system.c:389:
/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[1]: *** [shared-obj/system.o] Error 1

Related branches

Changed in libtexttools (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: New → In Progress
Changed in libtexttools (Ubuntu):
status: In Progress → Fix Committed
Changed in libtexttools (Ubuntu):
assignee: Kamal Mostafa (kamalmostafa) → nobody
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I have fixed this bug and submitted a merge proposal to Lucid (branch attached to this bug). The patch has been forwarded upstream to Debian.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libtexttools - 2.0.5-2ubuntu1

---------------
libtexttools (2.0.5-2ubuntu1) lucid; urgency=high

  * Fix FTBFS: add required open(O_CREAT) mode argument (LP: #503972)
 -- Kamal Mostafa <email address hidden> Wed, 06 Jan 2010 13:29:07 -0800

Changed in libtexttools (Ubuntu):
status: Fix Committed → Fix Released
Changed in libtexttools (Debian):
status: Unknown → New
Changed in libtexttools (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.