pkgsrc-Users archive

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

Compiling pkgin on Ubuntu 12.04



I am not sure what is going on here. pkgin used to compile on Ubuntu
LTS, now it's not. Why is it using git, looking for a Makefile in
/home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile ?!

The same code compiles inb CentOS 5 and CentOS 6 without a hitch. Any
idea what is going on?


This is 2013Q2 from pkgtools/pkgin, but I get the same errors from the
current wip/pkgin

===> Building for pkgin-0.6.4
fatal: Not a git repository (or any of the parent directories): .git
bmake:
"/usr/pkgsrc/work/pkgtools/pkgin/work/pkgin-3859170568fbe4fe21b5660dbaeca8d65ac10f1b/Makefile"
line 110: warning: "git log --pretty=format:'%H' -n 1" returned non-zero
status
sed: can't read /home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile: No such
file or directory
bmake:
"/usr/pkgsrc/work/pkgtools/pkgin/work/pkgin-3859170568fbe4fe21b5660dbaeca8d65ac10f1b/Makefile"
line 112: warning: "sed -En 's/VERSION=[^0-9a-z]+([0-9a-z]+)/\1/p'
/home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile" returned non-zero
status
gcc -O2 -Wno-error -I/usr/pkg/include -Wno-error  -Werror
-DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/pkgtools/pkgin/work/libnbcompat
-I/usr/pkg/include -DPKGIN_VERSION=\""0.6.4 for Linux-3.2.0-52-generic
x86_64"\" -DHAVE_NBCOMPAT_H=1
-I/usr/pkgsrc/work/pkgtools/pkgin/work/libnbcompat -I/usr/pkg/include -g
-DLOCALBASE=\"/usr/pkg\"
-DPKG_SYSCONFDIR=\"/usr/pkg/etc\"
-DPKG_DBDIR="\"/usr/pkg/var/db/pkg\""
-DDEF_LOG_DIR="\"/usr/pkg/var/db/pkg\""
-DPKGIN_DB=\"/usr/pkg/var/db/pkgin\"
-DPKGTOOLS=\"/usr/pkg/sbin\" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
-D_LARGE_FILES -DCHECK_MACHINE_ARCH=\"x86_64\" -Iexternal -I.
-I/usr/pkg/include -c main.c
main.c: In function 'missing_param':
main.c:307:3: error: format not a string literal and no format arguments
[-Werror=format-security]
cc1: all warnings being treated as errors
*** Error code 1

Stop.
bmake: stopped in
/usr/pkgsrc/work/pkgtools/pkgin/work/pkgin-3859170568fbe4fe21b5660dbaeca8d65ac10f1b
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin


Home | Main Index | Thread Index | Old Index