You are not logged in.

#1 2019-12-18 17:14:31

singha95
Member
Registered: 2019-12-18
Posts: 5

[SOLVED] syntax error near unexpected token `LIBUSB,'

I have been trying to install a program called QCMA (https://aur.archlinux.org/packages/qcma/) from source but have been getting this error when trying to install the following dependency (https://aur.archlinux.org/packages/libvitamtp/). I can see that I also have the correct version of libusb installed according to pacman.

checking for the common suffixes of directories in the library search path... lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
./configure: line 10181: PKG_PROG_PKG_CONFIG: command not found
checking For MinGW32... no
configure: API documentation will not be generated
./configure: line 10297: syntax error near unexpected token `LIBUSB,'
./configure: line 10297: `    PKG_CHECK_MODULES(LIBUSB, libusb-1.0)'


$ pacman -Ss libusb
core/libusb 1.0.23-2 [installed]
    Library that provides generic access to USB devices

my kernel is: x86_64 Linux 5.4.2-1

Last edited by singha95 (2019-12-18 18:41:35)

Offline

#2 2019-12-18 18:09:57

loqs
Member
Registered: 2014-03-06
Posts: 17,913

Re: [SOLVED] syntax error near unexpected token `LIBUSB,'

./configure: line 10181: PKG_PROG_PKG_CONFIG: command not found

Arch_User_Repository#Prerequisites

Offline

#3 2019-12-18 18:17:11

singha95
Member
Registered: 2019-12-18
Posts: 5

Re: [SOLVED] syntax error near unexpected token `LIBUSB,'

I already have the base-devel group installed on my machine:

$ pacman -Ss  base-devel
core/autoconf 2.69-6 (base-devel) [installed]
    A GNU tool for automatically configuring source code
core/automake 1.16.1-2 (base-devel) [installed]
    A GNU tool for automatically creating Makefiles
core/binutils 2.33.1-2 (base-devel) [installed]
    A set of programs to assemble and manipulate binary and object files
core/bison 3.4.2-2 (base-devel) [installed]
    The GNU general-purpose parser generator
core/fakeroot 1.24-2 (base-devel) [installed]
    Tool for simulating superuser privileges
core/file 5.37-5 (base-devel) [installed]
    File type identification utility
core/findutils 4.7.0-2 (base-devel) [installed]
    GNU utilities to locate files
core/flex 2.6.4-3 (base-devel) [installed]
    A tool for generating text-scanning programs
core/gawk 5.0.1-2 (base-devel) [installed]
    GNU version of awk
core/gcc 9.2.0-4 (base-devel) [installed]
    The GNU Compiler Collection - C and C++ frontends
core/gettext 0.20.1-3 (base-devel) [installed]
    GNU internationalization library
core/grep 3.3-3 (base-devel) [installed]
    A string search utility
core/groff 1.22.4-2 (base-devel) [installed]
    GNU troff text-formatting system
core/gzip 1.10-3 (base-devel) [installed]
    GNU compression utility
core/libtool 2.4.6+42+gb88cebd5-8 (base-devel) [installed]
    A generic library support script
core/m4 1.4.18-3 (base-devel) [installed]
    The GNU macro processor
core/make 4.2.1-4 (base-devel) [installed]
    GNU make utility to maintain groups of programs
core/pacman 5.2.1-2 (base-devel) [installed]
    A library-based package manager with dependency support
core/patch 2.7.6-8 (base-devel) [installed]
    A utility to apply patch files to original sources
core/pkgconf 1.6.3-3 (base-devel) [installed]
    Package compiler and linker metadata toolkit
core/sed 4.7-3 (base-devel) [installed]
    GNU stream editor
core/sudo 1.8.29-1 (base-devel) [installed]
    Give certain users the ability to run some commands as root
core/texinfo 6.7-2 (base-devel) [installed]
    GNU documentation system for on-line information and printed output
core/which 2.21-5 (base-devel) [installed]
    A utility to show the full path of commands

Offline

#4 2019-12-18 18:24:53

loqs
Member
Registered: 2014-03-06
Posts: 17,913

Re: [SOLVED] syntax error near unexpected token `LIBUSB,'

Please post the full output for the build in code tags.  It build in a clean chroot on this system

extra-x86_64-build 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community               4.8 MiB  5.92 MiB/s 00:01 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [testuser]...done
==> Making package: libvitamtp 2.5.9-1 (Wed Dec 18 18:22:26 2019)
==> Retrieving sources...
  -> Found vitamtp-2.5.9.tar.gz
  -> Found libvitamtp.install
==> Validating source files with sha256sums...
    vitamtp-2.5.9.tar.gz ... Passed
    libvitamtp.install ... Passed
==> Making package: libvitamtp 2.5.9-1 (Wed 18 Dec 2019 06:22:30 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found vitamtp-2.5.9.tar.gz
  -> Found libvitamtp.install
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting vitamtp-2.5.9.tar.gz with bsdtar
==> Starting build()...
Removing libtool cruft
Running libtoolize
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'
Removing aclocal cruft
Running aclocal -I ./m4 
Removing autoheader cruft
Running autoheader
Removing automake cruft
Running automake
configure.ac:12: installing './compile'
configure.ac:13: installing './config.guess'
configure.ac:13: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
src/Makefile.am: installing './depcomp'
Removing autoconf cruft
Running autoconf
Finished!
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for 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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : 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... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.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 ld... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for the common suffixes of directories in the library search path... lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking For MinGW32... no
configure: API documentation will not be generated
checking for LIBUSB... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for select... yes
checking for socket... yes
checking for socketpair... yes
checking for XML... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... yes
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for the pthreads library -lpthreadGC2... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for getcwd... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for uint8_t in stdint.h... yes
checking whether byte ordering is bigendian... no
checking for le32toh in machine/endian.h... no
checking for ntohl in arpa/inet.h... yes
checking for swap32 in machine/endian.h... no
checking for bswap_32 in byteswap.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/Doxyfile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating libvitamtp.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9'
Making all in src
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-datautils.lo -MD -MP -MF .deps/libvitamtp_la-datautils.Tpo -c -o libvitamtp_la-datautils.lo `test -f 'datautils.c' || echo './'`datautils.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-device.lo -MD -MP -MF .deps/libvitamtp_la-device.Tpo -c -o libvitamtp_la-device.lo `test -f 'device.c' || echo './'`device.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-ptp.lo -MD -MP -MF .deps/libvitamtp_la-ptp.Tpo -c -o libvitamtp_la-ptp.lo `test -f 'ptp.c' || echo './'`ptp.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-usb.lo -MD -MP -MF .deps/libvitamtp_la-usb.Tpo -c -o libvitamtp_la-usb.lo `test -f 'usb.c' || echo './'`usb.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-vitamtp.lo -MD -MP -MF .deps/libvitamtp_la-vitamtp.Tpo -c -o libvitamtp_la-vitamtp.lo `test -f 'vitamtp.c' || echo './'`vitamtp.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-wireless.lo -MD -MP -MF .deps/libvitamtp_la-wireless.Tpo -c -o libvitamtp_la-wireless.lo `test -f 'wireless.c' || echo './'`wireless.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-ptp.lo -MD -MP -MF .deps/libvitamtp_la-ptp.Tpo -c ptp.c  -fPIC -DPIC -o .libs/libvitamtp_la-ptp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-wireless.lo -MD -MP -MF .deps/libvitamtp_la-wireless.Tpo -c wireless.c  -fPIC -DPIC -o .libs/libvitamtp_la-wireless.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-datautils.lo -MD -MP -MF .deps/libvitamtp_la-datautils.Tpo -c datautils.c  -fPIC -DPIC -o .libs/libvitamtp_la-datautils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-usb.lo -MD -MP -MF .deps/libvitamtp_la-usb.Tpo -c usb.c  -fPIC -DPIC -o .libs/libvitamtp_la-usb.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-vitamtp.lo -MD -MP -MF .deps/libvitamtp_la-vitamtp.Tpo -c vitamtp.c  -fPIC -DPIC -o .libs/libvitamtp_la-vitamtp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-device.lo -MD -MP -MF .deps/libvitamtp_la-device.Tpo -c device.c  -fPIC -DPIC -o .libs/libvitamtp_la-device.o
In file included from ptp.h:31,
                 from vitamtp.c:24:
vitamtp.c: In function ‘VitaMTP_SendHttpObjectFromURL’:
gphoto2-endian.h:119:45: warning: right shift count >= width of type [-Wshift-count-overflow]
  119 | #define htole64a(a,x)   (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \
      |                                             ^~
vitamtp.c:315:5: note: in expansion of macro ‘htole64a’
  315 |     htole64a(buffer, len);
      |     ^~~~~~~~
gphoto2-endian.h:119:72: warning: right shift count >= width of type [-Wshift-count-overflow]
  119 | #define htole64a(a,x)   (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \
      |                                                                        ^~
vitamtp.c:315:5: note: in expansion of macro ‘htole64a’
  315 |     htole64a(buffer, len);
      |     ^~~~~~~~
gphoto2-endian.h:120:29: warning: right shift count >= width of type [-Wshift-count-overflow]
  120 |         (a)[5]=(uint8_t)((x)>>40), (a)[4]=(uint8_t)((x)>>32), \
      |                             ^~
vitamtp.c:315:5: note: in expansion of macro ‘htole64a’
  315 |     htole64a(buffer, len);
      |     ^~~~~~~~
gphoto2-endian.h:120:56: warning: right shift count >= width of type [-Wshift-count-overflow]
  120 |         (a)[5]=(uint8_t)((x)>>40), (a)[4]=(uint8_t)((x)>>32), \
      |                                                        ^~
vitamtp.c:315:5: note: in expansion of macro ‘htole64a’
  315 |     htole64a(buffer, len);
      |     ^~~~~~~~
vitamtp.c: In function ‘VitaMTP_SendCopyConfirmationInfoInit’:
vitamtp.c:603:20: warning: unused variable ‘data’ [-Wunused-variable]
  603 |     unsigned char *data = NULL;
      |                    ^~~~
vitamtp.c: At top level:
vitamtp.c:63:26: warning: inline function ‘VitaMTP_Get_PTP_Params’ declared but never defined
   63 | extern inline PTPParams *VitaMTP_Get_PTP_Params(vita_device_t *device);
      |                          ^~~~~~~~~~~~~~~~~~~~~~
datautils.c: In function ‘VitaMTP_Data_Initiator_New’:
datautils.c:247:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
  247 |     asprintf(&version_str, "%d.%d", VITAMTP_VERSION_MAJOR, VITAMTP_VERSION_MINOR);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
datautils.c: In function ‘VitaMTP_Data_Metadata_To_XML’:
datautils.c:489:13: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
  489 |             asprintf(&aspectRatio, "%.6f", current->data.thumbnail.aspectRatio);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
datautils.c: In function ‘VitaMTP_Data_Make_Timestamp’:
datautils.c:76:34: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=]
   76 |     sprintf(str, "%04d-%02d-%02dT%02d:%02d:%02d%s%02d:%02d", tmlocal->tm_year+1900, tmlocal->tm_mon+1, tmlocal->tm_mday,
      |                                  ^~~~
datautils.c:76:18: note: directive argument in the range [0, 596523]
   76 |     sprintf(str, "%04d-%02d-%02dT%02d:%02d:%02d%s%02d:%02d", tmlocal->tm_year+1900, tmlocal->tm_mon+1, tmlocal->tm_mday,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
datautils.c:76:18: note: directive argument in the range [0, 35791394]
In file included from /usr/include/stdio.h:867,
                 from datautils.c:23:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 26 and 88 bytes into a destination of size 27
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-device.lo -MD -MP -MF .deps/libvitamtp_la-device.Tpo -c device.c -o libvitamtp_la-device.o >/dev/null 2>&1
In file included from wireless.c:143:
wireless.c: In function ‘ptp_ptpip_sendreq’:
ptp-pack.c:118:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  118 | #define htod32a(a,x) htod32ap(params,a,x)
      |                      ^~~~~~~~~~~~~~~~~~~~
wireless.c:178:9: note: in expansion of macro ‘htod32a’
  178 |         htod32a(&request[ptpip_cmd_param5],req->Param5);
      |         ^~~~~~~
wireless.c:180:5: note: here
  180 |     case 4:
      |     ^~~~
In file included from wireless.c:143:
ptp-pack.c:118:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  118 | #define htod32a(a,x) htod32ap(params,a,x)
      |                      ^~~~~~~~~~~~~~~~~~~~
wireless.c:181:9: note: in expansion of macro ‘htod32a’
  181 |         htod32a(&request[ptpip_cmd_param4],req->Param4);
      |         ^~~~~~~
wireless.c:183:5: note: here
  183 |     case 3:
      |     ^~~~
In file included from wireless.c:143:
ptp-pack.c:118:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  118 | #define htod32a(a,x) htod32ap(params,a,x)
      |                      ^~~~~~~~~~~~~~~~~~~~
wireless.c:184:9: note: in expansion of macro ‘htod32a’
  184 |         htod32a(&request[ptpip_cmd_param3],req->Param3);
      |         ^~~~~~~
wireless.c:186:5: note: here
  186 |     case 2:
      |     ^~~~
In file included from wireless.c:143:
ptp-pack.c:118:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  118 | #define htod32a(a,x) htod32ap(params,a,x)
      |                      ^~~~~~~~~~~~~~~~~~~~
wireless.c:187:9: note: in expansion of macro ‘htod32a’
  187 |         htod32a(&request[ptpip_cmd_param2],req->Param2);
      |         ^~~~~~~
wireless.c:189:5: note: here
  189 |     case 1:
      |     ^~~~
wireless.c: In function ‘ptp_ptpip_getresp’:
wireless.c:595:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  595 |         resp->Param5 = dtoh32a(&data[ptpip_resp_param5]);
wireless.c:597:5: note: here
  597 |     case 4:
      |     ^~~~
wireless.c:598:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  598 |         resp->Param4 = dtoh32a(&data[ptpip_resp_param4]);
wireless.c:600:5: note: here
  600 |     case 3:
      |     ^~~~
wireless.c:601:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  601 |         resp->Param3 = dtoh32a(&data[ptpip_resp_param3]);
wireless.c:603:5: note: here
  603 |     case 2:
      |     ^~~~
wireless.c:604:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  604 |         resp->Param2 = dtoh32a(&data[ptpip_resp_param2]);
wireless.c:606:5: note: here
  606 |     case 1:
      |     ^~~~
wireless.c: In function ‘ptp_ptpip_event’:
wireless.c:811:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  811 |         event->Param3 = dtoh32a(&data[ptpip_event_param3]);
wireless.c:813:5: note: here
  813 |     case 2:
      |     ^~~~
wireless.c:814:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  814 |         event->Param2 = dtoh32a(&data[ptpip_event_param2]);
wireless.c:816:5: note: here
  816 |     case 1:
      |     ^~~~
In file included from ptp.c:104:
ptp-pack.c: In function ‘ptp_unpack_CANON_changes’:
ptp-pack.c:1743:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1743 |    if (size >= 0xc) { /* property info */
      |       ^
ptp-pack.c:2002:3: note: here
 2002 |   case PTP_EC_CANON_EOS_OLCInfoChanged: {
      |   ^~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-datautils.lo -MD -MP -MF .deps/libvitamtp_la-datautils.Tpo -c datautils.c -o libvitamtp_la-datautils.o >/dev/null 2>&1
mv -f .deps/libvitamtp_la-device.Tpo .deps/libvitamtp_la-device.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-vitamtp.lo -MD -MP -MF .deps/libvitamtp_la-vitamtp.Tpo -c vitamtp.c -o libvitamtp_la-vitamtp.o >/dev/null 2>&1
mv -f .deps/libvitamtp_la-datautils.Tpo .deps/libvitamtp_la-datautils.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-usb.lo -MD -MP -MF .deps/libvitamtp_la-usb.Tpo -c usb.c -o libvitamtp_la-usb.o >/dev/null 2>&1
mv -f .deps/libvitamtp_la-vitamtp.Tpo .deps/libvitamtp_la-vitamtp.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-wireless.lo -MD -MP -MF .deps/libvitamtp_la-wireless.Tpo -c wireless.c -o libvitamtp_la-wireless.o >/dev/null 2>&1
mv -f .deps/libvitamtp_la-usb.Tpo .deps/libvitamtp_la-usb.Plo
mv -f .deps/libvitamtp_la-wireless.Tpo .deps/libvitamtp_la-wireless.Plo
In file included from /usr/include/string.h:494,
                 from ptp.c:37:
In function ‘strncpy’,
    inlined from ‘ptp_nikon_getwifiprofilelist’ at ptp.c:3452:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘ptp_nikon_getwifiprofilelist’ at ptp.c:3458:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘ptp_nikon_writewifiprofile’ at ptp.c:3541:2:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘ptp_nikon_writewifiprofile’ at ptp.c:3564:2:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT libvitamtp_la-ptp.lo -MD -MP -MF .deps/libvitamtp_la-ptp.Tpo -c ptp.c -o libvitamtp_la-ptp.o >/dev/null 2>&1
mv -f .deps/libvitamtp_la-ptp.Tpo .deps/libvitamtp_la-ptp.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/include/libxml2  -I/usr/include/libusb-1.0  -DPTP_USB_SUPPORT -DPTP_IP_SUPPORT -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -lxml2  -lusb-1.0  -lpthread    -no-undefined -export-symbols-regex "VitaMTP_[0-9A-Za-z_]+" -version-info 5:1:0  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o libvitamtp.la -rpath /usr/lib libvitamtp_la-datautils.lo libvitamtp_la-device.lo libvitamtp_la-ptp.lo libvitamtp_la-usb.lo libvitamtp_la-vitamtp.lo libvitamtp_la-wireless.lo   
libtool: link: /usr/bin/nm -B  .libs/libvitamtp_la-datautils.o .libs/libvitamtp_la-device.o .libs/libvitamtp_la-ptp.o .libs/libvitamtp_la-usb.o .libs/libvitamtp_la-vitamtp.o .libs/libvitamtp_la-wireless.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libvitamtp.exp
libtool: link: /usr/bin/grep -E -e "VitaMTP_[0-9A-Za-z_]+" ".libs/libvitamtp.exp" > ".libs/libvitamtp.expT"
libtool: link: mv -f ".libs/libvitamtp.expT" ".libs/libvitamtp.exp"
libtool: link: echo "{ global:" > .libs/libvitamtp.ver
libtool: link:  cat .libs/libvitamtp.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libvitamtp.ver
libtool: link:  echo "local: *; };" >> .libs/libvitamtp.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/libvitamtp_la-datautils.o .libs/libvitamtp_la-device.o .libs/libvitamtp_la-ptp.o .libs/libvitamtp_la-usb.o .libs/libvitamtp_la-vitamtp.o .libs/libvitamtp_la-wireless.o   -lxml2 -lusb-1.0 -lpthread  -pthread -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now   -pthread -Wl,-soname -Wl,libvitamtp.so.5 -Wl,-version-script -Wl,.libs/libvitamtp.ver -o .libs/libvitamtp.so.5.0.1
libtool: link: (cd ".libs" && rm -f "libvitamtp.so.5" && ln -s "libvitamtp.so.5.0.1" "libvitamtp.so.5")
libtool: link: (cd ".libs" && rm -f "libvitamtp.so" && ln -s "libvitamtp.so.5.0.1" "libvitamtp.so")
libtool: link: ar cr .libs/libvitamtp.a  libvitamtp_la-datautils.o libvitamtp_la-device.o libvitamtp_la-ptp.o libvitamtp_la-usb.o libvitamtp_la-vitamtp.o libvitamtp_la-wireless.o
libtool: link: ranlib .libs/libvitamtp.a
libtool: link: ( cd ".libs" && rm -f "libvitamtp.la" && ln -s "../libvitamtp.la" "libvitamtp.la" )
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
Making all in doc
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9'
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9'
make[1]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
 /usr/bin/mkdir -p '/build/libvitamtp/pkg/libvitamtp/usr/lib'
 /usr/bin/mkdir -p '/build/libvitamtp/pkg/libvitamtp/usr/include'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libvitamtp.la '/build/libvitamtp/pkg/libvitamtp/usr/lib'
 /usr/bin/install -c -m 644 vitamtp.h '/build/libvitamtp/pkg/libvitamtp/usr/include'
libtool: install: /usr/bin/install -c .libs/libvitamtp.so.5.0.1 /build/libvitamtp/pkg/libvitamtp/usr/lib/libvitamtp.so.5.0.1
libtool: install: (cd /build/libvitamtp/pkg/libvitamtp/usr/lib && { ln -s -f libvitamtp.so.5.0.1 libvitamtp.so.5 || { rm -f libvitamtp.so.5 && ln -s libvitamtp.so.5.0.1 libvitamtp.so.5; }; })
libtool: install: (cd /build/libvitamtp/pkg/libvitamtp/usr/lib && { ln -s -f libvitamtp.so.5.0.1 libvitamtp.so || { rm -f libvitamtp.so && ln -s libvitamtp.so.5.0.1 libvitamtp.so; }; })
libtool: install: /usr/bin/install -c .libs/libvitamtp.lai /build/libvitamtp/pkg/libvitamtp/usr/lib/libvitamtp.la
libtool: install: /usr/bin/install -c .libs/libvitamtp.a /build/libvitamtp/pkg/libvitamtp/usr/lib/libvitamtp.a
libtool: install: chmod 644 /build/libvitamtp/pkg/libvitamtp/usr/lib/libvitamtp.a
libtool: install: ranlib /build/libvitamtp/pkg/libvitamtp/usr/lib/libvitamtp.a
libtool: warning: remember to run 'libtool --finish /usr/lib'
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
make[1]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/src'
Making install in doc
make[1]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[1]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9/doc'
make[1]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9'
make[2]: Entering directory '/build/libvitamtp/src/vitamtp-2.5.9'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/libvitamtp/pkg/libvitamtp/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 libvitamtp.pc '/build/libvitamtp/pkg/libvitamtp/usr/lib/pkgconfig'
make[2]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9'
make[1]: Leaving directory '/build/libvitamtp/src/vitamtp-2.5.9'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libvitamtp"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libvitamtp 2.5.9-1 (Wed 18 Dec 2019 06:22:44 PM)
==> Installing package libvitamtp with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) libvitamtp-2.5.9-1

Total Installed Size:  0.24 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
:: Processing package changes...
(1/1) installing libvitamtp                                                                                        [####################################################################] 100%
NOTE: To use qcma as normal user you have to add yourself into vitamtp group
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
  Skipped: Device manager is not running.
(2/2) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...

Packages (7) elfutils-0.177-2  libnsl-1.2.0-2  licenses-20191011-2  pyalpm-0.9.0-3  python-3.8.0-1  python-pyelftools-0.25-3  namcap-3.2.10-1

Total Download Size:     0.09 MiB
Total Installed Size:  155.43 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 namcap-3.2.10-1-any                                                                    90.3 KiB  2.00 MiB/s 00:00 [####################################################################] 100%
(7/7) checking keys in keyring                                                                                     [####################################################################] 100%
(7/7) checking package integrity                                                                                   [####################################################################] 100%
(7/7) loading package files                                                                                        [####################################################################] 100%
(7/7) checking for file conflicts                                                                                  [####################################################################] 100%
:: Processing package changes...
(1/7) installing libnsl                                                                                            [####################################################################] 100%
(2/7) installing python                                                                                            [####################################################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(3/7) installing pyalpm                                                                                            [####################################################################] 100%
(4/7) installing licenses                                                                                          [####################################################################] 100%
(5/7) installing elfutils                                                                                          [####################################################################] 100%
(6/7) installing python-pyelftools                                                                                 [####################################################################] 100%
(7/7) installing namcap                                                                                            [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking libvitamtp-2.5.9-1-x86_64.pkg.tar.xz
==> Running checkpkg
  -> Downloading current versions
error: target not found: libvitamtp
==> WARNING: Skipped checkpkg due to missing packages

Offline

#5 2019-12-18 18:29:26

singha95
Member
Registered: 2019-12-18
Posts: 5

Re: [SOLVED] syntax error near unexpected token `LIBUSB,'

I found my mistake. I was using the developers github instructions and running the .configure file manually. Pulling the AUR repo and running the makepkg -si command works. Marking as resolved.

Last edited by singha95 (2019-12-18 18:29:46)

Offline

Board footer

Powered by FluxBB