Package Details: olsrd 0.9.6.2-1

Git Clone URL: https://aur.archlinux.org/olsrd.git (read-only)
Package Base: olsrd
Description: The olsr.org implementation of the Optimized Link State Routing Protocol.
Upstream URL: http://www.olsr.org/mediawiki/index.php/Olsrd
Licenses: custom
Submitter: nimrod_mack
Maintainer: nimrod_mack
Last Packager: nimrod_mack
Votes: 1
Popularity: 0.000004
First Submitted: 2016-05-27 18:39
Last Updated: 2017-11-28 13:36

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

nimrod_mack commented on 2018-06-27 10:57

Sorry but I didn't manage to reproduce your error. I tried a simple makepkg as well as yaourt -S olsrd and both managed to build the package.

It seems warnings are being treated as errors as set in Makefile.inc. It might help to set a WARNINGS variable in the make command line in the build() function like this:

build(){
    cd $pkgname-$pkgver
    make prefix=/usr libdir=/usr/lib/olsrd sbindir=/usr/bin DESTDIR=${pkgdir} WARNINGS="-w" build_all
}

dreieck commented on 2018-06-26 10:31

Build fails for me with:

make[1]: Entering directory '/var/tmp/yaourt-tmp-felics/aur-olsrd/src/olsrd-0.9.6.2/lib/pud'
make[2]: Entering directory '/var/tmp/yaourt-tmp-felics/aur-olsrd/src/olsrd-0.9.6.2/lib/pud/nmealib'
[CC] src/sentence.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./include/nmealib/util.h:23,
                 from ./include/nmealib/info.h:21,
                 from ./include/nmealib/gpgga.h:26,
                 from ./include/nmealib/sentence.h:61,
                 from src/sentence.c:18:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:58: build/sentence.o] Error 1
make[2]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-olsrd/src/olsrd-0.9.6.2/lib/pud/nmealib'
make[1]: *** [Makefile:162: nmealib] Error 2
make[1]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-olsrd/src/olsrd-0.9.6.2/lib/pud'
make: *** [Makefile:241: libs] Error 2
==> ERROR: A failure occurred in build().
    Aborting...