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

buildd: LINUX_VERSION_CODE no more corectly defined on caballero?



Hello,

Please Cc: me on replies.

My package pilot-link failed to build on ia64 for version 0.12.2-10. According
to the logs [1] the error is:
unixserial.c:102:27: error: operator '<' has no left operand

The code is:
  93    /* Linux versions "before 2.1.8 or so" fail to flush hardware FIFO on port
  94       close */
  95    #ifdef linux
  96    # ifndef LINUX_VERSION_CODE
  97    #  include <linux/version.h>
  98    # endif
  99    # ifndef LINUX_VERSION_CODE
 100    #  define sleeping_beauty
 101    # else
 102    #  if (LINUX_VERSION_CODE < 0x020108)
 103    #   define sleeping_beauty
 104    #  endif
 105    # endif
 106    #endif

So it looks like LINUX_VERSION_CODE is defined but as an empty string.


What is very strange is that all the previous versions, with the same
upstream version, compiled correctly on caballero. For example version
0.12.2-9 was correctly built:
  0.12.2-1 (latest build at Feb 14 18:25: maybe-successful)
  0.12.2-2 (latest build at Feb 16 09:25: maybe-successful)
  0.12.2-3 (latest build at Feb 18 08:09: maybe-successful)
  0.12.2-4 (latest build at Feb 18 12:23: maybe-successful)
  0.12.2-5 (latest build at Mar 2 10:02: maybe-successful)
  0.12.2-6 (latest build at Mar 7 17:43: maybe-successful)
  0.12.2-7 (latest build at Mar 22 13:47: maybe-successful)
  0.12.2-8 (latest build at Mar 24 10:17: maybe-successful)
  0.12.2-9 (latest build at Mar 25 10:32: maybe-successful)
  0.12.2-10 (latest build at Jun 3 16:59: maybe-failed)

Something changed between Mar 25 and Jun 3 2007 on caballero?
In particular in the file /usr/include/linux/version.h used by the
buildd?


The package was built correctly on all the other architectures. I would
prefer not to patch the code just to build it on ia64.

What can I do?

Thanks

[1] http://buildd.debian.org/fetch.cgi?&pkg=pilot-link&ver=0.12.2-10&arch=ia64&stamp=1180904361&file=log

-- 
 Dr. Ludovic Rousseau                        Ludovic.Rousseau@free.fr
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Reply to: