[Bug 4871] New: libxml does not build with Ubuntu Intrepid
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Tue Nov 25 08:03:35 CET 2008
http://bugs.openembedded.net/show_bug.cgi?id=4871
Summary: libxml does not build with Ubuntu Intrepid
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2007.12
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: org.openembedded.stable
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: openembedded-dpe at temporaryforwarding.com
This error appears:
In function 'open',
inlined from 'xmlNanoHTTPSave__internal_alias' at nanohttp.c:1588:
/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
Changing
tmp/work/i686-linux/libxml2-native-2.6.29-r3/libxml2-2.6.29/nanohttp.c:1558 to
this fixed the problem for me (the 0666 parameter was missing):
fd = open(filename, O_CREAT | O_WRONLY, 0666);
The Ubuntu wiki explains why:
https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2
and see also the libxml changeset:
http://svn.gnome.org/viewvc/libxml2/trunk/nanohttp.c?r1=3655&r2=3656
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list