[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netatalk
Subject:    Re: [Netatalk-admins] volume.c:383:26: error: 'ldap_config_valid' undeclared
From:       Reindl Harald <h.reindl () thelounge ! net>
Date:       2016-07-19 18:51:28
Message-ID: d726f517-cf9d-9fa3-48bc-bc8191098099 () thelounge ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Am 19.07.2016 um 20:48 schrieb HAT:
> Compare with this spec file.
> http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.8_SRPM_for_Fedora_and_CentOS
>
> It would succeed if installing openldap-devel package and removing --with-ldap=no and --without-ldap.

maybe - but why should i deal with any ldap packages for standalone 
servers which was not needed all the years before and is not required on 
dozens of servers for a lot of network services?

P.S.: it's enough to reposnd to the list itself to not berak reply-list 
of rcpt's using duplicate filters on the unbound mailserver to not get 
duplicates

> Tue, 19 Jul 2016 20:22:41 +0200, Reindl Harald <h.reindl@thelounge.net>:
>>
>>
>> Am 19.07.2016 um 20:17 schrieb HAT:
>>> You should show your environment and your configure option.
>>
>> Fedora 23 x86_64 / Fedora 24 x86_64
>> completly untouched rpm-spec which builds with previous release
>>
>> [root@testserver:~]$ cat /rpmbuild/SPECS/netatalk.spec
>> %global            debug_package %{nil}
>>
>> Summary:           Netatalk is a Open Source AFP fileserver
>> Name:              netatalk
>> Version:           3.1.9
>> Release:           2%{?dist}
>> Epoch:             4
>> License:           GPLv2+
>> Group:             System Environment/Daemons
>> Source0:
>> http://download.sourceforge.net/netatalk/%{name}-%{version}.tar.bz2
>> Source1:           %{name}.service
>> Url:               http://netatalk.sourceforge.net/
>> Requires:          pam
>> Requires(post):    systemd-units
>> Requires(preun):   systemd-units
>> Requires(preun):   systemd-units
>> Requires(postun):  systemd-units
>> BuildRequires:     autoconf
>> BuildRequires:     automake
>> BuildRequires:     libdb-devel
>> BuildRequires:     libacl-devel
>> BuildRequires:     libgcrypt-devel
>> BuildRequires:     libtool
>> BuildRequires:     openssl-devel
>> BuildRequires:     pam
>> BuildRequires:     pam-devel
>> BuildRequires:     systemd-units
>> Requires:          %{_bindir}/perl
>>
>> %description
>> Netatalk is a Open Source AFP fileserver
>>
>> %package           devel
>> Summary:           Headers for Appletalk development
>> Group:             Development/Libraries
>> %description       devel
>>
>> %package           manpages
>> Summary:           Manuals for Netatalk
>> Group:             System Environment/Daemons
>> %description       manpages
>>
>> %prep
>> %setup -q -n %{name}-%{version}
>>
>> %build
>> # regenerate configure scripts
>> libtoolize --force
>> aclocal -I macros
>> automake --add-missing
>> autoconf
>> autoheader
>>
>> # hardening build
>> export CFLAGS="%{optflags} -fPIC"
>> export CXXFLAGS="$CFLAGS"
>> export LDFLAGS="-Wl,-z,now -Wl,-z,relro,-z,noexecstack -pie
>> %{optflags}"
>> export SH_LDFLAGS="-Wl,-z,now -Wl,-z,relro,-z,noexecstack %{optflags}"
>>
>> %configure \
>>  --with-pkgconfdir=%{_sysconfdir}/%{name}/ \
>>  --with-pam \
>>  --with-shadow \
>>  --with-uams-path=%{_libdir}/atalk \
>>  --with-gnu-ld \
>>  --with-init-style=redhat-systemd \
>>  --enable-shared \
>>  --enable-overwrite \
>>  --enable-quota=no \
>>  --with-kerberos=no \
>>  --with-ldap=no \
>>  --with-kerberos=no \
>>  --with-libevent=no \
>>  --with-cnid-last-backend=no \
>>  --with-cnid-mysql-backend=no \
>>  --with-cnid-tdb-backend=no \
>>  --with-cnid-default-backend=dbd \
>>  --with-mysql-config=no \
>>  --disable-bundled-libevent \
>>  --disable-static \
>>  --disable-krbV-uam \
>>  --disable-tcp-wrappers \
>>  --disable-zeroconf \
>>  --disable-cups \
>>  --disable-maintainer-mode \
>>  --disable-shell-check \
>>  --disable-admin-group \
>>  --disable-libselinux \
>>  --disable-selinux \
>>  --disable-zeroconf \
>>  --without-afpstats \
>>  --without-dtrace \
>>  --without-tracker \
>>  --without-webmin \
>>  --without-ldap \
>>  --without-cracklib \
>>  --without-dbus
>>
>> if [ "%{_lib}" != lib ]; then
>>  find . -name Makefile | xargs perl -pi -e
>>  's,-L%{_prefix}/lib,-L%{_libdir},g'
>>  find . -name Makefile | xargs perl -pi -e 's,-L/lib,-L/%{_lib},g'
>> fi
>> sed -i -e
>> 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' -e
>> 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
>>
>> %{__make} %{?_smp_mflags} all
>>
>> %install
>> make install-strip DESTDIR=%{buildroot} mandir=%{_mandir}
>> rm -f %{buildroot}/usr/lib/systemd/system/%{name}.service
>> mkdir -p %{buildroot}%{_unitdir}
>> install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
>> rm -f %{buildroot}%{_includedir}/%{name}/at.h \
>>  %{buildroot}%{_localstatedir}/%{name}/CNID/README \
>>  %{buildroot}%{_localstatedir}/%{name}/README \
>>  %{buildroot}%{_sysconfdir}/%{name}/afp.conf \
>>  %{buildroot}%{_bindir}/afpstats \
>>  %{buildroot}%{_sysconfdir}/dbus-1/system.d/%{name}-dbus.conf \
>>  %{buildroot}%{_sysconfdir}/%{name}/dbus-session.conf
>> find %{buildroot} -name \*.a -exec rm {} \;
>> find %{buildroot} -name \*.la -exec rm {} \;
>>
>> %post
>> %{_bindir}/systemctl --system daemon-reload &> /dev/null
>> %{_sbindir}/ldconfig
>> exit 0
>>
>> %preun
>> if [ $1 == 0 ]; then
>>  %{_bindir}/systemctl disable %{name}.service &> /dev/null
>>  %{_bindir}/systemctl stop %{name}.service &> /dev/null
>> fi
>> exit 0
>>
>> %postun
>> %{_bindir}/systemctl daemon-reload &> /dev/null
>> %{_sbindir}/ldconfig
>> exit 0
>>
>> %files
>> %exclude %{_mandir}/man1/*
>> %exclude %{_mandir}/man5/*
>> %exclude %{_mandir}/man8/*
>> %exclude %{_bindir}/%{name}-config
>> %exclude %{_mandir}/man*/%{name}-config*
>> %dir %{_sysconfdir}/%{name}
>> %dir %{_localstatedir}/%{name}
>> %{_sbindir}/*
>> %{_bindir}/*
>> %{_libdir}/libatalk.so*
>> %{_libdir}/atalk/*.so
>> %attr(0644,root,root) %{_unitdir}/%{name}.service
>> %attr(0644,root,root) %config(noreplace)
>> %%{_sysconfdir}/%{name}/extmap.conf
>> %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/%{name}
>>
>> %files devel
>> %{_datadir}/aclocal/%{name}.m4
>> %{_bindir}/%{name}-config
>> %{_mandir}/man*/%{name}-config.1*
>> %{_includedir}/atalk/*
>>
>> %files manpages
>> %{_mandir}/man1/*
>> %{_mandir}/man5/*
>> %{_mandir}/man8/*
>>
>> %changelog
>> * Tue Jul 19 2016 Reindl Harald <h.reindl@thelounge.net>
>> - update to 3.1.9
>>
>> * Tue Dec 29 2015 Reindl Harald <h.reindl@thelounge.net>
>> - update to 3.1.8
>>
>>> Tue, 19 Jul 2016 20:09:42 +0200, Reindl Harald
>>> <h.reindl@thelounge.net>:
>>>> if it only would compile....
>>>>
>>>> volume.c: In function 'getvolparams':
>>>> volume.c:383:26: error: 'ldap_config_valid' undeclared (first use in
>>>> this function)
>>>>                      if (!ldap_config_valid || vol->v_flags &
>>>>                      AFPVOL_NONETIDS)
>>>>
>>>> Makefile:1098: recipe for target 'afpd-volume.o' failed
>>>> make[4]: *** [afpd-volume.o] Error 1
>>>> make[4]: *** Waiting for unfinished jobs....
>>>> make[4]: Leaving directory
>>>> '/home/builduser/rpmbuild/BUILD/netatalk-3.1.9/etc/afpd'
>>>> Makefile:493: recipe for target 'all' failed
>>>> make[3]: *** [all] Error 2
>>>> make[3]: Leaving directory
>>>> '/home/builduser/rpmbuild/BUILD/netatalk-3.1.9/etc/afpd'
>>>> Makefile:473: recipe for target 'all-recursive' failed
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory
>>>> '/home/builduser/rpmbuild/BUILD/netatalk-3.1.9/etc'
>>>> Makefile:524: recipe for target 'all-recursive' failed
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory
>>>> '/home/builduser/rpmbuild/BUILD/netatalk-3.1.9'
>>>> Makefile:456: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.aUtsOQ
>>>> (%build)


["signature.asc" (application/pgp-signature)]

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
Netatalk-admins mailing list
Netatalk-admins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netatalk-admins


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic