Package: src:smartmontools
Version: 6.1+svn3812-1
Severity: serious
Tags: wheezy
User: debian-...@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-...@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-* buildds:

g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' 
-DSMARTMONTOOLS_SYSCONFDIR='"/etc"' 
-DSMARTMONTOOLS_DRIVEDBDIR='"/var/lib/smartmontools/drivedb"' 
-DSMARTMONTOOLS_SAVESTATES='"/var/lib/smartmontools/smartd."' 
-DSMARTMONTOOLS_ATTRIBUTELOG='"/var/lib/smartmontools/attrlog."'      -g -O2 
-Wall -W -MT dev_areca.o -MD -MP -MF .deps/dev_areca.Tpo -c -o dev_areca.o 
dev_areca.cpp
dev_areca.cpp: In member function ‘virtual int 
generic_areca_device::arcmsr_command_handler(long unsigned int, unsigned char*, 
int)’:
dev_areca.cpp:119:5: error: ‘ARCMSR_IOCTL_READ_RQBUFFER’ was not declared in 
this scope
dev_areca.cpp:120:5: error: ‘ARCMSR_IOCTL_WRITE_WQBUFFER’ was not declared in 
this scope
dev_areca.cpp:121:5: error: ‘ARCMSR_IOCTL_CLEAR_RQBUFFER’ was not declared in 
this scope
dev_areca.cpp:122:5: error: ‘ARCMSR_IOCTL_CLEAR_WQBUFFER’ was not declared in 
this scope
dev_areca.cpp:123:5: error: ‘ARCMSR_IOCTL_RETURN_CODE_3F’ was not declared in 
this scope
make[2]: *** [dev_areca.o] Error 1

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=smartmontools&arch=kfreebsd-i386&ver=6.1%2Bsvn3812-1&stamp=1370168602

Patch:
--- smartmontools-6.1+svn3812.orig/dev_areca.h
+++ smartmontools-6.1+svn3812/dev_areca.h
@@ -58,7 +58,7 @@ ARCMSR_CMD_TOTAL
 #define ARCMSR_IOCTL_CLEAR_RQBUFFER          (ARECA_SATA_RAID | 
FUNCTION_CLEAR_RQBUFFER)
 #define ARCMSR_IOCTL_CLEAR_WQBUFFER          (ARECA_SATA_RAID | 
FUNCTION_CLEAR_WQBUFFER)
 #define ARCMSR_IOCTL_RETURN_CODE_3F          (ARECA_SATA_RAID | 
FUNCTION_RETURN_CODE_3F)
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <sys/ioctl.h> // _IOWR
 
 /*FunctionCode*/

Regards

    Christoph

If you have further questions please mail debian-...@lists.debian.org


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to