Opened 15 years ago

Closed 15 years ago

#22604 closed defect (duplicate)

compile error: gnu screen

Reported by: sonia@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: digdog@…
Port:

Description

% uname -a
Darwin manzana.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

% sudo port selfupdate
Password:
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.8.1 installed,
MacPorts base version 1.8.1 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

% sudo port install screen
--->  Computing dependencies for screen
--->  Fetching screen
--->  Attempting to fetch screen-4.0.3.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/screen
--->  Attempting to fetch 18 from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/screen
--->  Verifying checksum(s) for screen
--->  Extracting screen
--->  Applying patches to screen
--->  Configuring screen
--->  Building screen
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.3" && /usr/bin/make -j2 all " returned error 2
Command output: termcap.c: In function 'CreateTransTable':
termcap.c:1195: warning: format not a string literal and no format arguments
termcap.c:1214: warning: format not a string literal and no format arguments
termcap.c:1249: warning: format not a string literal and no format arguments
/usr/bin/gcc-4.2 -c -I. -I.    -O2 -arch x86_64 input.c
In file included from screen.h:144,
                 from input.c:26:
display.h:182: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
In file included from screen.h:145,
                 from input.c:26:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
/usr/bin/gcc-4.2 -c -I. -I.    -O2 -arch x86_64 attacher.c
In file included from screen.h:144,
                 from attacher.c:30:
display.h:182: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
In file included from screen.h:145,
                 from attacher.c:30:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
attacher.c: In function 'LockTerminal':
attacher.c:718: warning: format not a string literal and no format arguments
/usr/bin/gcc-4.2 -c -I. -I.    -O2 -arch x86_64 pty.c
In file included from screen.h:144,
                 from pty.c:30:
display.h:182: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
In file included from screen.h:145,
                 from pty.c:30:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
pty.c:38:26: error: sys/stropts.h: No such file or directory
make: *** [pty.o] Error 1
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 15 years ago by tobypeterson

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.