Bug 141743 - sysutils/screen broken on fresh current
Summary: sysutils/screen broken on fresh current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 07:20 UTC by Dmitry Afanasiev
Modified: 2009-12-21 23:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Afanasiev 2009-12-18 07:20:02 UTC
On fresh FreeBSD 9.0-CURRENT build ports/screen fails with: 
cc -c -I. -I.    -O2 -pipe -march=pentium4m -fno-strict-aliasing utmp.c
utmp.c: In function 'initutmp':
utmp.c:646: error: 'utmpfd' undeclared (first use in this function)
utmp.c:646: error: (Each undeclared identifier is reported only once
utmp.c:646: error: for each function it appears in.)
utmp.c: In function 'setutent':
utmp.c:654: error: 'utmpfd' undeclared (first use in this function)
utmp.c: In function 'endutent':
utmp.c:661: error: 'utmpfd' undeclared (first use in this function)
utmp.c: In function 'getutent':
utmp.c:669: error: 'utmpfd' undeclared (first use in this function)
utmp.c: In function 'getutslot':
utmp.c:680: error: 'utmpfd' undeclared (first use in this function)
utmp.c: In function 'pututslot':
utmp.c:699: error: 'utmpfd' undeclared (first use in this function)
*** Error code 1

Stop in /var/ports/usr/ports/sysutils/screen/work/screen-4.0.3.
*** Error code 1

Stop in /usr/ports/sysutils/screen.
*** Error code 1

Stop in /usr/ports/sysutils/screen.

It's not a PR ports/132579, i'm using internal gcc
I thing it's result of moving sysutils/libutempter to base system

How-To-Repeat: 1. Update your FreeBSD to latest current
2. cd /usr/ports/sysutils/screen && make
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-18 17:23:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2009-12-21 23:15:22 UTC
State Changed
From-To: open->closed

Applied patch to utmp.c. Fixed.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-12-21 23:16:18 UTC
cy          2009-12-21 23:16:04 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/screen/files patch-utmp.c 
  Log:
  Fix build under FreeBSD 9.0-CURRENT.
  
  PR:             141743
  
  Revision  Changes    Path
  1.2       +27 -4     ports/sysutils/screen/files/patch-utmp.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"