Package: src:mtdev
Version: 1.1.3-1~exp1
Severity: normal

Hi!  The "mtdev" package fails to build on x32.  It turns out,
"getconf ARG_MAX" returns "undefined", which is not a valid integer,
causing more and more obscure breakage as the build proceeds.

Actually, things are a bit weird: when called from a command line,
"getconf ARG_MAX" returns 2097152, yet from your ./configure, it's somehow
-1, which the getconf tool returns as "undefined".

Code that fails to cope with this value is in aclocal.m4:

    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    if test -n "$lt_cv_sys_max_cmd_len"; then
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    else

After making it take that -1 literally (like on Hurd), build succeeds.

Sadly, you use cdbs which sabotages autotoolage and fails to rebuild
./configure from source.  I admit I didn't research how to work around this
bug in cdbs (similar to --disable-maintainer-mode), I just edited
./configure manually in my tests, which worked.


I did not bother even looking at unstable's version, as you clearly intend
to upload 1.1.3 once wheezy releases, and x32 is not included in wheezy.


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)

Kernel: Linux 3.7.1-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


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

Reply via email to