Hi!

Can someone shed some light on this error. It can’t be reproduced when cross 
compiling using poudriere on an amd64 hardware. "It just works" for me. 

How do I fix this without breaking for CPU’s that don’t support sse2 and how 
can I verify a fix when poudriere says all’s dandy?

Please advice,
Palle

> 10 nov. 2018 kl. 02:12 skrev [email protected]:
> 
> 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:     [email protected]
> Last committer: [email protected]
> Ident:          $FreeBSD: head/databases/postgresql95-client/Makefile 449278 
> 2017-09-05 09:27:11Z girgen $
> Log URL:        
> http://beefy10.nyi.freebsd.org/data/112i386-default/484565/logs/postgresql95-client-9.5.15_1.log
> Build URL:      
> http://beefy10.nyi.freebsd.org/build.html?mastername=112i386-default&build=484565
> Log:
> 
> =>> Building databases/postgresql95-client
> build started at Sat Nov 10 01:12:06 UTC 2018
> port directory: /usr/ports/databases/postgresql95-client
> package name: postgresql95-client-9.5.15_1
> building for: FreeBSD 112i386-default-job-03 11.2-RELEASE-p4 FreeBSD 
> 11.2-RELEASE-p4 i386
> maintained by: [email protected]
> Makefile ident:      $FreeBSD: head/databases/postgresql95-client/Makefile 
> 449278 2017-09-05 09:27:11Z girgen $
> Poudriere version: 3.2.8
> Host OSVERSION: 1300002
> Jail OSVERSION: 1102000
> Job Id: 03
> 
> ---Begin Environment---
> SHELL=/bin/csh
> UNAME_p=i386
> UNAME_m=i386
> OSVERSION=1102000
> UNAME_v=FreeBSD 11.2-RELEASE-p4
> UNAME_r=11.2-RELEASE-p4
> 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
> USER=root
> LIBEXECPREFIX=/usr/local/libexec/poudriere
> POUDRIERE_VERSION=3.2.8
> MASTERMNT=/usr/local/poudriere/data/.m/112i386-default/ref
> POUDRIERE_BUILD_TYPE=bulk
> PACKAGE_BUILDING=yes
> SAVED_TERM=
> PWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p/pool
> P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
> MASTERNAME=112i386-default
> SCRIPTPREFIX=/usr/local/share/poudriere
> OLDPWD=/usr/local/poudriere/data/.m/112i386-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 
> postgresql95-client-9.5.15_1:
>    DEBUG=off: Build with debugging support
>    DOCS=on: Build and/or install documentation
>    GSSAPI=off: Build with GSSAPI support
>    LIBEDIT=off: Use non-GPL libedit instead of readline
>    NLS=on: Use internationalized messages
>    OPTIMIZED_CFLAGS=off: Builds with compiler optimizations (-O3)
>    PAM=off: Build with PAM Support
>    SSL=on: Build with OpenSSL support
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
> 
> --MAINTAINER--
> [email protected]
> --End MAINTAINER--
> 
> --CONFIGURE_ARGS--
> --with-libraries=/usr/local/lib  --with-includes=/usr/local/include  
> --enable-thread-safety --disable-debug --enable-nls --without-pam 
> --with-openssl --without-gssapi --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
> --End CONFIGURE_ARGS--
> 
> --CONFIGURE_ENV--
> INCLUDES="-I/usr/local/include"  PTHREAD_LIBS="-lpthread"  LDFLAGS_SL="" 
> PKG_CONFIG=pkgconf MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl 
> ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 
> XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work  
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work  
> HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work TMPDIR="/tmp" 
> PATH=/wrkdirs/usr/ports/databases/postgresql95-client/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=262144
> --End CONFIGURE_ENV--
> 
> --MAKE_ENV--
> PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl 
> OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib 
> XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work  
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work  
> HOME=/wrkdirs/usr/ports/databases/postgresql95-client/work TMPDIR="/tmp" 
> PATH=/wrkdirs/usr/ports/databases/postgresql95-client/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  
> -fstack-protector -fno-strict-aliasing "  CPP="cpp" 
> CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -lpthread 
> -L/usr/local/lib  -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 
> 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="i
> nstall  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
> --End MAKE_ENV--
> 
> --PLIST_SUB--
> PG_USER=pgsql  PG_GROUP=pgsql PORTDOCS="" DEBUG="@comment " NO_DEBUG="" 
> DOCS="" NO_DOCS="@comment " GSSAPI="@comment " NO_GSSAPI="" LIBEDIT="@comment 
> " NO_LIBEDIT="" NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " 
> NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " 
> OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local 
> LIB32DIR=lib PERL_VERSION=5.26.2  PERL_VER=5.26  
> PERL5_MAN1=lib/perl5/site_perl/man/man1  
> PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl  
> SITE_ARCH=lib/perl5/site_perl/mach/5.26 DOCSDIR="share/doc/postgresql"  
> EXAMPLESDIR="share/examples/postgresql"  DATADIR="share/postgresql"  
> WWWDIR="www/postgresql"  ETCDIR="etc/postgresql"
> --End PLIST_SUB--
> 
> --SUB_LIST--
> PG_GROUP=pgsql  PG_USER=pgsql  PG_UID=70 DEBUG="@comment " NO_DEBUG="" 
> DOCS="" NO_DOCS="@comment " GSSAPI="@comment " NO_GSSAPI="" LIBEDIT="@comment 
> " NO_LIBEDIT="" NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " 
> NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " 
> PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/postgresql 
> DOCSDIR=/usr/local/share/doc/postgresql 
> EXAMPLESDIR=/usr/local/share/examples/postgresql  
> WWWDIR=/usr/local/www/postgresql ETCDIR=/usr/local/etc/postgresql
> --End SUB_LIST--
> 
> ---Begin make.conf---
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PORTSDIR=/usr/ports
> PACKAGES=/packages
> DISTDIR=/distfiles
> PACKAGE_BUILDING=yes
> PACKAGE_BUILDING_FLAVORS=yes
> MACHINE=i386
> MACHINE_ARCH=i386
> 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
> 
> # stable/10 includes src.conf too late but make.conf is in sys.mk
> .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
> # Disable build of llib now that head no longer has lint(1)
> LINT=    true
> .endif
> #### /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: i386-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: i386-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" "-m" 
> "elf_i386_fbsd" "-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: i386-unknown-freebsd11.2 Thread model: 
> posix InstalledDir: /usr/bin
> _OBJC_ALTCCVERSION_921dbbb2=none
> ARCH=i386
> OPSYS=FreeBSD
> _OSRELEASE=11.2-RELEASE-p4
> OSREL=11.2
> OSVERSION=1102000
> PYTHONBASE=/usr/local
> CONFIGURE_MAX_CMD_LEN=262144
> HAVE_PORTS_ENV=1
> #### Misc Poudriere ####
> GID=0
> UID=0
> DISABLE_MAKE_JOBS=poudriere
> ---End make.conf---
> --Resource limits--
> cpu time               (seconds, -t)  unlimited
> file size           (512-blocks, -f)  unlimited
> data seg size           (kbytes, -d)  524288
> stack size              (kbytes, -s)  65536
> 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 PostgreSQL accepted by the user
> ===========================================================================
> =======================<phase: pkg-depends    >============================
> ===>   postgresql95-client-9.5.15_1 depends on file: /usr/local/sbin/pkg - 
> not found
> ===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
> [112i386-default-job-03] Installing pkg-1.10.5_5...
> [112i386-default-job-03] Extracting pkg-1.10.5_5: .......... done
> ===>   postgresql95-client-9.5.15_1 depends on file: /usr/local/sbin/pkg - 
> found
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===========================================================================
> =======================<phase: fetch-depends  >============================
> ===========================================================================
> =======================<phase: fetch          >============================
> ===>  License PostgreSQL accepted by the user
> => postgresql-9.5.15.tar.bz2 doesn't seem to exist in 
> /portdistfiles/postgresql.
> => Attempting to fetch 
> https://ftp.postgresql.org/pub/source/v9.5.15/postgresql-9.5.15.tar.bz2
> postgresql-9.5.15.tar.bz2                                0  B    0  Bps
> ===> Fetching all distfiles required by postgresql95-client-9.5.15_1 for 
> building
> ===========================================================================
> =======================<phase: checksum       >============================
> ===>  License PostgreSQL accepted by the user
> ===> Fetching all distfiles required by postgresql95-client-9.5.15_1 for 
> building
> => SHA256 Checksum OK for postgresql/postgresql-9.5.15.tar.bz2.
> ===========================================================================
> =======================<phase: extract-depends>============================
> ===========================================================================
> =======================<phase: extract        >============================
> ===>  License PostgreSQL accepted by the user
> ===> Fetching all distfiles required by postgresql95-client-9.5.15_1 for 
> building
> ===>  Extracting for postgresql95-client-9.5.15_1
> => SHA256 Checksum OK for postgresql/postgresql-9.5.15.tar.bz2.
> ===========================================================================
> =======================<phase: patch-depends  >============================
> ===========================================================================
> =======================<phase: patch          >============================
> ===>  Patching for postgresql95-client-9.5.15_1
> ===>  Applying FreeBSD patches for postgresql95-client-9.5.15_1
> ===========================================================================
> =======================<phase: build-depends  >============================
> ===>   postgresql95-client-9.5.15_1 depends on package: pkgconf>=1.3.0_1 - 
> not found
> ===>   Installing existing package /packages/All/pkgconf-1.5.4,1.txz
> [112i386-default-job-03] Installing pkgconf-1.5.4,1...
> [112i386-default-job-03] Extracting pkgconf-1.5.4,1: .......... done
> ===>   postgresql95-client-9.5.15_1 depends on package: pkgconf>=1.3.0_1 - 
> found
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===>   postgresql95-client-9.5.15_1 depends on executable: gmake - not found
> ===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
> [112i386-default-job-03] Installing gmake-4.2.1_2...
> [112i386-default-job-03] `-- Installing gettext-runtime-0.19.8.1_1...
> [112i386-default-job-03] |   `-- Installing indexinfo-0.3.1...
> [112i386-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
> [112i386-default-job-03] `-- Extracting gettext-runtime-0.19.8.1_1: 
> .......... done
> [112i386-default-job-03] Extracting gmake-4.2.1_2: .......... done
> ===>   postgresql95-client-9.5.15_1 depends on executable: gmake - found
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===>   postgresql95-client-9.5.15_1 depends on executable: msgfmt - not found
> ===>   Installing existing package /packages/All/gettext-tools-0.19.8.1.txz
> [112i386-default-job-03] Installing gettext-tools-0.19.8.1...
> [112i386-default-job-03] Extracting gettext-tools-0.19.8.1: .......... done
> ===>   postgresql95-client-9.5.15_1 depends on executable: msgfmt - found
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===>   postgresql95-client-9.5.15_1 depends on package: perl5>=5.26<5.27 - 
> not found
> ===>   Installing existing package /packages/All/perl5-5.26.2_1.txz
> [112i386-default-job-03] Installing perl5-5.26.2_1...
> [112i386-default-job-03] Extracting perl5-5.26.2_1: .......... done
> Message from perl5-5.26.2_1:
> 
> The /usr/bin/perl symlink has been removed starting with Perl 5.20.
> For shebangs, you should either use:
> 
> #!/usr/local/bin/perl
> 
> or
> 
> #!/usr/bin/env perl
> 
> The first one will only work if you have a /usr/local/bin/perl,
> the second will work as long as perl is in PATH.
> ===>   postgresql95-client-9.5.15_1 depends on package: perl5>=5.26<5.27 - 
> found
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===========================================================================
> =======================<phase: lib-depends    >============================
> ===>   postgresql95-client-9.5.15_1 depends on shared library: 
> libreadline.so.7 - not found
> ===>   Installing existing package /packages/All/readline-7.0.3_1.txz
> [112i386-default-job-03] Installing readline-7.0.3_1...
> [112i386-default-job-03] Extracting readline-7.0.3_1: .......... done
> ===>   postgresql95-client-9.5.15_1 depends on shared library: 
> libreadline.so.7 - found (/usr/local/lib/libreadline.so.7)
> ===>   Returning to build of postgresql95-client-9.5.15_1
> ===>   postgresql95-client-9.5.15_1 depends on shared library: libintl.so - 
> found (/usr/local/lib/libintl.so)
> ===========================================================================
> =======================<phase: configure      >============================
> ===>  Configuring for postgresql95-client-9.5.15_1
> configure: loading site script /usr/ports/Templates/config.site
> checking build system type... i386-portbld-freebsd11.2
> checking host system type... i386-portbld-freebsd11.2
> checking which template to use... freebsd
> checking whether to build with 64-bit integer date/time support... yes
> checking whether NLS is wanted... yes
> checking for default port number... 5432
> checking for block size... 8kB
> checking for segment size... 1GB
> checking for WAL block size... 8kB
> checking for WAL segment size... 16MB
> 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 cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc supports -Wdeclaration-after-statement... yes
> checking whether cc supports -Wendif-labels... yes
> checking whether cc supports -Wmissing-format-attribute... yes
> checking whether cc supports -Wformat-security... yes
> checking whether cc supports -fno-strict-aliasing... yes
> checking whether cc supports -fwrapv... yes
> checking whether cc supports -fexcess-precision=standard... no
> checking whether cc supports -funroll-loops... yes
> checking whether cc supports -ftree-vectorize... yes
> checking whether cc supports -Wunused-command-line-argument... yes
> checking whether cc supports -Wformat-truncation... no
> checking whether cc supports -Wstringop-truncation... no
> checking whether the C compiler still works... yes
> configure: error: Compiling PostgreSQL with clang, on 32bit x86, requires 
> SSE2 support. Use -msse2 or use gcc.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to [email protected] [maintainer] and attach the
> "/wrkdirs/usr/ports/databases/postgresql95-client/work/postgresql-9.5.15/config.log"
> including the output of the failure of your make command. Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/databases/postgresql95-client
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout
To unsubscribe, send any mail to "[email protected]"

Reply via email to