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

Bug #808868 reported by Oichi on 2011-07-11
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
netatalk (Ubuntu)
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.

Andrew Peace (andrew-peace) wrote :

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.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netatalk (Ubuntu):
status: New → Confirmed
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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.