netatalk 2.2beta4 deb package can't use its ACL capability (or fails to build)
Bug #808868 reported by
Oichi
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netatalk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The original netatalk 2.2beta4 has ACL capability, but this deb package doesn't enable it.
If I have already installed "libldap2-dev" and "libacl1-dev", then netatalk is built automatically with ACL capability.
I think it is better to require "libldap2-dev" and "libacl1-dev" in this deb package.
Thank you.
summary: |
- netatalk 2.2beta4 deb package can't use its ACL capability + netatalk 2.2beta4 deb package can't use its ACL capability (or fails to + build) |
To post a comment you must log in.
I tried compiling the 2.2.1-1 version from Precise (using apt-get source/ dpkg-buildpacka ge) 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 scratch/ apeace/ netatalk/ netatalk- 2.2.1/libatalk/ acl' scratch/ apeace/ netatalk/ netatalk- 2.2.1/libatalk' scratch/ apeace/ netatalk/ netatalk- 2.2.1' scratch/ apeace/ netatalk/ netatalk- 2.2.1' stamp-makefile- build] Error 2
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/
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/local/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/local/
make: *** [debian/
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.