Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2022 08:12:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262641] sysutils/screen: build error on stable/12 r371750 (1be600552e5f853c0585742d6b618e66541a81c7)
Message-ID:  <bug-262641-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 262641
           Summary: sysutils/screen: build error on stable/12 r371750
                    (1be600552e5f853c0585742d6b618e66541a81c7)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

I use Synth for building packages. In this instance, I'm running the latest
stable/12 for amd64:

=3D> Building sysutils/screen
Started : Friday, 18 MAR 2022 at 06:39:52 UTC
Platform: 12.3-STABLE FreeBSD 12.3-STABLE #807 r371750: Thu Mar 17 01:48:00=
 CET
2022     root@[REDACTED]:/usr/obj/usr/src/amd64.amd64/sys/PE1950  amd64

This is how the port is configured:

# This file is auto-generated by 'make config'.
# Options for screen-4.6.2_3
_OPTIONS_READ=3Dscreen-4.6.2_3
_FILE_COMPLETE_OPTIONS_LIST=3DINFO NETHACK SHOWENC SYSTEM_SCREENRC XTERM_256
SOCKETS NAMED_PIPES NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT
OPTIONS_FILE_SET+=3DINFO
OPTIONS_FILE_SET+=3DNETHACK
OPTIONS_FILE_SET+=3DSHOWENC
OPTIONS_FILE_SET+=3DSYSTEM_SCREENRC
OPTIONS_FILE_SET+=3DXTERM_256
OPTIONS_FILE_SET+=3DSOCKETS
OPTIONS_FILE_UNSET+=3DNAMED_PIPES
OPTIONS_FILE_SET+=3DNCURSES_DEFAULT
OPTIONS_FILE_UNSET+=3DNCURSES_BASE
OPTIONS_FILE_UNSET+=3DNCURSES_PORT

The build didn't go very far before the system compiler had had enough:

---------------------------------------------------------------------------=
-----
--  Phase: build
---------------------------------------------------------------------------=
-----
=3D=3D=3D>  Building for screen-4.9.0
gmake[1]: Entering directory
'/construction/xports/sysutils/screen/work/screen-4.9.0'
CPP=3D"cpp -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"'" srcdir=3D. sh
./osdef.sh
AWK=3D/usr/bin/awk CC=3D"cc -O2 -pipe -fno-omit-frame-pointer  -I/usr/inclu=
de
-DCOLORS256 -fstack-protector-strong -fno-strict-aliasing " srcdir=3D. sh
./comm.sh
AWK=3D/usr/bin/awk srcdir=3D. sh ./term.sh
sh ./tty.sh tty.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  putenv.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  term.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  kmapdef.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  screen.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  ansi.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  fileio.c
cc -c -I. -I.  -DETCSCREENRC=3D'"/usr/local/etc/screenrc"'
-DSCREENENCODINGS=3D'"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG=
_H
-DGIT_REV=3D\"\" \
     -O2 -pipe -fno-omit-frame-pointer  -I/usr/include -DCOLORS256
-fstack-protector-strong -fno-strict-aliasing  mark.c
screen.c:1215:5: warning: expression result unused [-Wunused-value]
    *--av;
    ^~~~~
screen.c:2789:10: error: duplicate case value '101'
    case 'e':
         ^
screen.c:2766:7: note: previous case defined here
        case 'e':
             ^
1 warning and 1 error generated.
gmake[1]: *** [Makefile:82: screen.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory
'/construction/xports/sysutils/screen/work/screen-4.9.0'
=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 /xports/sysutils/screen

The same version of Screen built successfully on fairly recent main and
stable/13, both amd64.

--=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-262641-7788>