Git master branch & Debian build

Olivier Beytrison olivier at heliosnet.org
Fri Nov 16 14:35:44 CET 2012



On 16.11.2012 14:21, Arran Cudbard-Bell wrote:
> 
> On 16 Nov 2012, at 12:58, Olivier Beytrison <olivier at heliosnet.org> wrote:
> 
>> Hello,
>>
>> Just a quick question, before I loose too much time on this. Is the
>> debian build system on the master repository working ?
> 
> I've had issues with it, but haven't had time to track down the cause, what problems are you experiencing specifically?

First, by default it comes with --with-system-libltdl and
--with-system-libtool.
With those activated, it fails at linking rlm_sql_log.la
LINK rlm_sql_log.la rlm_sql_log.lo
libtool: link: warning: `-release' is ignored for convenience libraries
ar:
/opt/src/freeradius/FR3/freeradius-server/src/modules/rlm_sql/.libs/.libs/rlm_sql.a:
No such file or directory
(there two times .libs in the path, when one is enough. editing the
Makefile and removing the .libs in RLM_LIBS works, but it fails further
down.

then I've found a previous message on the mailing list and removed
--with-system-libltdl and libtool.

compiled correctly, but when DH started its work, it don't find the
libfreeradius*-3.*.so and fail

# rename radius binary to play nicely with others
mv
/opt/src/freeradius/FR3/freeradius-server/debian/tmp//usr/sbin/radiusd
/opt/src/freeradius/FR3/freeradius-server/debian/tmp//usr/sbin/freeradius
mv
/opt/src/freeradius/FR3/freeradius-server/debian/tmp///usr/share/man/man8/radiusd.8
/opt/src/freeradius/FR3/freeradius-server/debian/tmp///usr/share/man/man8/freeradius.8
dh_install
--sourcedir=/opt/src/freeradius/FR3/freeradius-server/debian/tmp/ -p
libfreeradius3
dh_install: libfreeradius3 missing files
(usr/lib/freeradius/libfreeradius*-3.*.so), aborting
make: *** [install-arch] Error 255
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

content of the temporary usr/lib/freeradius :

ls -l usr/lib/freeradius/libfreerad*

usr/lib/freeradius/libfreeradius-eap-3.0.0.la -> libfreeradius-eap.la
usr/lib/freeradius/libfreeradius-eap.a
usr/lib/freeradius/libfreeradius-eap.la
usr/lib/freeradius/libfreeradius-eap.so
usr/lib/freeradius/libfreeradius-radius-3.0.0.la -> libfreeradius-radius.la
usr/lib/freeradius/libfreeradius-radius.a
usr/lib/freeradius/libfreeradius-radius.la
usr/lib/freeradius/libfreeradius-radius.so

so yeah no libfreeradius-3.*.so

thanks for your help

Olivier
-- 

 Olivier Beytrison
 Network & Security Engineer, HES-SO Fribourg
 Mobile: +41 (0)78 619 73 53
 Mail: olivier at heliosnet.org


More information about the Freeradius-Users mailing list