[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#731580: qpxtool: FTBFS on kfreebsd-*: error: 'int open(const char*, int, ...)' previously defined here



Source: qpxtool
Version: 0.7.1.002-6
Severity: serious
Justification: fails to build from source (but built successfully in the past)

qpxtool fails to build on kfreebsd-* with:
| g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2 -fPIC -DUSE_LIBPNG   -g -I. -I./include -I../include -D_FORTIFY_SOURCE=2  -c -o qpx_transport.o qpx_transport.cpp
| In file included from qpx_transport.cpp:15:0:
| /usr/include/x86_64-kfreebsd-gnu/bits/fcntl2.h: In function 'int open(const char*, int, ...)':
| ./include/qpx_transport.h:220:18: error: redefinition of 'int open(const char*, int, ...)'
|  #define open64   open
|                   ^
| In file included from /usr/include/fcntl.h:279:0,
|                  from qpx_transport.cpp:33:
| /usr/include/x86_64-kfreebsd-gnu/bits/fcntl2.h:41:1: error: 'int open(const char*, int, ...)' previously defined here
|  open (const char *__path, int __oflag, ...)
|  ^
| make[3]: *** [qpx_transport.o] Error 1

For a full build log see
https://buildd.debian.org/status/fetch.php?pkg=qpxtool&arch=kfreebsd-amd64&ver=0.7.1.002-6&stamp=1374582703

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature


Reply to: