>Number: 160596
>Category: bin
>Synopsis: [patch] Use libodialog when doing tzsetup source upgrades from
>earlier versions of FreeBSD to 9.x post r217309
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 09 19:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.0-BETA2
>Organization:
iXsystems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225457M: Fri Sep 9
00:19:17 PDT 2011 [email protected]:/usr/obj/usr/src/sys/BAYONETTA
amd64
>Description:
The copy of tzsetup on the host system is referencing libdialog.so, which has
been replaced and lacks symbols needed for some applications like tzsetup.
The attached patch hacks the build so that it refers to the correct libdialog
library (now known as libodialog).
This should _NOT_ be MFCed!
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: share/zoneinfo/Makefile
===================================================================
--- share/zoneinfo/Makefile (revision 224989)
+++ share/zoneinfo/Makefile (working copy)
@@ -72,7 +72,8 @@
optC="-C ${DESTDIR}"; \
fi; \
echo "Updating /etc/localtime"; \
- tzsetup $${optC} -r; \
+ env LD_PRELOAD=${DESTDIR}/usr/lib/libodialog.so \
+ tzsetup $${optC} -r; \
fi; \
else \
echo "Run tzsetup(8) manually to update /etc/localtime."; \
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"