1. [jeff@jeff-desktop package-query]$ makepkg -s
  2. ==> Making package: package-query 0.5.1-1 (Thu Apr 14 18:59:53 CDT 2011)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving Sources...
  6. -> Downloading package-query-0.5.1.tar.gz...
  7. --2011-04-14 18:59:53-- http://mir.archlinux.fr/~tuxce/releases/package-query/package-query-0.5.1.tar.gz
  8. Resolving mir.archlinux.fr... 213.186.62.207
  9. Connecting to mir.archlinux.fr|213.186.62.207|:80... connected.
  10. HTTP request sent, awaiting response... 200 OK
  11. Length: 69911 (68K) [application/x-gzip]
  12. Saving to: “package-query-0.5.1.tar.gz.part”
  13.  
  14. 100%[======================================>] 69,911 118K/s in 0.6s
  15.  
  16. 2011-04-14 18:59:54 (118 KB/s) - “package-query-0.5.1.tar.gz.part” saved [69911/69911]
  17.  
  18. ==> Validating source files with md5sums...
  19. package-query-0.5.1.tar.gz ... Passed
  20. ==> Extracting Sources...
  21. -> Extracting package-query-0.5.1.tar.gz with bsdtar
  22. ==> Starting build()...
  23. checking for a BSD-compatible install... /bin/install -c
  24. checking whether build environment is sane... yes
  25. checking for a thread-safe mkdir -p... /bin/mkdir -p
  26. checking for gawk... gawk
  27. checking whether make sets $(MAKE)... yes
  28. checking for gcc... gcc
  29. checking whether the C compiler works... yes
  30. checking for C compiler default output file name... a.out
  31. checking for suffix of executables...
  32. checking whether we are cross compiling... no
  33. checking for suffix of object files... o
  34. checking whether we are using the GNU C compiler... yes
  35. checking whether gcc accepts -g... yes
  36. checking for gcc option to accept ISO C89... none needed
  37. checking for style of include used by make... GNU
  38. checking dependency style of gcc... gcc3
  39. checking build system type... i686-pc-linux-gnu
  40. checking host system type... i686-pc-linux-gnu
  41. checking how to print strings... printf
  42. checking for a sed that does not truncate output... /bin/sed
  43. checking for grep that handles long lines and -e... /bin/grep
  44. checking for egrep... /bin/grep -E
  45. checking for fgrep... /bin/grep -F
  46. checking for ld used by gcc... /usr/bin/ld
  47. checking if the linker (/usr/bin/ld) is GNU ld... yes
  48. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  49. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  50. checking whether ln -s works... yes
  51. checking the maximum length of command line arguments... 1572864
  52. checking whether the shell understands some XSI constructs... yes
  53. checking whether the shell understands "+="... yes
  54. checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
  55. checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  56. checking for /usr/bin/ld option to reload object files... -r
  57. checking for objdump... objdump
  58. checking how to recognize dependent libraries... pass_all
  59. checking for dlltool... no
  60. checking how to associate runtime and link libraries... printf %s\n
  61. checking for ar... ar
  62. checking for archiver @FILE support... @
  63. checking for strip... strip
  64. checking for ranlib... ranlib
  65. checking command to parse /usr/bin/nm -B output from gcc object... ok
  66. checking for sysroot... no
  67. checking for mt... no
  68. checking if : is a manifest tool... no
  69. checking how to run the C preprocessor... gcc -E
  70. checking for ANSI C header files... yes
  71. checking for sys/types.h... yes
  72. checking for sys/stat.h... yes
  73. checking for stdlib.h... yes
  74. checking for string.h... yes
  75. checking for memory.h... yes
  76. checking for strings.h... yes
  77. checking for inttypes.h... yes
  78. checking for stdint.h... yes
  79. checking for unistd.h... yes
  80. checking for dlfcn.h... yes
  81. checking for objdir... .libs
  82. checking if gcc supports -fno-rtti -fno-exceptions... no
  83. checking for gcc option to produce PIC... -fPIC -DPIC
  84. checking if gcc PIC flag -fPIC -DPIC works... yes
  85. checking if gcc static flag -static works... yes
  86. checking if gcc supports -c -o file.o... yes
  87. checking if gcc supports -c -o file.o... (cached) yes
  88. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  89. checking whether -lc should be explicitly linked in... no
  90. checking dynamic linker characteristics... GNU/Linux ld.so
  91. checking how to hardcode library paths into programs... immediate
  92. checking whether stripping libraries is possible... yes
  93. checking if libtool supports shared libraries... yes
  94. checking whether to build shared libraries... yes
  95. checking whether to build static libraries... yes
  96. checking ctype.h usability... yes
  97. checking ctype.h presence... yes
  98. checking for ctype.h... yes
  99. checking getopt.h usability... yes
  100. checking getopt.h presence... yes
  101. checking for getopt.h... yes
  102. checking libintl.h usability... yes
  103. checking libintl.h presence... yes
  104. checking for libintl.h... yes
  105. checking limits.h usability... yes
  106. checking limits.h presence... yes
  107. checking for limits.h... yes
  108. checking locale.h usability... yes
  109. checking locale.h presence... yes
  110. checking for locale.h... yes
  111. checking sys/ioctl.h usability... yes
  112. checking sys/ioctl.h presence... yes
  113. checking for sys/ioctl.h... yes
  114. checking sys/utsname.h usability... yes
  115. checking sys/utsname.h presence... yes
  116. checking for sys/utsname.h... yes
  117. checking for alpm_version in -lalpm... yes
  118. checking for yajl_free in -lyajl... yes
  119. checking whether to link with libfetch... no
  120. checking for pkg-config... /usr/bin/pkg-config
  121. checking pkg-config is at least version 0.9.0... yes
  122. checking for LIBCURL... yes
  123. checking for git... git
  124. checking for .git/... no
  125. configure: creating ./config.status
  126. config.status: creating src/Makefile
  127. config.status: creating doc/Makefile
  128. config.status: creating Makefile
  129. config.status: creating config.h
  130. config.status: executing depfiles commands
  131. config.status: executing libtool commands
  132.  
  133. package-query:
  134.  
  135. Build information:
  136. source code location : .
  137. prefix : /usr
  138. sysconfdir : /etc
  139. conf file : /etc/pacman.conf
  140. localstatedir : /var
  141. database dir : /var/lib/pacman/
  142. compiler : gcc
  143. compiler flags : -march=i686 -mtune=generic -O2 -pipe
  144.  
  145. package-query version : 0.5.1
  146. using git version : no
  147. git ver :
  148.  
  149. Variable information:
  150. root working directory : /
  151. aur base url : https://aur.archlinux.org
  152.  
  153. Compilation options:
  154. Use libfetch : no
  155.  
  156. make all-recursive
  157. make[1]: Entering directory `/home/jeff/builds/package-query/src/package-query-0.5.1'
  158. Making all in src
  159. make[2]: Entering directory `/home/jeff/builds/package-query/src/package-query-0.5.1/src'
  160. gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
  161. mv -f .deps/aur.Tpo .deps/aur.Po
  162. gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
  163. alpm-query.c: In function ‘init_db_local’:
  164. alpm-query.c:79:31: warning: comparison between pointer and integer
  165. mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
  166. gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
  167. mv -f .deps/util.Tpo .deps/util.Po
  168. gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
  169. mv -f .deps/color.Tpo .deps/color.Po
  170. gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
  171. mv -f .deps/package-query.Tpo .deps/package-query.Po
  172. /bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -lcurl -Wl,--hash-style=gnu -Wl,--as-needed -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
  173. libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
  174. alpm-query.o: In function `init_db_local':
  175. alpm-query.c:(.text+0x1f7): undefined reference to `alpm_db_register_local'
  176. collect2: ld returned 1 exit status
  177. make[2]: *** [package-query] Error 1
  178. make[2]: Leaving directory `/home/jeff/builds/package-query/src/package-query-0.5.1/src'
  179. make[1]: *** [all-recursive] Error 1
  180. make[1]: Leaving directory `/home/jeff/builds/package-query/src/package-query-0.5.1'
  181. make: *** [all] Error 2
  182. ==> ERROR: A failure occurred in build().
  183. Aborting...
  184. [jeff@jeff-desktop package-query]$