Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Apr 2018 14:23:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227296] lang/polyml fails to build using poudriere
Message-ID:  <bug-227296-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227296

            Bug ID: 227296
           Summary: lang/polyml fails to build using poudriere
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: transitive@gmail.com
                CC: beyert@cs.ucr.edu
                CC: beyert@cs.ucr.edu
             Flags: maintainer-feedback?(beyert@cs.ucr.edu)
 Attachment #192244 text/plain
         mime type:

Created attachment 192244
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192244&action=
=3Dedit
Poudriere build log failure

lang/polyml fails to build for me using poudriere with a termios error.

The following is the relevant part of the build log:

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I..
-I/usr/local/lib/libffi-3.2.1/include -O2 -pipe -fstack-protector
-fno-strict-aliasing -Wall -DMODULEDIR=3D/usr/local/lib/polyml/modules -O2 =
-pipe
-fstack-protector -fno-strict-aliasing -MT elfexport.lo -MD -MP -MF
.deps/elfexport.Tpo -c elfexport.cpp -o elfexport.o >/dev/null 2>&1
--- unix_specific.lo ---
In file included from unix_specific.cpp:98:
/usr/include/sys/termios.h:3:2: warning: "this file includes <sys/termios.h>
which is deprecated, use <termios.h> instead" [-W#warnings]
#warning "this file includes <sys/termios.h> which is deprecated, use
<termios.h> instead"
 ^
unix_specific.cpp:288:5: error: constant expression evaluates to 2147483648
which cannot be narrowed to type 'int' [-Wc++11-narrowing]
    NOFLSH,
    ^~~~~~
/usr/include/sys/_termios.h:179:17: note: expanded from macro 'NOFLSH'
#define NOFLSH          0x80000000      /* don't flush after interrupt */
                        ^~~~~~~~~~
unix_specific.cpp:288:5: note: insert an explicit cast to silence this issue
    NOFLSH,
    ^~~~~~
    static_cast<int>( )
/usr/include/sys/_termios.h:179:17: note: expanded from macro 'NOFLSH'
#define NOFLSH          0x80000000      /* don't flush after interrupt */
                        ^~~~~~~~~~
1 warning and 1 error generated.
*** [unix_specific.lo] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6/libpolyml
--- xwindows.lo ---
mv -f .deps/xwindows.Tpo .deps/xwindows.Plo
--- elfexport.lo ---
mv -f .deps/elfexport.Tpo .deps/elfexport.Plo
--- x86asmtemp.lo ---
mv -f .deps/x86asmtemp.Tpo .deps/x86asmtemp.Plo
--- x86_dep.lo ---
mv -f .deps/x86_dep.Tpo .deps/x86_dep.Plo
--- realconv.lo ---
mv -f .deps/realconv.Tpo .deps/realconv.Plo
1 error

make[3]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6/libpolyml
*** [all-recursive] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6
1 error

make[2]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6
1 error

make[1]: stopped in /wrkdirs/usr/ports/lang/polyml/work/polyml-5.6
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/polyml
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for polyml-5.6
build of lang/polyml | polyml-5.6 ended at Thu Apr  5 10:02:01 EDT 2018
build time: 00:00:13
!!! build failure encountered !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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