Skip to content

Instantly share code, notes, and snippets.

@stevenroose
Created April 6, 2016 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenroose/b099082eeba5cca0117af7c55dc706d2 to your computer and use it in GitHub Desktop.
Save stevenroose/b099082eeba5cca0117af7c55dc706d2 to your computer and use it in GitHub Desktop.
$ packer -S libjson-rpc-cpp-git
Aur Targets (2): argtable libjson-rpc-cpp-git
Proceed with installation? [Y/n]
Edit argtable PKGBUILD with $EDITOR? [Y/n] n
==> Making package: argtable 2.13-1 (Wed Apr 6 12:44:22 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found argtable2-13.tar.gz
==> Validating source files with sha1sums...
argtable2-13.tar.gz ... Passed
==> Extracting sources...
-> Extracting argtable2-13.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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 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 for style of include used by make... GNU
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... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for strftime... yes
checking for working strtod... yes
checking for bzero... yes
checking for strchr... yes
checking for strcspn... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt_long... yes
checking for regcomp... yes
checking for strptime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating example/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/argtable2.3
config.status: creating doc/argtable2.html
config.status: creating tests/Makefile
config.status: creating argtable2.pc
config.status: creating argtable2-uninstalled.pc
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
make all-am
make[2]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
make[2]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
Making all in tests
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
Making all in doc
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
cp argtable2.3 argtable.3
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
==> Entering fakeroot environment...
==> Starting package_argtable()...
Making install in src
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
make[2]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
test -z "/usr/lib" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libargtable2.la' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.la'
libtool: install: /usr/bin/install -c .libs/libargtable2.so.0.1.8 /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.so.0.1.8
libtool: install: (cd /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib && { ln -s -f libargtable2.so.0.1.8 libargtable2.so.0 || { rm -f libargtable2.so.0 && ln -s libargtable2.so.0.1.8 libargtable2.so.0; }; })
libtool: install: (cd /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib && { ln -s -f libargtable2.so.0.1.8 libargtable2.so || { rm -f libargtable2.so && ln -s libargtable2.so.0.1.8 libargtable2.so; }; })
libtool: install: /usr/bin/install -c .libs/libargtable2.lai /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.la
libtool: install: /usr/bin/install -c .libs/libargtable2.a /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.a
libtool: install: chmod 644 /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.a
libtool: install: ranlib /tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/libargtable2.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/include" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/include"
/usr/bin/install -c -m 644 'argtable2.h' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/include/argtable2.h'
make[2]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/src'
Making install in tests
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
make[2]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/tests'
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
make[2]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/lib/pkgconfig" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/pkgconfig"
/usr/bin/install -c -m 644 'argtable2.pc' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable//usr/lib/pkgconfig/argtable2.pc'
make[2]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13'
==> 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 issue...
==> Creating package "argtable"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding changelog file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_argtable-docs()...
make: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
make[1]: Entering directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
make[1]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/doc/argtable2" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2"
/usr/bin/install -c -m 644 'argtable2-advanced.html' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-advanced.html'
/usr/bin/install -c -m 644 'argtable2-advanced.pdf' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-advanced.pdf'
/usr/bin/install -c -m 644 'argtable2-advanced.ps' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-advanced.ps'
/usr/bin/install -c -m 644 'argtable2-intro.html' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-intro.html'
/usr/bin/install -c -m 644 'argtable2-intro.pdf' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-intro.pdf'
/usr/bin/install -c -m 644 'argtable2-intro.ps' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2-intro.ps'
/usr/bin/install -c -m 644 'argtable2.html' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2.html'
/usr/bin/install -c -m 644 'argtable2.pdf' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2.pdf'
/usr/bin/install -c -m 644 'argtable2.ps' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argtable2.ps'
/usr/bin/install -c -m 644 'argxxx.gif' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/argxxx.gif'
/usr/bin/install -c -m 644 'arg_int.gif' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/arg_int.gif'
test -z "/usr/share/man/man3" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/man/man3"
/usr/bin/install -c -m 644 'argtable2.3' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/man/man3/argtable2.3'
/usr/bin/install -c -m 644 'argtable.3' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/man/man3/argtable.3'
make[1]: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
make: Leaving directory '/tmp/packerbuild-1000/argtable/argtable/src/argtable2-13/doc'
test -z "/usr/share/doc/argtable2/example" || /usr/bin/mkdir -p "/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example"
/usr/bin/install -c -m 644 'example/Makefile' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/Makefile'
/usr/bin/install -c -m 644 'example/README.txt' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/README.txt'
/usr/bin/install -c -m 644 'example/argcustom.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/argcustom.c'
/usr/bin/install -c -m 644 'example/argxxx.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/argxxx.c'
/usr/bin/install -c -m 644 'example/argxxx.h' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/argxxx.h'
/usr/bin/install -c -m 644 'example/callbacks.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/callbacks.c'
/usr/bin/install -c -m 644 'example/echo.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/echo.c'
/usr/bin/install -c -m 644 'example/hasoptvalue.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/hasoptvalue.c'
/usr/bin/install -c -m 644 'example/ls.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/ls.c'
/usr/bin/install -c -m 644 'example/multisyntax.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/multisyntax.c'
/usr/bin/install -c -m 644 'example/mv.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/mv.c'
/usr/bin/install -c -m 644 'example/myprog.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/myprog.c'
/usr/bin/install -c -m 644 'example/myprog_C89.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/myprog_C89.c'
/usr/bin/install -c -m 644 'example/rm.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/rm.c'
/usr/bin/install -c -m 644 'example/uname.c' '/tmp/packerbuild-1000/argtable/argtable/pkg/argtable-docs//usr/share/doc/argtable2/example/uname.c'
==> 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 issue...
==> Creating package "argtable-docs"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding changelog file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: argtable 2.13-1 (Wed Apr 6 12:44:28 CEST 2016)
loading packages...
error: 'argtable-docs-2.13-1-any.pkg.tar.xz': duplicate target
Dependencies for `libjson-rpc-cpp-git' are not met, not building...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment