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

Bug#661876: amule FTBFS on alpha: alpha part of fallocate.diff patch no longer needed



Source: amule
Version: 2.3.1-5
Severity: normal
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha@lists.debian.org

Amule FTBFS on Alpha with the following message:

#	source='ThreadTasks.cpp' object='amule-ThreadTasks.o' libtool=no
g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -DUSE_WX_EXTENSIONS
-I/usr/include/upnp   -DENABLE_UPNP=1 -pthread
-I/usr/lib/alpha-linux-gnu/wx/include/gtk2-unicode-release-2.8
-I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
-DENABLE_IP2COUNTRY=1 -I../../src/libs -Ilibs -I../../src/include
-I/usr/include -D__WEAK_CRYPTO__ -D_FORTIFY_SOURCE=2 -W -Wall -Wshadow
-Wundef -pthread  -g -O2 -Wformat -Wformat-security
-Werror=format-security -Wall -c -o amule-ThreadTasks.o `test -f
'ThreadTasks.cpp' || echo '../../src/'`ThreadTasks.cpp
../../src/ThreadTasks.cpp: In member function 'virtual void
CAllocateFileTask::Entry()':
../../src/ThreadTasks.cpp:576:21: error: 'SYS_fallocate' was not
declared in this scope

Full build log is at:
http://buildd.debian-ports.org/status/fetch.php?pkg=amule&arch=alpha&ver=2.3.1-5&stamp=1329485328

The reason for the failure is the patch in debian/patches/fallocate.diff
which is no longer correct for Alpha as the fallocate() call is now
implemented on Alpha.  The patch currently has:

+// #562992
+#if defined(__alpha__) || defined(__hppa__)
+#undef HAVE_FALLOCATE
+#endif

Please remove the defined(__alpha__) from the patch, thanks.

Cheers,
Michael.



Reply to: