From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] open-lldp: new package
Date: Fri, 12 Jan 2018 23:38:42 +0100 [thread overview]
Message-ID: <20180112233842.388e29a0@windsurf.lan> (raw)
In-Reply-To: <CAGm1_ksP2c_gLsSCJjN=Sr7gK0OR0Bdxd-jidXVhjgwOCFyiwQ@mail.gmail.com>
Hello,
On Fri, 12 Jan 2018 22:29:44 +0100, Yegor Yefremov wrote:
> > So instead, please keep <pkg>_AUTORECONF = YES, and if the missing m4
> > folder is the only problem (but I doubt it because the bootstrap.sh
> > script doesn't create it), then add a post-extract hook that creates
> > the m4 file.
>
> bootstrap.sh doesn't create m4 folder, but if you just clone the
> open-lldp repo and invoke "autoreconf -i", it would just complain
> about missing m4 folder, but create it. In BR environment we get an
> error. We had similar situation earlier with some other package
> (libsoc) and I coudn't find the case of the problem, so I just added
> m4 upstream and now it is working.
Interesting, I never realized that. After a bit of experiment, it seems
like passing a -I option makes a difference:
thomas at windsurf:~/projets/open-lldp (master)$ autoreconf -f -i -I "/home/thomas/projets/buildroot/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/share/aclocal" -I "/home/thomas/projets/buildroot/output/host/share/aclocal"
aclocal: error: couldn't open directory 'm4': No such file or directory
autoreconf: aclocal failed with exit status: 1
thomas at windsurf:~/projets/open-lldp (master)$ autoreconf -f -i -I "/home/thomas/projets/buildroot/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/share/aclocal"
aclocal: error: couldn't open directory 'm4': No such file or directory
autoreconf: aclocal failed with exit status: 1
thomas at windsurf:~/projets/open-lldp (master)$ autoreconf -f -i -I "/home/thomas/projets/buildroot/output/host/share/aclocal"
aclocal: error: couldn't open directory 'm4': No such file or directory
autoreconf: aclocal failed with exit status: 1
thomas at windsurf:~/projets/open-lldp (master)$ autoreconf -f -i
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:5: installing './ar-lib'
configure.ac:5: installing './compile'
configure.ac:19: installing './config.guess'
configure.ac:19: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './depcomp'
Even more funny:
thomas at windsurf:~/projets/open-lldp (master)$ mkdir /tmp/foo
thomas at windsurf:~/projets/open-lldp (master)$ autoreconf -f -i -I /tmp/foo/
aclocal: error: couldn't open directory 'm4': No such file or directory
autoreconf: aclocal failed with exit status: 1
Not sure what's going on here :)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2018-01-12 22:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 14:01 [Buildroot] [PATCH 1/1] open-lldp: new package Laurent Charpentier
2018-01-12 14:46 ` Yegor Yefremov
2018-01-12 21:04 ` Thomas Petazzoni
2018-01-12 21:29 ` Yegor Yefremov
2018-01-12 22:38 ` Thomas Petazzoni [this message]
2018-01-15 12:50 ` Laurent Charpentier
2018-01-15 13:47 ` Thomas Petazzoni
2018-01-15 14:52 ` Yegor Yefremov
2018-01-15 15:15 ` Laurent Charpentier
2018-01-15 15:21 ` Yegor Yefremov
2018-01-15 15:40 ` Thomas Petazzoni
2018-01-16 8:22 ` Yegor Yefremov
-- strict thread matches above, loose matches on Subject: below --
2018-01-12 11:00 [Buildroot] [PATCH 1/1] Added lldpad (LLDP Agent Daemon) package Laurent Charpentier
2018-01-12 11:00 ` [Buildroot] [PATCH 1/1] open-lldp: new package Laurent Charpentier
2018-01-12 11:05 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180112233842.388e29a0@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox