Bug 23642

Summary: Sysinstall compile fails after new msg.c patch
Product: Base System Reporter: Shaun Jurrens <shaun>
Component: confAssignee: Peter Pentchev <roam>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Shaun Jurrens 2000-12-19 14:20:01 UTC
compile of sysinstall after src upgrade (as final step to system upgrade) fails with following message:

msg.o: In function `msgNoYes':
msg.o(.text+0x6ff): undefined reference to `dialog_noyes'
*** Error code 1
 
Stop in /usr/src/release/sysinstall.

for file: 
* $FreeBSD: src/release/sysinstall/msg.c,v 1.52.2.1 2000/12/15 05:56:22 jkh Exp

Fix: 

fix the undefined reference, ;-)
How-To-Repeat: update src to version committed on 12/15/2000 (current RELENG_4 src) and cd to /usr/src/sysinstall and type make all install
Comment 1 Peter Pentchev 2000-12-19 14:28:03 UTC
On Tue, Dec 19, 2000 at 06:10:10AM -0800, shaun@shamz.net wrote:
> 
> >Number:         23642
> >Category:       conf
> >Synopsis:       Sysinstall compile fails after new msg.c patch
> >Originator:     Shaun Jurrens
> >Release:        RELENG_4
> >Organization:
> shamz.net
> >Environment:
> FreeBSD hotbox.world-online.no 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Dec 19
> >Description:
> compile of sysinstall after src upgrade (as final step to system upgrade) fails with following message:
> 
> msg.o: In function `msgNoYes':
> msg.o(.text+0x6ff): undefined reference to `dialog_noyes'
> *** Error code 1
>  
> Stop in /usr/src/release/sysinstall.
> 
> for file: 
> * $FreeBSD: src/release/sysinstall/msg.c,v 1.52.2.1 2000/12/15 05:56:22 jkh Exp

Can you also run ident on /usr/src/gnu/lib/libdialog/{dialog.h,yesno.c}
and check that you have respectively:

/usr/src/gnu/lib/libdialog/dialog.h:
     $FreeBSD: src/gnu/lib/libdialog/dialog.h,v 1.21.6.1 2000/12/15 05:54:36 jkh Exp $

/usr/src/gnu/lib/libdialog/yesno.c:
     $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36 jkh Exp $

..and that you are trying to link sysinstall against a libdialog built with
*these* revisions?  (run ident on /usr/lib/libdialog.so.4 and on
/usr/obj/usr/src/gnu/lib/libdialog/libdialog.so.4)

G'luck,
Peter

-- 
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
Comment 2 Peter Pentchev 2000-12-20 13:03:14 UTC
Was your attempt to rebuild sysinstall done after a (successful) world
build?

G'luck,
Peter

PS. Please CC the messages to freebsd-gnats-submit@FreeBSD.org, keeping
the same subject line, so they are stored into the audit trail of your
problem report, and available for reference later :)

-- 
I had to translate this sentence into English because I could not read the original Sanskrit.

On Wed, Dec 20, 2000 at 08:30:17AM +0100, Shaun Jurrens wrote:
> On Tue, Dec 19, 2000 at 04:28:03PM +0200, Peter Pentchev wrote:
> #> On Tue, Dec 19, 2000 at 06:10:10AM -0800, shaun@shamz.net wrote:
[snip]
> #> > 
> #> > compile of sysinstall after src upgrade (as final step to system upgrade) fails with following message:
> #> > 
> #> > msg.o: In function `msgNoYes':
> #> > msg.o(.text+0x6ff): undefined reference to `dialog_noyes'
> #> > *** Error code 1
> #> >  
> #> > Stop in /usr/src/release/sysinstall.
> #> > 
> #> > for file: 
> #> > * $FreeBSD: src/release/sysinstall/msg.c,v 1.52.2.1 2000/12/15 05:56:22 jkh Exp
> #> 
> #> Can you also run ident on /usr/src/gnu/lib/libdialog/{dialog.h,yesno.c}
> #> and check that you have respectively:
> #> 
> #> /usr/src/gnu/lib/libdialog/dialog.h:
> #>      $FreeBSD: src/gnu/lib/libdialog/dialog.h,v 1.21.6.1 2000/12/15 05:54:36 jkh Exp $
> #> 
> #> /usr/src/gnu/lib/libdialog/yesno.c:
> #>      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36 jkh Exp $
> 
>   ident on /usr/src/gnu/lib/libdialog/{dialog.h,yesno.c}:
> 
> /usr/src/gnu/lib/libdialog/dialog.h:
> $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36 jkh
> Exp $
> 
> /usr/src/gnu/lib/libdialog/yesno.c:
>      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36
> jkh Exp $
> 
> 
> #> 
> #> ..and that you are trying to link sysinstall against a libdialog built with
> #> *these* revisions?  (run ident on /usr/lib/libdialog.so.4 and on
> #> /usr/obj/usr/src/gnu/lib/libdialog/libdialog.so.4)
> 
> /usr/obj/usr/src/gnu/lib/libdialog/libdialog.so.4:
>      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36
> jkh Exp $
>      $FreeBSD: src/gnu/lib/libdialog/radiolist.c,v 1.36 1999/12/17 02:44:09
> jkh Exp $
>      $FreeBSD: src/gnu/lib/libdialog/menubox.c,v 1.35 1999/12/17 02:44:09
> jkh Exp $
>      $FreeBSD: src/gnu/lib/libdialog/checklist.c,v 1.35 1999/12/17 02:44:09
> jkh Exp $
> 
> 	It would seem that I am.
Comment 3 Shaun Jurrens 2000-12-20 14:12:47 UTC
On Wed, Dec 20, 2000 at 03:03:14PM +0200, Peter Pentchev wrote:
#> Was your attempt to rebuild sysinstall done after a (successful) world
#> build?

	Yep.  Funny thing is the next buildworld with cvsup from Wed. 20 Dec
works again, ie. new buildworld; cd /usr/src/release/sysinstall; make all
install  now works.  I'm a bit confused now... I didn't think I saw any
commits. cvsweb shows no commits between my cvsup's.  Perhaps this is just a
case of random anarchy.  Perhaps the tagged-queuing on that ata drive is
twidling bits, now other things seem to be breaking as I try to upgrade my
jails.
#> 
#> G'luck,
#> Peter
#> 
#> PS. Please CC the messages to freebsd-gnats-submit@FreeBSD.org, keeping
#> the same subject line, so they are stored into the audit trail of your
#> problem report, and available for reference later :)
#> 
#> -- 
#> I had to translate this sentence into English because I could not read the original Sanskrit.
#> 
#> On Wed, Dec 20, 2000 at 08:30:17AM +0100, Shaun Jurrens wrote:
#> > On Tue, Dec 19, 2000 at 04:28:03PM +0200, Peter Pentchev wrote:
#> > #> On Tue, Dec 19, 2000 at 06:10:10AM -0800, shaun@shamz.net wrote:
#> [snip]
#> > #> > 
#> > #> > compile of sysinstall after src upgrade (as final step to system upgrade) fails with following message:
#> > #> > 
#> > #> > msg.o: In function `msgNoYes':
#> > #> > msg.o(.text+0x6ff): undefined reference to `dialog_noyes'
#> > #> > *** Error code 1
#> > #> >  
#> > #> > Stop in /usr/src/release/sysinstall.
#> > #> > 
#> > #> > for file: 
#> > #> > * $FreeBSD: src/release/sysinstall/msg.c,v 1.52.2.1 2000/12/15 05:56:22 jkh Exp
#> > #> 
#> > #> Can you also run ident on /usr/src/gnu/lib/libdialog/{dialog.h,yesno.c}
#> > #> and check that you have respectively:
#> > #> 
#> > #> /usr/src/gnu/lib/libdialog/dialog.h:
#> > #>      $FreeBSD: src/gnu/lib/libdialog/dialog.h,v 1.21.6.1 2000/12/15 05:54:36 jkh Exp $
#> > #> 
#> > #> /usr/src/gnu/lib/libdialog/yesno.c:
#> > #>      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36 jkh Exp $
#> > 
#> >   ident on /usr/src/gnu/lib/libdialog/{dialog.h,yesno.c}:
#> > 
#> > /usr/src/gnu/lib/libdialog/dialog.h:
#> > $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36 jkh
#> > Exp $
#> > 
#> > /usr/src/gnu/lib/libdialog/yesno.c:
#> >      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36
#> > jkh Exp $
#> > 
#> > 
#> > #> 
#> > #> ..and that you are trying to link sysinstall against a libdialog built with
#> > #> *these* revisions?  (run ident on /usr/lib/libdialog.so.4 and on
#> > #> /usr/obj/usr/src/gnu/lib/libdialog/libdialog.so.4)
#> > 
#> > /usr/obj/usr/src/gnu/lib/libdialog/libdialog.so.4:
#> >      $FreeBSD: src/gnu/lib/libdialog/yesno.c,v 1.11.8.1 2000/12/15 05:54:36
#> > jkh Exp $
#> >      $FreeBSD: src/gnu/lib/libdialog/radiolist.c,v 1.36 1999/12/17 02:44:09
#> > jkh Exp $
#> >      $FreeBSD: src/gnu/lib/libdialog/menubox.c,v 1.35 1999/12/17 02:44:09
#> > jkh Exp $
#> >      $FreeBSD: src/gnu/lib/libdialog/checklist.c,v 1.35 1999/12/17 02:44:09
#> > jkh Exp $
#> > 
#> > 	It would seem that I am. 

-- 
Yours truly,

Shaun D. Jurrens
shaun@shamz.net
shamz@freenix.no

Frederik-Glads-Gate 8B
0482 Oslo

Tel. Mobil: +47 938 31610
Tel. Home:  +47 22 22 3903

IRCNET nick: shamz #chillout #unix #FreeBSD
Comment 4 Peter Pentchev freebsd_committer freebsd_triage 2000-12-20 14:27:50 UTC
State Changed
From-To: open->closed

Submitter reports that the problem disappeared with his next 
cvsup and buildworld. 


Comment 5 Peter Pentchev freebsd_committer freebsd_triage 2000-12-20 14:27:50 UTC
Responsible Changed
From-To: freebsd-bugs->roam

I'll close this PR now.  If the problem appears again, please 
post a followup (I'll see it, because GNATS shall CC me) along 
with a ktrace output.