• innd failes to compile

    From Nigel Reed@sysop@endofthelinebbs.com to news.software.nntp on Tue May 26 14:06:06 2026
    From Newsgroup: news.software.nntp

    I just did a git pull and make update

    ../libtool --mode=link gcc -pie -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o util.o
    wip.o /usr/compile/inn/storage/libinnstorage.la /usr/compile/inn/history/libinnhist.la /usr/compile/inn/lib/libinn.la
    -ldb -lz -lsqlite3 -lz -lsystemd /usr/compile/inn/lib/canlock.o
    -lcanlock /usr/compile/inn/lib/perl.o -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -lperl
    -ldl -lm -lpthread -lcrypt -L/usr/lib/x86_64-linux-gnu -lpython3.12
    -ldl -lm libtool: link: gcc -pie -fstack-protector-strong -Wl,-z
    -Wl,relro -Wl,-z -Wl,now -o .libs/innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o
    site.o status.o util.o wip.o /usr/compile/inn/lib/canlock.o /usr/compile/inn/lib/perl.o -Wl,-E -fstack-protector-strong /usr/compile/inn/storage/.libs/libinnstorage.so /usr/compile/inn/history/.libs/libinnhist.so /usr/compile/inn/lib/.libs/libinn.so -ldb -lsqlite3 -lz -lsystemd
    -lcanlock -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.38/CORE
    -lperl -lpthread -lcrypt -L/usr/lib/x86_64-linux-gnu -lpython3.12 -ldl
    -lm -Wl,-rpath -Wl,/news/lib gcc -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -I../include -c -o tinyleaf.o tinyleaf.c ../libtool --mode=link gcc -pie -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -o tinyleaf tinyleaf.o /usr/compile/inn/lib/libinn.la
    libtool: link: gcc -pie -fstack-protector-strong -Wl,-z -Wl,relro
    -Wl,-z -Wl,now -o .libs/tinyleaf tinyleaf.o /usr/compile/inn/lib/.libs/libinn.so -Wl,-rpath -Wl,/news/lib make[1]:
    Leaving directory '/usr/compile/inn/innd' cd nnrpd && make all
    || exit 1 ; cd .. make[1]: Entering directory
    '/usr/compile/inn/nnrpd' gcc -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -I../include @BLOCKLIST_CPPFLAGS@ -c
    article.c gcc: warning: @BLOCKLIST_CPPFLAGS@: linker input file unused
    because linking not done gcc: error: @BLOCKLIST_CPPFLAGS@: linker input
    file not found: No such file or directory make[1]: *** [Makefile:44:
    article.o] Error 1 make[1]: Leaving directory '/usr/compile/inn/nnrpd'
    make: *** [Makefile:58: all] Error 1



    Any suggestions? I also did a make distclean and then make and the same results.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Julien_=C3=89LIE?=@iulius@nom-de-mon-site.com.invalid to news.software.nntp on Wed May 27 10:25:49 2026
    From Newsgroup: news.software.nntp

    Hi Nigel,

    I just did a git pull and make update

    article.c gcc: warning: @BLOCKLIST_CPPFLAGS@: linker input file unused because linking not done gcc: error: @BLOCKLIST_CPPFLAGS@: linker input
    file not found: No such file or directory make[1]: *** [Makefile:44: article.o] Error 1 make[1]: Leaving directory '/usr/compile/inn/nnrpd'
    make: *** [Makefile:58: all] Error 1

    Any suggestions? I also did a make distclean and then make and the same results.

    This is not enough when building from Git.
    You'll normally see a file named BOOTSTRAP at the root of the
    repository, saying:

    """
    If you're seeing this file, you have cloned or checked INN out of Git,
    or otherwise obtained a copy of the development tree rather than a
    snapshot or standard release. This means that you need to start by bootstrapping the tree before you can build INN or read much of the documentation.

    To do this, run:

    ./autogen
    ./configure
    make bootstrap
    """
    --
    Julien |eLIE

    -2-aQuand on demande aux gens d'observer le silence, au lieu de l'observer
    comme on observe une |-clipse de lune, ils l'|-coutent-a!-a-+ (Raymond
    Devos)

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Nigel Reed@sysop@endofthelinebbs.com to news.software.nntp on Wed May 27 17:44:41 2026
    From Newsgroup: news.software.nntp

    On Wed, 27 May 2026 10:25:49 +0200
    Julien |eLIE <iulius@nom-de-mon-site.com.invalid> wrote:
    Hi Nigel,

    I just did a git pull and make update

    article.c gcc: warning: @BLOCKLIST_CPPFLAGS@: linker input file
    unused because linking not done gcc: error: @BLOCKLIST_CPPFLAGS@:
    linker input file not found: No such file or directory make[1]: *** [Makefile:44: article.o] Error 1 make[1]: Leaving directory '/usr/compile/inn/nnrpd' make: *** [Makefile:58: all] Error 1

    Any suggestions? I also did a make distclean and then make and the
    same results.

    This is not enough when building from Git.
    You'll normally see a file named BOOTSTRAP at the root of the
    repository, saying:

    """
    If you're seeing this file, you have cloned or checked INN out of
    Git, or otherwise obtained a copy of the development tree rather than
    a snapshot or standard release. This means that you need to start by bootstrapping the tree before you can build INN or read much of the documentation.

    To do this, run:

    ./autogen
    ./configure
    make bootstrap
    """

    Oh ok. I thought autogen was only required when first building from a
    new git clone. I'll add this to my notes since it's the first time I've
    come across this issue.
    Thanks,
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Julien_=C3=89LIE?=@iulius@nom-de-mon-site.com.invalid to news.software.nntp on Thu May 28 21:30:20 2026
    From Newsgroup: news.software.nntp

    Hi Nigel,

    ./autogen
    ./configure
    make bootstrap

    Oh ok. I thought autogen was only required when first building from a
    new git clone. I'll add this to my notes since it's the first time I've
    come across this issue.

    If you do not run autogen, the modification of some files (configure.ac
    and related m4 files used at configure time, innshellvars scripts, Makefile.global, include/config.h, include/inn/paths.h and a few others)
    won't be picked up. It could lead to an unexpected behaviour, though
    the code builds fine. Of course, you'll notice it directly when the
    code no longer builds because a new macro is used, defined at configure
    time, but not present in the files generated by a previous run of
    configure. (That's the case you encountered.)
    --
    Julien |eLIE

    -2-arCo Je ne comprends pas comment quelques gouttes de pluie peuventrCa
    rCo |evidemment, tu ne te mouilles pas beaucoup dans cette affaire.-a-+
    (Ast|-rix)

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Nigel Reed@sysop@endofthelinebbs.com to news.software.nntp on Mon Jun 1 11:27:29 2026
    From Newsgroup: news.software.nntp

    On Thu, 28 May 2026 21:30:20 +0200
    Julien |eLIE <iulius@nom-de-mon-site.com.invalid> wrote:
    Hi Nigel,

    ./autogen
    ./configure
    make bootstrap

    Oh ok. I thought autogen was only required when first building from
    a new git clone. I'll add this to my notes since it's the first
    time I've come across this issue.

    If you do not run autogen, the modification of some files
    (configure.ac and related m4 files used at configure time,
    innshellvars scripts, Makefile.global, include/config.h,
    include/inn/paths.h and a few others) won't be picked up. It could
    lead to an unexpected behaviour, though the code builds fine. Of
    course, you'll notice it directly when the code no longer builds
    because a new macro is used, defined at configure time, but not
    present in the files generated by a previous run of configure.
    (That's the case you encountered.)

    Got it. It compiled ok after that. Thanks.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    --- Synchronet 3.22a-Linux NewsLink 1.2