Log
[1m===> Building for pmk-0.10.4[0m
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o common.o -c common.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o compat.o -c compat.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o dynarray.o -c dynarray.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o hash.o -c hash.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pathtools.o -c pathtools.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmk_obj.o -c pmk_obj.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmkinstall.o -c pmkinstall.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o autoconf.o -c autoconf.c
common.c:617:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(pmk_log_fp, buf);
^~~
common.c:619:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(stdout, buf);
^~~
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o cfgtool.o -c cfgtool.c
autoconf.c:495:42: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
if (strncmp(pstr, HW_ENDIAN_BIG, sizeof(pstr)) == 0) {
~~~~ ^~~~
autoconf.c:495:42: note: did you mean to provide an explicit length?
if (strncmp(pstr, HW_ENDIAN_BIG, sizeof(pstr)) == 0) {
^~~~
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o codebuild.o -c codebuild.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o detect.o -c detect.c
2 warnings generated.
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o func.o -c func.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o functool.o -c functool.c
1 warning generated.
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o hash_tools.o -c hash_tools.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o lang.o -c lang.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o parse.o -c parse.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pkgconfig.o -c pkgconfig.c
func.c:1927:38: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
if (strncmp(value, varval, sizeof(varval)) == 0) {
~~~~~~ ^~~~~~
func.c:1927:38: note: did you mean to provide an explicit length?
if (strncmp(value, varval, sizeof(varval)) == 0) {
^~~~~~
detect.c:391:35: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
if (strncmp(osname, name, sizeof(osname)) != 0) {
~~~~~~ ^~~~~~
detect.c:391:35: note: did you mean to provide an explicit length?
if (strncmp(osname, name, sizeof(osname)) != 0) {
^~~~~~
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmk.o -c pmk.c
1 warning generated.
parse.c:748:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (size < 0) {
~~~~ ^ ~
parse.c:1939:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (s < 0) {
~ ^ ~
pkgconfig.c:431:48: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
if (strncmp(kword, kw_pkg[i].kw_name, sizeof(kword)) == 0) {
~~~~~ ^~~~~
pkgconfig.c:431:48: note: did you mean to provide an explicit length?
if (strncmp(kword, kw_pkg[i].kw_name, sizeof(kword)) == 0) {
^~~~~
pmk.c:877:5: warning: expression result unused [-Wunused-value]
*ovrsw++; /* increment number of overriden switches */
^~~~~~~~
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o prseng.o -c prseng.c
2 warnings generated.
1 warning generated.
1 warning generated.
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o tags.o -c tags.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmkpc.o -c pmkpc.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o parse_lang.o -c parse_lang.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmkscan.o -c pmkscan.c
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o detect_cpu.o -c detect_cpu.c
/usr/bin/cpp detect_cpu_asm.s | sed '/^#/d' > tmp_asm.s
cpp: warning: detect_cpu_asm.s: 'assembler' input unused in cpp mode
/usr/bin/as -o detect_cpu_asm.o tmp_asm.s
rm -rf tmp_asm.s
/usr/bin/cc -O2 -pipe -DDATADIR=\"/usr/local/share/\" -DPRIVSEP_USER=\"nobody\" -DSYSCONFDIR=\"/usr/local/etc\" -DCONFDIR=\"/usr/local/etc/pmk\" -o pmksetup.o -c pmksetup.c
pmkscan.c:2967:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(fp, buf);
^~~
pmkscan.c:3115:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
1 warning generated.
fprintf(fp, buf);
^~~
pmkscan.c:3147:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(fp, buf);
^~~
pmkscan.c:3841:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(fp, buf);
^~~
/usr/bin/cc -lm -o pmk autoconf.o cfgtool.o codebuild.o common.o compat.o detect.o dynarray.o func.o functool.o hash.o hash_tools.o lang.o parse.o pathtools.o pkgconfig.o pmk.o pmk_obj.o prseng.o tags.o
/usr/bin/cc -lm -o pmkinstall common.o compat.o dynarray.o hash.o pathtools.o pmk_obj.o pmkinstall.o
/usr/bin/cc -lm -o pmkpc cfgtool.o common.o compat.o dynarray.o hash.o hash_tools.o parse.o pkgconfig.o pmk_obj.o pmkpc.o prseng.o
/usr/bin/cc -lm -o pmksetup common.o compat.o detect_cpu.o detect_cpu_asm.o dynarray.o hash.o parse.o pmk_obj.o pmksetup.o prseng.o
detect_cpu.o: In function `x86_get_cpuid_data':
detect_cpu.c:(.text+0x40b): undefined reference to `x86_check_cpuid_flag'
detect_cpu.c:(.text+0x41e): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x424): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x42e): undefined reference to `x86_cpu_reg_ebx'
detect_cpu.c:(.text+0x441): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x44d): undefined reference to `x86_cpu_reg_ecx'
detect_cpu.c:(.text+0x481): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x487): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x497): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x4a4): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x4de): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x54e): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x596): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x59d): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x5b0): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x5de): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x643): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x649): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x655): undefined reference to `x86_cpu_reg_ebx'
detect_cpu.c:(.text+0x661): undefined reference to `x86_cpu_reg_ecx'
detect_cpu.c:(.text+0x66d): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x67d): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x683): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x68f): undefined reference to `x86_cpu_reg_ebx'
detect_cpu.c:(.text+0x69b): undefined reference to `x86_cpu_reg_ecx'
detect_cpu.c:(.text+0x6a7): undefined reference to `x86_cpu_reg_edx'
detect_cpu.c:(.text+0x6b7): undefined reference to `x86_exec_cpuid'
detect_cpu.c:(.text+0x6c4): undefined reference to `x86_cpu_reg_eax'
detect_cpu.c:(.text+0x6d0): undefined reference to `x86_cpu_reg_ebx'
detect_cpu.c:(.text+0x6dc): undefined reference to `x86_cpu_reg_ecx'
detect_cpu.c:(.text+0x6e8): undefined reference to `x86_cpu_reg_edx'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pmksetup] Error code 1
4 warnings generated.
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/mports/devel/pmk.