I tried compiling the 2.2.1-1 version from Precise (using apt-get source
/dpkg-buildpackage) to create a backport on Oneric.  On my x64 machine
this worked fine as I already had libacl1-dev installed, however it
seems now if you do not have it installed (as on my i386 machine) the
build fails as follows:

 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include 
"-D_U_=__attribute__((unused))" -g -O2 -g -O2 -Wall -fPIE -fstack-protector 
--param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security 
-Werror=format-security -I../../sys -c ldap.c  -fPIC -DPIC -o .libs/ldap.o
ldap.c:56:18: error: array type has incomplete element type
ldap.c:72:19: error: array type has incomplete element type
make[4]: *** [ldap.lo] Error 1
make[4]: Leaving directory 
`/local/scratch/apeace/netatalk/netatalk-2.2.1/libatalk/acl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/local/scratch/apeace/netatalk/netatalk-2.2.1/libatalk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/scratch/apeace/netatalk/netatalk-2.2.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/local/scratch/apeace/netatalk/netatalk-2.2.1'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This is reported as a bug #651406 in the Debian tracker and was fixed
there (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651406).

I can confirm that installing libacl1-dev then re-attempting the build
results in the package building successfully.

I would recommend adding libacl1-dev to the build dependencies to
resolve this issue.

** Bug watch added: Debian Bug tracker #651406
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651406

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808868

Title:
  netatalk 2.2beta4 deb package can't use its ACL capability (or fails
  to build)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/808868/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to