Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 20:51:30 GMT
From:      pkg-fallout@FreeBSD.org
To:        emulation@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][devel/linux_libusb] Failed for linux_libusb-11.0r261448_2 in build
Message-ID:  <201510132051.t9DKpU3S086057@beefy3.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     emulation@FreeBSD.org
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/devel/linux_libusb/Makefile 397987 2015-09-26 15:14:38Z antoine $
Log URL:        http://beefy3.nyi.freebsd.org/data/head-i386-default/p399171_s289200/logs/linux_libusb-11.0r261448_2.log
Build URL:      http://beefy3.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p399171_s289200
Log:

====>> Building devel/linux_libusb
build started at Tue Oct 13 20:51:21 UTC 2015
port directory: /usr/ports/devel/linux_libusb
building for: FreeBSD head-i386-default-job-09 11.0-CURRENT FreeBSD 11.0-CURRENT r289200 i386
maintained by: emulation@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/linux_libusb/Makefile 397987 2015-09-26 15:14:38Z antoine $
Poudriere version: 3.1.8
Host OSVERSION: 1100079
Jail OSVERSION: 1100080




!!! Jail is newer than host. (Jail: 1100080, Host: 1100079) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100080
UNAME_v=FreeBSD 11.0-CURRENT r289200
UNAME_r=11.0-CURRENT
LC_COLLATE=C
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=linux_libusb-11.0r261448_2
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.8
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/linux_libusb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/linux_libusb/work  HOME=/wrkdirs/usr/ports/devel/linux_libusb/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/linux_libusb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/linux_libusb/work  HOME=/wrkdirs/usr/ports/devel/linux_libusb/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/compat/linux  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="/compat/linux/usr/bin/gcc" CFLAGS="-O2 -pipe  -I/wrkdirs/usr/ports/devel/linux_libusb/work/sys -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/devel/linux_libusb/work/sys -fstack-protector -fno-strict-aliasing "  MANPREFIX="/compat/linux" BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/compat/linux
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/linux_libusb"
EXAMPLESDIR="share/examples/linux_libusb"
DATADIR="share/linux_libusb"
WWWDIR="www/linux_libusb"
ETCDIR="etc/linux_libusb"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/compat/linux
LOCALBASE=/usr/local
DATADIR=/compat/linux/share/linux_libusb
DOCSDIR=/compat/linux/share/doc/linux_libusb
EXAMPLESDIR=/compat/linux/share/examples/linux_libusb
WWWDIR=/compat/linux/www/linux_libusb
ETCDIR=/compat/linux/etc/linux_libusb
--End SUB_LIST--

---Begin make.conf---
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===> Using the FreeBSD source tree under /usr/src
===> Set SRC_BASE to use an alternate source tree
===========================================================================
=======================<phase: pkg-depends    >============================
===>   linux_libusb-11.0r261448_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.6.1.txz
[head-i386-default-job-09] Installing pkg-1.6.1...
[head-i386-default-job-09] Extracting pkg-1.6.1: .......... done
Message from pkg-1.6.1:
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   linux_libusb-11.0r261448_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of linux_libusb-11.0r261448_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Using the FreeBSD source tree under /usr/src
===> Set SRC_BASE to use an alternate source tree
===> Fetching all distfiles required by linux_libusb-11.0r261448_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Using the FreeBSD source tree under /usr/src
===> Set SRC_BASE to use an alternate source tree
===> Fetching all distfiles required by linux_libusb-11.0r261448_2 for building
=> SHA256 Checksum OK for linux_libusb-11.0r261448.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Using the FreeBSD source tree under /usr/src
===> Set SRC_BASE to use an alternate source tree
===> Fetching all distfiles required by linux_libusb-11.0r261448_2 for building
===>  Extracting for linux_libusb-11.0r261448_2
=> SHA256 Checksum OK for linux_libusb-11.0r261448.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for linux_libusb-11.0r261448_2
/bin/mkdir -p /wrkdirs/usr/ports/devel/linux_libusb/work/sys
/bin/ln -s /usr/src/sys/compat /usr/src/sys/dev /wrkdirs/usr/ports/devel/linux_libusb/work/sys
===========================================================================
=======================<phase: build-depends  >============================
===>   linux_libusb-11.0r261448_2 depends on file: /compat/linux/usr/bin/gcc - not found
===>   Installing existing package /packages/All/linux-c6-devtools-6.6_4.txz
[head-i386-default-job-09] Installing linux-c6-devtools-6.6_4...
[head-i386-default-job-09] `-- Installing linux_base-c6-6.6_6...
[head-i386-default-job-09] `-- Extracting linux_base-c6-6.6_6: .......... done
grep: /etc/fstab: No such file or directory

+++ Some programs may need linprocfs, please add it to /etc/fstab! +++

Running linux ldconfig...
[head-i386-default-job-09] `-- Installing linux-c6-libgfortran-4.4.7_1...
[head-i386-default-job-09] `-- Extracting linux-c6-libgfortran-4.4.7_1: .. done
[head-i386-default-job-09] Extracting linux-c6-devtools-6.6_4: .......... done
Message from linux_base-c6-6.6_6:
This software is based in part on the work of the FreeType Team.
See <URL:http://www.freetype.org/>.

Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).

----------------------
You should enable Linux mode with the linux_enable variable of rc.conf(5).
Depending on the version of FreeBSD you are using you may have to increase
the emulated linux version via compat.linux.osrelease=2.6.18 in
sysctl.conf(5). Check via "sysctl compat.linux.osrelease" that it shows a
lower version number before setting it.
----------------------

If you want to use shared memory in Linux applications, you need to set up
a link from /dev/shm to a suitable place, e.g. by adding the following line
to /etc/devfs.conf (takes effect on each boot):
	link /tmp shm

To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:

Set your yp-server and yp-domainname in yp.conf:
	domainname	my.yp.domainname
	ypserver	my.yp.server

Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
	passwd:	files nis
	shadow:	files nis
	group:	files nis
	hosts:	files dns nis

WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.
===>   linux_libusb-11.0r261448_2 depends on file: /compat/linux/usr/bin/gcc - found
===>   Returning to build of linux_libusb-11.0r261448_2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for linux_libusb-11.0r261448_2
===========================================================================
=======================<phase: build          >============================
===>  Building for linux_libusb-11.0r261448_2
sh: Syntax error: ")" unexpected
make[1]: "/usr/share/mk/bsd.compiler.mk" line 52: warning: "echo 4.4.7 4.4.7-11) | awk -F. '{print $1 * 10000 + $2 * 100 + $3;}'" returned non-zero status
Warning: Object directory not changed from original /wrkdirs/usr/ports/devel/linux_libusb/work/linux_libusb-11.0r261448
/compat/linux/usr/bin/gcc  -O2 -pipe  -I/wrkdirs/usr/ports/devel/linux_libusb/work/sys -fstack-protector -fno-strict-aliasing   -DLIBUSB_GLOBAL_INCLUDE_FILE=\"libusb_global_linux.h\" -DUSB_GLOBAL_INCLUDE_FILE=\"libusb_global_linux.h\" -I ../../sys -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign   -c libusb20.c -o libusb20.o
cc1: error: unrecognized command line option "-fstack-protector-strong"
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/linux_libusb/work/linux_libusb-11.0r261448
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/linux_libusb



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