Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compile tnftp during install #208

Open
JiangXL opened this issue Jan 5, 2020 · 5 comments
Open

Fail to compile tnftp during install #208

JiangXL opened this issue Jan 5, 2020 · 5 comments

Comments

@JiangXL
Copy link

JiangXL commented Jan 5, 2020

FYI:

qblab@qblab-tape:~$ brew install ltopers
==> Installing ltopers from amiaopensource/amiaos

==> Installing dependencies for amiaopensource/amiaos/ltopers: tnftp, tree, xmlstarlet and mediamicroservices/mm/mm
==> Installing amiaopensource/amiaos/ltopers dependency: tnftp
==> Downloading https://opensource.apple.com/tarballs/lukemftp/lukemftp-16.tar.gz
Already downloaded: /home/qblab/.cache/Homebrew/downloads/1faa4668197613d2025e91fa19f8ff1a73539f7316a0888a26d8a9149e5c942e--lukemftp-16.tar.gz
==> ./configure
==> make all
Last 15 lines from /home/qblab/.cache/Homebrew/Logs/tnftp/02.make:
gcc-5 -g -O2 -I. -I./.. -I. -I..  -I./../libnetbsd  -c sl_init.c
gcc-5 -g -O2 -I. -I./.. -I. -I..  -I./../libnetbsd  -c strlcat.c
gcc-5 -g -O2 -I. -I./.. -I. -I..  -I./../libnetbsd  -c strlcpy.c
gcc-5 -g -O2 -I. -I./.. -I. -I..  -I./../libnetbsd  -c glob.c
glob.c: In function 'globextend':
glob.c:723:62: error: 'ARG_MAX' undeclared (first use in this function)
  if ((pglob->gl_flags & GLOB_LIMIT) && (newsize + *limit) >= ARG_MAX) {
                                                              ^
glob.c:723:62: note: each undeclared identifier is reported only once for each function it appears in
Makefile:29: recipe for target 'glob.o' failed
make[1]: *** [glob.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/tnftp-20200105-20353-7c2n5z/lukemftp-16/tnftp/libnetbsd'
Makefile:22: recipe for target 'libnetbsd.a' failed
make: *** [libnetbsd.a] Error 2

This issue has yet been reported in linuxbrew. Any idea?

@retokromer
Copy link
Member

Thank you for reporting. To my knowledge this has not been reported to Linuxbrew. On which Linux distribution are you working? (We use Debian 10.1.)

@JiangXL
Copy link
Author

JiangXL commented Jan 5, 2020

Sorry for my typo, I exactly want to tell you this has not been reported to Linuxbrew.
In fact, we are working on Debian 9 Variation(Deepin Linux 15.11), which uses latest Debian 9 source.

Now, I can mount/write just using ltopers bash script and few mm scripts directly without linuxbrew env.

@retokromer
Copy link
Member

Now, I can mount/write just using ltopers bash script and few mm scripts directly without linuxbrew env.

Thanks for this additional information. Brew is meant to be an easy way to install the scripts. Of course, you can install also without using it. Yet I’ll test it again.

@retokromer
Copy link
Member

I just set-up computers for an LTO training on the 1st February, but could not reproduce on Debian 10.2.

@JiangXL
Copy link
Author

JiangXL commented Jan 26, 2020

I just set-up computers for an LTO training on the 1st February, but could not reproduce on Debian 10.2.

I didn't test it in Debian 10. If it just didn't work at Debian 9, I will choose to upgrade Debian in the furture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants