Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 11:20:06 GMT
From:      pkg-fallout@FreeBSD.org
To:        emulation@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][devel/linux_kdump] Failed for linux_kdump-1.5_3 in build
Message-ID:  <201701151120.v0FBK62B009294@beefy12.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: tijl@FreeBSD.org
Ident:          $FreeBSD: head/devel/linux_kdump/Makefile 421387 2016-09-05 19:23:42Z tijl $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p431452_s312102/logs/linux_kdump-1.5_3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p431452_s312102
Log:

====>> Building devel/linux_kdump
build started at Sun Jan 15 11:19:55 UTC 2017
port directory: /usr/ports/devel/linux_kdump
building for: FreeBSD head-amd64-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT r312102 amd64
maintained by: emulation@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/linux_kdump/Makefile 421387 2016-09-05 19:23:42Z tijl $
Poudriere version: 3.1.14
Host OSVERSION: 1200017
Jail OSVERSION: 1200020
Job Id: 08




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



---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 12.0-CURRENT r312102
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
ARCH=amd64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=linux_kdump-1.5_3
OSREL=12.0
_OSRELEASE=12.0-CURRENT
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1200020
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/linux_kdump/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/linux_kdump/work  HOME=/wrkdirs/usr/ports/devel/linux_kdump/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -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=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/linux_kdump"
EXAMPLESDIR="share/examples/linux_kdump"
DATADIR="share/linux_kdump"
WWWDIR="www/linux_kdump"
ETCDIR="etc/linux_kdump"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
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_kdump-1.5_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.4_1.txz
[head-amd64-default-job-08] Installing pkg-1.9.4_1...
[head-amd64-default-job-08] Extracting pkg-1.9.4_1: .......... done
===>   linux_kdump-1.5_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of linux_kdump-1.5_3
===========================================================================
=======================<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_kdump-1.5_3 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_kdump-1.5_3 for building
=> SHA256 Checksum OK for linux_kdump-1.5.tar.gz.
===========================================================================
=======================<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_kdump-1.5_3 for building
===>  Extracting for linux_kdump-1.5_3
=> SHA256 Checksum OK for linux_kdump-1.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for linux_kdump-1.5_3
===>  Applying FreeBSD patches for linux_kdump-1.5_3
===========================================================================
=======================<phase: build-depends  >============================
===>   linux_kdump-1.5_3 depends on package: linux-c6-devtools>0 - not found
===>   Installing existing package /packages/All/linux-c6-devtools-6.8_5.txz
[head-amd64-default-job-08] Installing linux-c6-devtools-6.8_5...
[head-amd64-default-job-08] `-- Installing linux-c6-libgfortran-4.4.7_4...
[head-amd64-default-job-08] |   `-- Installing linux_base-c6-6.8_7...
[head-amd64-default-job-08] |   `-- Extracting linux_base-c6-6.8_7: ......... done
/bin/sh: /compat/linux/sbin/ldconfig: Exec format error
pkg-static: POST-INSTALL script failed
[head-amd64-default-job-08] `-- Extracting linux-c6-libgfortran-4.4.7_4: .... done
/bin/sh: /compat/linux/sbin/ldconfig: Exec format error
pkg-static: POST-INSTALL script failed
[head-amd64-default-job-08] Extracting linux-c6-devtools-6.8_5: .......... done
/bin/sh: /compat/linux/sbin/ldconfig: Exec format error
pkg-static: POST-INSTALL script failed
Message from linux_base-c6-6.8_7:
Some programs need linprocfs mounted on /compat/linux/proc.  Add the
following line to /etc/fstab:

linprocfs   /compat/linux/proc	linprocfs	rw	0	0

Then run "mount /compat/linux/proc".

Some programs need tmpfs mounted on /compat/linux/dev/shm.  Add the
following line to /etc/fstab:

tmpfs    /compat/linux/dev/shm	tmpfs	rw,mode=1777	0	0

Then run "mount /compat/linux/dev/shm".
===>   linux_kdump-1.5_3 depends on package: linux-c6-devtools>0 - found
===>   Returning to build of linux_kdump-1.5_3
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for linux_kdump-1.5_3
===========================================================================
=======================<phase: build          >============================
===>  Building for linux_kdump-1.5_3
/bin/sh /wrkdirs/usr/ports/devel/linux_kdump/work/linux_kdump-1.5/mkioctls.linux
/wrkdirs/usr/ports/devel/linux_kdump/work/linux_kdump-1.5/mkioctls.linux: /compat/linux/usr/bin/gcc: Exec format error
/wrkdirs/usr/ports/devel/linux_kdump/work/linux_kdump-1.5/mkioctls.linux: /compat/linux/usr/bin/gcc: Exec format error
/bin/sh /usr/src/sys/kern/makesyscalls.sh  /usr/src/sys/i386/linux/syscalls.master linux_syscallnames.conf
echo "int nsyscalls = sizeof(syscallnames) / sizeof(syscallnames[0]);"  >> syscallnames.c
echo linux_kdump: /usr/lib/libc.a  >> .depend
Warning: Object directory not changed from original /wrkdirs/usr/ports/devel/linux_kdump/work/linux_kdump-1.5
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/src/usr.bin/ktrace -I/usr/src/usr.bin/kdump -I/usr/src   -MD  -MF.depend.kdump.o -MTkdump.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c kdump.c -o kdump.o
kdump.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
kdump.c:118:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                        usage();
                        ^
kdump.c:129:9: warning: implicit declaration of function 'fread_tail' is invalid in C99 [-Wimplicit-function-declaration]
        while (fread_tail(&ktr_header, sizeof(struct ktr_header), 1)) {
               ^
kdump.c:131:4: warning: implicit declaration of function 'dumpheader' is invalid in C99 [-Wimplicit-function-declaration]
                        dumpheader(&ktr_header);
                        ^
kdump.c:146:4: warning: implicit declaration of function 'ktrsyscall' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrsyscall((struct ktr_syscall *)m);
                        ^
kdump.c:149:4: warning: implicit declaration of function 'ktrsysret' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrsysret((struct ktr_sysret *)m);
                        ^
kdump.c:152:4: warning: implicit declaration of function 'ktrnamei' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrnamei(m, ktrlen);
                        ^
kdump.c:155:4: warning: implicit declaration of function 'ktrgenio' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrgenio((struct ktr_genio *)m, ktrlen);
                        ^
kdump.c:158:4: warning: implicit declaration of function 'ktrpsig' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrpsig((struct ktr_psig *)m);
                        ^
kdump.c:161:4: warning: implicit declaration of function 'ktrcsw' is invalid in C99 [-Wimplicit-function-declaration]
                        ktrcsw((struct ktr_csw *)m);
                        ^
kdump.c:164:4: warning: implicit declaration of function 'ktruser' is invalid in C99 [-Wimplicit-function-declaration]
                        ktruser(ktrlen, m);
                        ^
kdump.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fread_tail(buf, size, num)
^
kdump.c:185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dumpheader(kth)
^
kdump.c:223:4: warning: implicit declaration of function 'timevalsub' is invalid in C99 [-Wimplicit-function-declaration]
                        timevalsub(&kth->ktr_time, &prevtime);
                        ^
kdump.c:230:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrsyscall(ktr)
^
kdump.c:243:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register narg = ktr->ktr_narg;
        ~~~~~~~~ ^
kdump.c:325:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:327:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrsysret(ktr)
^
kdump.c:341:23: warning: format specifies type 'int' but the argument has type 'register_t' (aka 'long') [-Wformat]
                        (void)printf("%d", ret);
                                      ~~   ^~~
                                      %ld
kdump.c:361:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrnamei(cp, len)
^
kdump.c:367:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrgenio(ktr, len)
^
kdump.c:376:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register width;
        ~~~~~~~~ ^
kdump.c:378:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static screenwidth = 0;
        ~~~~~~ ^
kdump.c:430:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:441:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrpsig(psig)
^
kdump.c:449:29: warning: format specifies type 'unsigned int' but the argument has type 'sigset_t' (aka 'struct __sigset') [-Wformat]
                    (u_long)psig->action, psig->mask, psig->code);
                                          ^~~~~~~~~~
kdump.c:450:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:452:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktrcsw(cs)
^
kdump.c:457:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:459:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ktruser(len, p)
^
kdump.c:468:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
kdump.c:470:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^
35 warnings generated.
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/src/usr.bin/ktrace -I/usr/src/usr.bin/kdump -I/usr/src   -MD  -MF.depend.linux_ioctl.o -MTlinux_ioctl.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c linux_ioctl.c -o linux_ioctl.o
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/src/usr.bin/ktrace -I/usr/src/usr.bin/kdump -I/usr/src   -MD  -MF.depend.subr.o -MTsubr.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c /usr/src/usr.bin/ktrace/subr.c -o subr.o
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/src/usr.bin/ktrace -I/usr/src/usr.bin/kdump -I/usr/src   -MD  -MF.depend.syscallnames.o -MTsyscallnames.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c syscallnames.c -o syscallnames.o
cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/src/usr.bin/ktrace -I/usr/src/usr.bin/kdump -I/usr/src -std=gnu99 -fstack-protector-strong -Qunused-arguments  -fstack-protector -o linux_kdump kdump.o linux_ioctl.o subr.o syscallnames.o  
kdump.o: In function `ktrsyscall':
kdump.c:(.text+0x5e9): undefined reference to `ioctlname'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/linux_kdump/work/linux_kdump-1.5
*** Error code 1

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



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