Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Jan 2019 18:22:49 +0100 (CET)
From:      samir.otmane@numericable.fr
To:        x11@FreeBSD.org
Subject:   Patched 1.20.3 Xorg compilation issue
Message-ID:  <ea-mime-5c338ae9-9e6d-52d47526@webmail.numericable.fr>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Hello everyone,

I've tried to compile patched Xorg 1.20.3 (Made by Vladimir Kondratyev) both from 12.0R stable release and head/dev snapshots ports and ended up at some point on a error (x2x subdirectory)

I patched the xorg ports by placing the patch file on the base ports directory and executed the command 'patch -i xorg.1.20.3.patch' ( i've seen no error so far on the patching procedure)

The log error is in the attachement.

Regards,

Samir OTMANE


[-- Attachment #2 --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by x2x configure 1.30-rc1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/info/ --build=amd64-portbld-freebsd13.0 build_alias=amd64-portbld-freebsd13.0 CC=cc CFLAGS=-O2 -pipe  -fstack-protector -fno-strict-aliasing  LDFLAGS= -fstack-protector  LIBS= CPPFLAGS= PKG_CONFIG=pkgconf --no-create --no-recursion

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

hostname = 
uname -m = amd64
uname -r = 13.0-CURRENT
uname -s = FreeBSD
uname -v = FreeBSD 13.0-CURRENT r342811 GENERIC-NODEBUG-NOACPI 

/usr/bin/uname -p = amd64
/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: /root/usr/ports/x11-servers/x2x/work/.bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: ~/bin


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

configure:1855: checking for a BSD-compatible install
configure:1923: result: /usr/bin/install -c
configure:1934: checking whether build environment is sane
configure:1989: result: yes
configure:2140: checking for a thread-safe mkdir -p
configure:2179: result: ./install-sh -c -d
configure:2186: checking for gawk
configure:2216: result: no
configure:2186: checking for mawk
configure:2216: result: no
configure:2186: checking for nawk
configure:2202: found /usr/bin/nawk
configure:2213: result: nawk
configure:2224: checking whether make sets $(MAKE)
configure:2246: result: yes
configure:2275: checking whether make supports nested variables
configure:2292: result: yes
configure:2472: checking for gcc
configure:2499: result: cc
configure:2728: checking for C compiler version
configure:2737: cc --version >&5
FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
configure:2748: $? = 0
configure:2737: cc -v >&5
FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
configure:2748: $? = 0
configure:2737: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:2748: $? = 1
configure:2737: cc -qversion >&5
cc: error: unknown argument '-qversion', did you mean '--version'?
cc: error: no input files
configure:2748: $? = 1
configure:2768: checking whether the C compiler works
configure:2790: cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -fstack-protector  conftest.c  >&5
configure:2794: $? = 0
configure:2842: result: yes
configure:2845: checking for C compiler default output file name
configure:2847: result: a.out
configure:2853: checking for suffix of executables
configure:2860: cc -o conftest -O2 -pipe  -fstack-protector -fno-strict-aliasing    -fstack-protector  conftest.c  >&5
configure:2864: $? = 0
configure:2886: result: 
configure:2908: checking whether we are cross compiling
configure:2916: cc -o conftest -O2 -pipe  -fstack-protector -fno-strict-aliasing    -fstack-protector  conftest.c  >&5
configure:2920: $? = 0
configure:2927: ./conftest
configure:2931: $? = 0
configure:2946: result: no
configure:2951: checking for suffix of object files
configure:2973: cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing   conftest.c >&5
configure:2977: $? = 0
configure:2998: result: o
configure:3002: checking whether we are using the GNU C compiler
configure:3021: cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing   conftest.c >&5
configure:3021: $? = 0
configure:3030: result: yes
configure:3039: checking whether cc accepts -g
configure:3059: cc -c -g  conftest.c >&5
configure:3059: $? = 0
configure:3100: result: yes
configure:3117: checking for cc option to accept ISO C89
configure:3180: cc  -c -O2 -pipe  -fstack-protector -fno-strict-aliasing   conftest.c >&5
configure:3180: $? = 0
configure:3193: result: none needed
configure:3218: checking whether cc understands -c and -o together
configure:3240: cc -c conftest.c -o conftest2.o
configure:3243: $? = 0
configure:3240: cc -c conftest.c -o conftest2.o
configure:3243: $? = 0
configure:3255: result: yes
configure:3275: checking whether make supports the include directive
configure:3290: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3293: $? = 0
configure:3312: result: yes (GNU style)
configure:3337: checking dependency style of cc
configure:3448: result: gcc3
configure:3579: checking pkg-config is at least version 0.9.0
configure:3582: result: yes
configure:3592: checking for X11
configure:3599: $PKG_CONFIG --exists --print-errors "xext xtst x11"
configure:3602: $? = 0
configure:3616: $PKG_CONFIG --exists --print-errors "xext xtst x11"
configure:3619: $? = 0
configure:3677: result: yes
configure:3814: checking that generated files are newer than configure
configure:3820: result: done
configure:3847: creating ./config.status

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

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe  -fstack-protector -fno-strict-aliasing '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -fstack-protector '
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=pkgconf
ac_cv_env_X11_CFLAGS_set=''
ac_cv_env_X11_CFLAGS_value=''
ac_cv_env_X11_LIBS_set=''
ac_cv_env_X11_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=amd64-portbld-freebsd13.0
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
pkg_cv_X11_CFLAGS='-I/usr/local/include -D_THREAD_SAFE -pthread '
pkg_cv_X11_LIBS='-L/usr/local/lib -lXext -lXtst -lX11 '

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

ACLOCAL='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/missing autoconf'
AUTOHEADER='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/missing autoheader'
AUTOMAKE='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/missing automake-1.16'
AWK='nawk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-I/usr/local/include -D_THREAD_SAFE -pthread  -O2 -pipe  -fstack-protector -fno-strict-aliasing '
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=' -fstack-protector '
LIBOBJS=''
LIBS='-L/usr/local/lib -lXext -lXtst -lX11  '
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/missing makeinfo'
MKDIR_P='./install-sh -c -d'
OBJEXT='o'
PACKAGE='x2x'
PACKAGE_BUGREPORT='http://x2x.dottedmag.net/newticket'
PACKAGE_NAME='x2x'
PACKAGE_STRING='x2x 1.30-rc1'
PACKAGE_TARNAME='x2x'
PACKAGE_URL='http://x2x.dottedmag.net'
PACKAGE_VERSION='1.30-rc1'
PATH_SEPARATOR=':'
PKG_CONFIG='pkgconf'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.30-rc1'
WIN32_FALSE=''
WIN32_TRUE='#'
X11_CFLAGS='-I/usr/local/include -D_THREAD_SAFE -pthread '
X11_LIBS='-L/usr/local/lib -lXext -lXtst -lX11 '
ac_ct_CC='cc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias='amd64-portbld-freebsd13.0'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info'
install_sh='${SHELL} /root/usr/ports/x11-servers/x2x/work/x2x-e62a535/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/local/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
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 "x2x"
#define PACKAGE_TARNAME "x2x"
#define PACKAGE_VERSION "1.30-rc1"
#define PACKAGE_STRING "x2x 1.30-rc1"
#define PACKAGE_BUGREPORT "http://x2x.dottedmag.net/newticket"
#define PACKAGE_URL "http://x2x.dottedmag.net"
#define PACKAGE "x2x"
#define VERSION "1.30-rc1"

configure: exit 0

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by x2x config.status 1.30-rc1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on 

config.status:847: creating Makefile
config.status:847: creating config.h
config.status:1028: config.h is unchanged
config.status:1076: executing depfiles commands
config.status:1151: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
make[4]: illegal argument to -j -- must be positive integer!
config.status:1158: $? = 1
config.status:1162: error: in `/root/usr/ports/x11-servers/x2x/work/x2x-e62a535':
config.status:1168: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea-mime-5c338ae9-9e6d-52d47526>