pkgsrc-Users archive

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

Re: pkgsrc on PPC64 linux




On Jan 3, 2018, at 5:27 PM, Joerg Sonnenberger wrote:

On Wed, Jan 03, 2018 at 03:37:11PM -0500, Al Zick wrote:
I installed pkgsrc on PPC64 linux (e5500 cpu). It works with
pkgsrc-2016Q2.tar.gz, although many packages fail to build. However, a
recent pkgsrc failed to build anything even though I had a successful
bootstrap. It sounds like it can't find C.

Look into config.log for the details.

Joerg


Hi Joerg,

Here is my config.log:

cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tcsh configure 6.20.00, which was
generated by GNU Autoconf 2.69.  Invocation command line was

$ ./configure --prefix=/usr/pkg --build=ppc64-debian-linux -- host=ppc64-debian-linux --mandir=/usr/pkg/man

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = ppc64
uname -r = 4.14.0-X5000-jm
uname -s = Linux
uname -v = #10 SMP PREEMPT Mon Nov 20 17:26:02 AST 2017

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/pkgsrc/shells/tcsh/work/.cwrapper/bin
PATH: /usr/pkgsrc/shells/tcsh/work/.buildlink/bin
PATH: /usr/pkgsrc/shells/tcsh/work/.gcc/bin
PATH: /usr/pkgsrc/shells/tcsh/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /snap/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2575: checking for a BSD-compatible install
configure:2643: result: /usr/bin/install -c -o root -g root
configure:2658: checking build system type
configure:2672: result: powerpc64-debian-linux-gnu
configure:2692: checking host system type
configure:2705: result: powerpc64-debian-linux-gnu
configure:2726: checking cached host tuple
configure:2734: result: ok
configure:3003: checking for ppc64-debian-linux-gcc
configure:3030: result: cc
configure:3299: checking for C compiler version
configure:3308: cc --version >&5
cc: Invalid transform rule: l:termcap:
configure:3319: $? = 255
configure:3308: cc -v >&5
cc: Invalid transform rule: l:termcap:
configure:3319: $? = 255
configure:3308: cc -V >&5
cc: Invalid transform rule: l:termcap:
configure:3319: $? = 255
configure:3308: cc -qversion >&5
cc: Invalid transform rule: l:termcap:
configure:3319: $? = 255
configure:3339: checking whether the C compiler works
configure:3361: cc -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib conftest.c >&5
cc: Invalid transform rule: l:termcap:
configure:3365: $? = 255
configure:3403: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcsh"
| #define PACKAGE_TARNAME "tcsh"
| #define PACKAGE_VERSION "6.20.00"
| #define PACKAGE_STRING "tcsh 6.20.00"
| #define PACKAGE_BUGREPORT "http://bugs.gw.com/";
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3408: error: in `/usr/pkgsrc/shells/tcsh/work/tcsh-6.20.00':
configure:3410: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc64-debian-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -D_FORTIFY_SOURCE=2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-R/usr/pkg/lib
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=ppc64-debian-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=ppc64-debian-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=powerpc64-debian-linux-gnu
ac_cv_host_system_type=powerpc64-debian-linux-gnu
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_GREP=/bin/grep
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_prog_CC=cc

## ----------------- ##
## Output variables. ##
## ----------------- ##

BUILD_CATALOGS=''
CC='cc'
CC_FOR_GETHOST=''
CFLAGS='-O2 -D_FORTIFY_SOURCE=2'
CPP=''
CPPFLAGS=''
DEFS=''
DFLAGS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/egrep'
EXEEXT=''
GENCAT=''
GREP='/bin/grep'
HESDEF=''
HESLIB=''
INSTALL_DATA='/usr/bin/install -c -o root -g root -m 644'
INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g root -m 755'
INSTALL_SCRIPT='/usr/bin/install -c -o root -g root -m 755'
LDFLAGS='-Wl,-R/usr/pkg/lib'
LIBICONV=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='http://bugs.gw.com/'
PACKAGE_NAME='tcsh'
PACKAGE_STRING='tcsh 6.20.00'
PACKAGE_TARNAME='tcsh'
PACKAGE_URL=''
PACKAGE_VERSION='6.20.00'
PATH_SEPARATOR=':'
SHELL='/bin/bash'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='powerpc64-debian-linux-gnu'
build_alias='ppc64-debian-linux'
build_cpu='powerpc64'
build_os='linux-gnu'
build_vendor='debian'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc64-debian-linux-gnu'
host_alias='ppc64-debian-linux'
host_cpu='powerpc64'
host_os='linux-gnu'
host_vendor='debian'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tcsh"
#define PACKAGE_TARNAME "tcsh"
#define PACKAGE_VERSION "6.20.00"
#define PACKAGE_STRING "tcsh 6.20.00"
#define PACKAGE_BUGREPORT "http://bugs.gw.com/";
#define PACKAGE_URL ""

configure: exit 77

Do you have any idea on why it failed, and how to fix it?

Kind Regards,
Al


Home | Main Index | Thread Index | Old Index