pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

avrdude does not build



Hello everyone,

avrdude does not build on NetBSD 8.0/i386 -- any ideas?

TIA
-Nils

=> Bootstrap dependency digest>=20010302: found digest-20180917
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for avrdude-6.3.tar.gz
=> Checksum RMD160 OK for avrdude-6.3.tar.gz
=> Checksum SHA512 OK for avrdude-6.3.tar.gz
===> Installing dependencies for avrdude-6.3nb1
==========================================================================
The following variables will affect the build process of this package,
avrdude-6.3nb1.  Their current value is shown below:

        * LIBUSB_TYPE = compat

Based on these variables, the following variables have been set:

        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency automake>=1.9: found automake-1.16.1
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb8
=> Tool dependency gtexinfo>=4.9: found gtexinfo-6.5nb3
=> Tool dependency texi2html>=1.76: found texi2html-5.0nb7
=> Build dependency dvipsk-[0-9]*: found dvipsk-5.998nb1
=> Build dependency tex-latex-fonts-[0-9]*: found tex-latex-fonts-2013
=> Build dependency tex-pdftex-[0-9]*: found tex-pdftex-2016
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libftdi>=0.18: found libftdi-0.20nb1
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.22
=> Full dependency libhid>=0.2: found libhid-0.2.16nb2
=> Full dependency libftdi1>=1.0: found libftdi1-1.1nb12
=> Full dependency libelf>=0.8.5: found libelf-0.8.13nb1
=> Full dependency readline>=6.0: found readline-7.0
===> Overriding tools for avrdude-6.3nb1
===> Extracting for avrdude-6.3nb1
===> Patching for avrdude-6.3nb1
=> Applying pkgsrc patches for avrdude-6.3nb1
===> Creating toolchain wrappers for avrdude-6.3nb1
===> Configuring for avrdude-6.3nb1
cd /usr/pkgsrc/cross/avrdude/work/avrdude-6.3 && autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
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'
autoreconf: running: /usr/pkg/bin/autoconf --force
autoreconf: running: /usr/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:37: installing './compile'
configure.ac:33: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for i486--netbsdelf-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/pkgsrc/cross/avrdude/work/.cwrapper/bin/ld
checking if the linker (/usr/pkgsrc/cross/avrdude/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /usr/pkgsrc/cross/avrdude/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/pkgsrc/cross/avrdude/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i486--netbsdelf-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for bison... /usr/bin/yacc
checking for flex... /usr/bin/lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for -ar... ar
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking for libusb_init in -lusb-1.0... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no
checking for libusb_init in -lusb... yes
checking for libusb.h... (cached) no
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for ddk/hidsdi.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for puts in -lws2_32... no
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for a Win32 HID libray... no
checking for uint_t... no
checking for ulong_t... no
checking for parallel device... configure: parallel port access disabled for this system
checking for serial device... /dev/tty00
checking if gcc accepts -Wno-pointer-sign ... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating avrdude.spec
config.status: creating Makefile
config.status: creating avrdude.conf.tmp
config.status: creating ac_cfg.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DO HAVE    libftdi (but prefer to use libftdi1)
DON'T HAVE libhid
DO HAVE    pthread
ENABLED    doc
DISABLED   parport
DISABLED   linuxgpio
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for avrdude-6.3nb1
/bin/sh ./ylwrap config_gram.y y.tab.c config_gram.c y.tab.h `echo config_gram.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/  -e s/c++$/h++/ -e s/c$/h/` y.output config_gram.output -- /usr/bin/yacc -d 
updating config_gram.h
/bin/sh ./ylwrap lexer.l lex.yy.c lexer.c -- /usr/bin/lex  
/usr/bin/make  all-recursive
Making all in .
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/usr/pkg/etc\" -I/usr/pkg/include -I/usr/pkg/include/libelf -I/usr/include -Wall -Wno-pointer-sign -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/libelf -I/usr/include -MT avrdude-main.o -MD -MP -MF .deps/avrdude-main.Tpo -c -o avrdude-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/avrdude-main.Tpo .deps/avrdude-main.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/usr/pkg/etc\" -I/usr/pkg/include -I/usr/pkg/include/libelf -I/usr/include -Wall -Wno-pointer-sign -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/libelf -I/usr/include -MT avrdude-term.o -MD -MP -MF .deps/avrdude-term.Tpo -c -o avrdude-term.o `test -f 'term.c' || echo './'`term.c
mv -f .deps/avrdude-term.Tpo .deps/avrdude-term.Po
make[2]: don't know how to make ./libavrdude.a. Stop

make[2]: stopped in /usr/pkgsrc/cross/avrdude/work/avrdude-6.3
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/cross/avrdude/work/avrdude-6.3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/cross/avrdude/work/avrdude-6.3
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/cross/avrdude
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/cross/avrdude


Home | Main Index | Thread Index | Old Index