Skip to content

Instantly share code, notes, and snippets.

@lwhsu
Created July 9, 2018 02:24
Show Gist options
  • Save lwhsu/6848f5eb4ab86f6b7ef4559f794d42d7 to your computer and use it in GitHub Desktop.
Save lwhsu/6848f5eb4ab86f6b7ef4559f794d42d7 to your computer and use it in GitHub Desktop.
=>> Building archivers/maxcso
build started at Mon Jul 9 10:21:24 CST 2018
port directory: /usr/ports/archivers/maxcso
package name: maxcso-1.9.0
building for: FreeBSD 11_2_amd64-default-job-01 11.2-RELEASE FreeBSD 11.2-RELEASE amd64
maintained by: greg@unrelenting.technology
Makefile ident:
Poudriere version: 3.2.7
Host OSVERSION: 1102000
Jail OSVERSION: 1102000
Job Id: 01
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE
UNAME_r=11.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
WARNING_WAIT=0
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7
MASTERMNT=/usr/local/poudriere/data/.m/11_2_amd64-default/ref
DEV_WARNING_WAIT=0
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm-256color
GID=0
UID=0
PWD=/usr/local/poudriere/data/.m/11_2_amd64-default/ref/.p/pool
NO_WARNING_PKG_INSTALL_EOL=yes
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=11_2_amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/11_2_amd64-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---
---End OPTIONS List---
--MAINTAINER--
greg@unrelenting.technology
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/maxcso/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/maxcso/work HOME=/wrkdirs/usr/ports/archivers/maxcso/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/maxcso/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/maxcso/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/maxcso/work HOME=/wrkdirs/usr/ports/archivers/maxcso/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/maxcso/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="cc" CFLAGS="-O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -pie -pthread -fuse-ld=lld -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11" 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="" PORTEXAMPLES="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/maxcso" EXAMPLESDIR="share/examples/maxcso" DATADIR="share/maxcso" WWWDIR="www/maxcso" ETCDIR="etc/maxcso"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/maxcso DOCSDIR=/usr/local/share/doc/maxcso EXAMPLESDIR=/usr/local/share/examples/maxcso WWWDIR=/usr/local/www/maxcso ETCDIR=/usr/local/etc/maxcso
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=8
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.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) 19443
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 ISCL accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> maxcso-1.9.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.5_1.txz
[11_2_amd64-default-job-01] Installing pkg-1.10.5_1...
[11_2_amd64-default-job-01] Extracting pkg-1.10.5_1: .......... done
===> maxcso-1.9.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of maxcso-1.9.0
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License ISCL accepted by the user
===> maxcso-1.9.0 depends on file: /usr/local/sbin/pkg - found
=> unknownbrackets-maxcso-v1.9.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/unknownbrackets/maxcso/tar.gz/v1.9.0?dummy=/unknownbrackets-maxcso-v1.9.0_GH0.tar.gz
fetch: https://codeload.github.com/unknownbrackets/maxcso/tar.gz/v1.9.0?dummy=/unknownbrackets-maxcso-v1.9.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/unknownbrackets/maxcso/tar.gz/v1.9.0?dummy=/unknownbrackets-maxcso-v1.9.0_GH0.tar.gz: size of remote file is not known
unknownbrackets-maxcso-v1.9.0_GH0.tar.gz 0 B 0 Bps
===> Fetching all distfiles required by maxcso-1.9.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License ISCL accepted by the user
===> maxcso-1.9.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by maxcso-1.9.0 for building
=> SHA256 Checksum OK for unknownbrackets-maxcso-v1.9.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License ISCL accepted by the user
===> maxcso-1.9.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by maxcso-1.9.0 for building
===> Extracting for maxcso-1.9.0
=> SHA256 Checksum OK for unknownbrackets-maxcso-v1.9.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for maxcso-1.9.0
===========================================================================
=======================<phase: build-depends >============================
===> maxcso-1.9.0 depends on executable: pkg-config - not found
===> Installing existing package /packages/All/pkgconf-1.4.2,1.txz
[11_2_amd64-default-job-01] Installing pkgconf-1.4.2,1...
[11_2_amd64-default-job-01] Extracting pkgconf-1.4.2,1: .......... done
===> maxcso-1.9.0 depends on executable: pkg-config - found
===> Returning to build of maxcso-1.9.0
===> maxcso-1.9.0 depends on executable: gmake - not found
===> Installing existing package /packages/All/gmake-4.2.1_2.txz
[11_2_amd64-default-job-01] Installing gmake-4.2.1_2...
[11_2_amd64-default-job-01] `-- Installing gettext-runtime-0.19.8.1_1...
[11_2_amd64-default-job-01] | `-- Installing indexinfo-0.3.1...
[11_2_amd64-default-job-01] | `-- Extracting indexinfo-0.3.1: .... done
[11_2_amd64-default-job-01] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[11_2_amd64-default-job-01] Extracting gmake-4.2.1_2: .......... done
===> maxcso-1.9.0 depends on executable: gmake - found
===> Returning to build of maxcso-1.9.0
===========================================================================
=======================<phase: lib-depends >============================
===> maxcso-1.9.0 depends on shared library: libuv.so - not found
===> Installing existing package /packages/All/libuv-1.21.0.txz
[11_2_amd64-default-job-01] Installing libuv-1.21.0...
[11_2_amd64-default-job-01] Extracting libuv-1.21.0: .......... done
===> maxcso-1.9.0 depends on shared library: libuv.so - found (/usr/local/lib/libuv.so)
===> Returning to build of maxcso-1.9.0
===> maxcso-1.9.0 depends on shared library: liblz4.so - not found
===> Installing existing package /packages/All/liblz4-1.8.2,1.txz
[11_2_amd64-default-job-01] Installing liblz4-1.8.2,1...
[11_2_amd64-default-job-01] Extracting liblz4-1.8.2,1: .......... done
===> maxcso-1.9.0 depends on shared library: liblz4.so - found (/usr/local/lib/liblz4.so)
===> Returning to build of maxcso-1.9.0
===> maxcso-1.9.0 depends on shared library: libzopfli.so - not found
===> Installing existing package /packages/All/zopfli-1.0.2.txz
[11_2_amd64-default-job-01] Installing zopfli-1.0.2...
[11_2_amd64-default-job-01] Extracting zopfli-1.0.2: .......... done
Message from zopfli-1.0.2:
===> NOTICE:
The zopfli port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===> maxcso-1.9.0 depends on shared library: libzopfli.so - found (/usr/local/lib/libzopfli.so)
===> Returning to build of maxcso-1.9.0
===========================================================================
=>> Recording filesystem state for prebuild... done
=======================<phase: configure >============================
===> maxcso-1.9.0 depends on executable: pkg-config - found
===> maxcso-1.9.0 depends on executable: gmake - found
===> maxcso-1.9.0 depends on shared library: libuv.so - found (/usr/local/lib/libuv.so)
===> maxcso-1.9.0 depends on shared library: liblz4.so - found (/usr/local/lib/liblz4.so)
===> maxcso-1.9.0 depends on shared library: libzopfli.so - found (/usr/local/lib/libzopfli.so)
===> Configuring for maxcso-1.9.0
===========================================================================
=======================<phase: build >============================
===> Building for maxcso-1.9.0
(cd /wrkdirs/usr/ports/archivers/maxcso/work/maxcso-1.9.0/7zip && gmake XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/maxcso/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/maxcso/work HOME=/wrkdirs/usr/ports/archivers/maxcso/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/maxcso/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/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="cc" CFLAGS="-O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -pie -pthread -fuse-ld=lld -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11" 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" CXXFLAGS="-O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP" 7zip.a)
gmake[1]: Entering directory '/wrkdirs/usr/ports/archivers/maxcso/work/maxcso-1.9.0/7zip'
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/7zip/Archive/Common/ParseProperties.o CPP/7zip/Archive/Common/ParseProperties.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/7zip/Archive/DeflateProps.o CPP/7zip/Archive/DeflateProps.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/7zip/Common/FileStreams.o CPP/7zip/Common/FileStreams.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/7zip/Common/OutBuffer.o CPP/7zip/Common/OutBuffer.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/7zip/Compress/DeflateEncoder.o CPP/7zip/Compress/DeflateEncoder.cpp
CPP/7zip/Compress/DeflateEncoder.cpp:612:83: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
~~ ~~~~~~~~~~~~~~^~
CPP/7zip/Compress/DeflateEncoder.cpp:612:83: note: place parentheses around the '&&' expression to silence this warning
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
^
(
1 warning generated.
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/Common/MyString.o CPP/Common/MyString.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/Common/StringConvert.o CPP/Common/StringConvert.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/Common/StringToInt.o CPP/Common/StringToInt.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/NotWindows/FileIO.o CPP/NotWindows/FileIO.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/NotWindows/MyWindows.o CPP/NotWindows/MyWindows.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o CPP/Windows/PropVariant.o CPP/Windows/PropVariant.cpp
c++ -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -ICPP -o deflate7z.o deflate7z.cpp
cc -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -o C/Alloc.o C/Alloc.c
cc -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -o C/HuffEnc.o C/HuffEnc.c
cc -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -o C/LzFind.o C/LzFind.c
cc -c -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -o C/Sort.o C/Sort.c
ar rcs 7zip.a CPP/7zip/Archive/Common/ParseProperties.o CPP/7zip/Archive/DeflateProps.o CPP/7zip/Common/FileStreams.o CPP/7zip/Common/OutBuffer.o CPP/7zip/Compress/DeflateEncoder.o CPP/Common/MyString.o CPP/Common/StringConvert.o CPP/Common/StringToInt.o CPP/NotWindows/FileIO.o CPP/NotWindows/MyWindows.o CPP/Windows/PropVariant.o deflate7z.o C/Alloc.o C/HuffEnc.o C/LzFind.o C/Sort.o
gmake[1]: Leaving directory '/wrkdirs/usr/ports/archivers/maxcso/work/maxcso-1.9.0/7zip'
(cd /wrkdirs/usr/ports/archivers/maxcso/work/maxcso-1.9.0 && c++ -O2 -pipe -fPIC -DNDEBUG=1 -flto -fstack-protector -fno-strict-aliasing -std=c++11 -pie -pthread -fuse-ld=lld -fstack-protector -o maxcso $(pkg-config --libs --cflags libuv) $(pkg-config --libs --cflags liblz4) -lzopfli -lz -I7zip 7zip/7zip.a src/*.cpp cli/*.cpp)
/usr/bin/ld.lld: error: undefined symbol: Deflate7z::Release(Deflate7z::Context**)
>>> referenced by ld-temp.o
>>> lto.tmp:(maxcso::Sector::~Sector())
/usr/bin/ld.lld: error: undefined symbol: Deflate7z::Deflate(Deflate7z::Context*, void*, unsigned int, void const*, unsigned int, unsigned int*)
>>> referenced by ld-temp.o
>>> lto.tmp:(std::__1::__function::__func<maxcso::Sector::Process(long, unsigned char*, std::__1::function<void (bool, char const*)>)::$_0, std::__1::allocator<maxcso::Sector::Process(long, unsigned char*, std::__1::function<void (bool, char const*)>)::$_0>, void (uv_work_s*)>::operator()(uv_work_s*&&))
/usr/bin/ld.lld: error: undefined symbol: Deflate7z::SetDefaults(Deflate7z::Options*)
>>> referenced by ld-temp.o
>>> lto.tmp:(main)
/usr/bin/ld.lld: error: undefined symbol: Deflate7z::Alloc(Deflate7z::Context**, Deflate7z::Options const*)
>>> referenced by ld-temp.o
>>> lto.tmp:(main)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make: stopped in /usr/ports/archivers/maxcso
=>> Cleaning up wrkdir
===> Cleaning for maxcso-1.9.0
build of archivers/maxcso | maxcso-1.9.0 ended at Mon Jul 9 10:21:37 CST 2018
build time: 00:00:13
!!! build failure encountered !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment