FTBFS in latest archive rebuild test

Bug #247692 reported by Adam Conrad
2
Affects Status Importance Assigned to Milestone
nano
Unknown
Unknown
nano (Ubuntu)
Fix Released
High
Unassigned
Intrepid
Fix Released
High
Unassigned

Bug Description

Binary package hint: nano

nano fails to build in intrepid with the following errors:

In function 'open',
    inlined from 'write_file' at ../../src/files.c:1567:
/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 'write_file' at ../../src/files.c:1686:
/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]: *** [files.o] Error 1

A full build log can be found at: https://lists.ubuntu.com/archives/ubuntu-autotest/2008-July/019235.html

Adam Conrad (adconrad)
Changed in nano:
importance: Undecided → High
Revision history for this message
Jordi Mallach (jordi) wrote :

Adam, I'm not sure if using IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH is acceptable in both cases. Any tip on that?

Revision history for this message
Jordi Mallach (jordi) wrote :

I've added the attached patch to 2.0.7-3

Jordi Mallach (jordi)
Changed in nano:
status: New → Unknown
Revision history for this message
Steve Langasek (vorlon) wrote :

nano 2.0.7-3 synced, thanks!

Changed in nano:
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

Bug attachments

Remote bug watches

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