Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2020 03:00:26 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][sysutils/smartmontools] Failed for smartmontools-7.1_2 in build
Message-ID:  <202007280300.06S30QbV055224@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:     samm@FreeBSD.org
Last committer: asomers@FreeBSD.org
Ident:          $FreeBSD: head/sysutils/smartmontools/Makefile 538488 2020-06-11 14:04:00Z asomers $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p543559_s363627/logs/smartmontools-7.1_2.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p543559_s363627
Log:

=>> Building sysutils/smartmontools
build started at Tue Jul 28 02:59:39 UTC 2020
port directory: /usr/ports/sysutils/smartmontools
package name: smartmontools-7.1_2
building for: FreeBSD head-armv7-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300102 arm
maintained by: samm@FreeBSD.org
Makefile ident:      $FreeBSD: head/sysutils/smartmontools/Makefile 538488 2020-06-11 14:04:00Z asomers $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300094
Jail OSVERSION: 1300102
Job Id: 11




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300102
UNAME_v=FreeBSD 13.0-CURRENT 1300102
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for smartmontools-7.1_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
samm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-dependency-tracking  --enable-sample  --with-gnupg=no  --with-initscriptdir=/usr/local/etc/rc.d  --with-nvme-devicescan=yes  --with-update-smart-drivedb=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work  HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/smartmontools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work  HOME=/wrkdirs/usr/ports/sysutils/smartmontools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/smartmontools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/smartmontools"  EXAMPLESDIR="share/examples/smartmontools"  DATADIR="share/smartmontools"  WWWDIR="www/smartmontools"  ETCDIR="etc/smartmontools"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /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
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300102
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   smartmontools-7.1_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.6.txz
[head-armv7-default-job-11] Installing pkg-1.14.6...
[head-armv7-default-job-11] Extracting pkg-1.14.6: .......... done
===>   smartmontools-7.1_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of smartmontools-7.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by smartmontools-7.1_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by smartmontools-7.1_2 for building
=> SHA256 Checksum OK for smartmontools-7.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by smartmontools-7.1_2 for building
===>  Extracting for smartmontools-7.1_2
=> SHA256 Checksum OK for smartmontools-7.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for smartmontools-7.1_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for smartmontools-7.1_2
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
Segmentation fault
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /nxb-bin/usr/bin/c++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /nxb-bin/usr/bin/c++... none
checking for gcc... /nxb-bin/usr/bin/cc
checking whether we are using the GNU C compiler... yes
checking whether /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed
checking whether /nxb-bin/usr/bin/cc understands -c and -o together... yes
checking dependency style of /nxb-bin/usr/bin/cc... none
checking dependency style of /nxb-bin/usr/bin/cc... none
checking for pkg-config... no
checking build system type... armv7-portbld-freebsd13.0
checking host system type... armv7-portbld-freebsd13.0
checking for nm... nm
checking whether this is a build from SVN... no
checking how to run the C++ preprocessor... /nxb-bin/usr/bin/c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for locale.h... (cached) yes
checking for byteswap.h... (cached) no
checking sys/tweio.h usability... no
checking sys/tweio.h presence... no
checking for sys/tweio.h... no
checking sys/twereg.h usability... no
checking sys/twereg.h presence... no
checking for sys/twereg.h... no
checking sys/tw_osl_ioctl.h usability... no
checking sys/tw_osl_ioctl.h presence... no
checking for sys/tw_osl_ioctl.h... no
checking dev/ciss/cissio.h usability... yes
checking dev/ciss/cissio.h presence... yes
checking for dev/ciss/cissio.h... yes
checking for __int128... no
checking for long double with more range or precision than double... no
checking for getopt_long... yes
checking for clock_gettime... (cached) yes
checking for ftime... no
checking for gettimeofday... (cached) yes
checking whether byte ordering is bigendian... no
checking whether /nxb-bin/usr/bin/c++ supports __attribute__((packed))... yes
checking for sigaction... (cached) yes
checking for /nxb-bin/usr/bin/c++ option to accept C++11... none needed
checking for regcomp... yes
checking for libusb20_dev_get_device_desc in -lusb... yes
checking whether os_freebsd.cpp uses new interface... Segmentation fault
no
checking whether /nxb-bin/usr/bin/c++ supports -Wformat=2... yes
checking whether _FORTIFY_SOURCE is predefined... no
checking whether /nxb-bin/usr/bin/c++ supports _FORTIFY_SOURCE=2... Segmentation fault
no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
checking whether make sets $(MAKE)... (cached) yes
configure:
-----------------------------------------------------------------------------
smartmontools-7.1 configuration:
host operating system:  armv7-portbld-freebsd13.0
C++ compiler:           /nxb-bin/usr/bin/c++
C compiler:             /nxb-bin/usr/bin/cc
preprocessor flags:     
C++ compiler flags:     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2
C compiler flags:       -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
linker flags:            -fstack-protector-strong 
OS specific modules:    os_freebsd.o cciss.o dev_areca.o dev_legacy.o -lcam -lsbuf -lusb 
binary install path:    /usr/local/sbin
man page install path:  /usr/local/share/man
doc file install path:  /usr/local/share/doc/smartmontools
examples install path:  /usr/local/share/doc/smartmontools/examplescripts
drive database file:    /usr/local/share/smartmontools/drivedb.h
database update script: [disabled]
local drive database:   /usr/local/etc/smart_drivedb.h
smartd config file:     /usr/local/etc/smartd.conf.sample
smartd warning script:  /usr/local/etc/smartd_warning.sh
smartd plugin path:     /usr/local/etc/smartd_warning.d
PATH within scripts:    /usr/local/bin:/usr/bin:/bin
smartd initd script:    /usr/local/etc/rc.d/smartd
smartd save files:      [disabled]
smartd attribute logs:  [disabled]
NVMe DEVICESCAN:        yes
-----------------------------------------------------------------------------

===========================================================================
=======================<phase: build          >============================
===>  Building for smartmontools-7.1_2
/nxb-bin/usr/bin/make  all-am
 cat ChangeLog NEWS $(SOURCES) | $(VERSION_FROM_SVN_IDS) > svnversion.h
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o smartctl.o smartctl.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o atacmdnames.o atacmdnames.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o atacmds.o atacmds.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o ataidentify.o ataidentify.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o ataprint.o ataprint.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_intelliprop.o dev_intelliprop.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_interface.o dev_interface.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_jmb39x_raid.o dev_jmb39x_raid.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o json.o json.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o knowndrives.o knowndrives.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o nvmecmds.o nvmecmds.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o nvmeprint.o nvmeprint.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o scsicmds.o scsicmds.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o scsiata.o scsiata.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o scsinvme.o scsinvme.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o scsiprint.o scsiprint.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o utility.o utility.cpp
utility.cpp:808:46: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
  snprintf(str, strsize, "%.0f", value_hi * (0xffffffffffffffffULL + 1.0) + value_lo);
                                             ^~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o os_freebsd.o os_freebsd.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o cciss.o cciss.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_areca.o dev_areca.cpp
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I.   -DBUILD_INFO='"(local build)"'  -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'  -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'         -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o dev_legacy.o dev_legacy.cpp
/nxb-bin/usr/bin/c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall -W -Wformat=2  -fstack-protector-strong  -o smartctl smartctl.o atacmdnames.o  atacmds.o ataidentify.o ataprint.o  dev_ata_cmd_set.o dev_intelliprop.o  dev_interface.o dev_jmb39x_raid.o  json.o knowndrives.o nvmecmds.o  nvmeprint.o scsicmds.o scsiata.o  scsinvme.o scsiprint.o utility.o       os_freebsd.o cciss.o dev_areca.o dev_legacy.o -lcam -lsbuf    -lusb
ld: error: duplicate symbol: smart_interface::init()
>>> defined at os_freebsd.cpp
>>>            os_freebsd.o:(smart_interface::init())
>>> defined at dev_legacy.cpp
>>>            dev_legacy.o:(.text+0xBF0)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/sysutils/smartmontools/work/smartmontools-7.1
*** Error code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/smartmontools



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