Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2013 11:41:47 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        pkg@FreeBSD.org
Subject:   Problem with pkg-1.1.4 on MIPS
Message-ID:  <521339DB.8080707@dat.pl>

next in thread | raw e-mail | index | archive | help
I'm trying to compile pkg on my RSPRO MIPS board and I stopped on:

root@RSPRO:/usr/ports/ports-mgmt/pkg# make
===>  Building for pkg-1.1.4_1
===> external (all)
===> external/sqlite (all)
Warning: Object directory not changed from original 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/external/sqlite
===> libpkg (all)
Warning: Object directory not changed from original 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg
cc  -O -pipe -G0 -G0  -DDEFAULT_MIRROR_TYPE=1 -std=c99 
-I/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg 
-I/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg/../external/sqlite 
-I/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg/../external/uthash 
-DPREFIX=\"/usr/local\" -std=gnu99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c pkg_elf.c -o pkg_elf.o
In file included from pkg_elf.c:54:
private/elf_tables.h:62:1: error: "EF_MIPS_ABI" redefined
In file included from /usr/include/sys/elf.h:37,
                  from /usr/include/sys/link_elf.h:44,
                  from /usr/include/link.h:33,
                  from pkg_elf.c:44:
/usr/include/machine/elf.h:282:1: error: this is the location of the 
previous definition
*** [pkg_elf.o] Error code 1

make: stopped in 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg
1 error

make: stopped in 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/libpkg
===> pkg (all)
A failure has been detected in another branch of the parallel make

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg
===> scripts (all)
A failure has been detected in another branch of the parallel make

make: stopped in 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/scripts
===> pkg-static (all)
A failure has been detected in another branch of the parallel make

make: stopped in 
/data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg-static
===> tests (all)
A failure has been detected in another branch of the parallel make

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/tests
*** [all] Error code 2

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4
1 error

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
root@RSPRO:/usr/ports/ports-mgmt/pkg# set | grep MAKE
MAKE_JOBS_UNSAFE        yes

I'm trying to build that on -CURRENT r253582.

Regards,
Maciej Milewski

-- 
Pozdrawiam,
Maciej Milewski




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521339DB.8080707>