From owner-freebsd-libh Tue Nov 19 18:30:52 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B09E237B401 for ; Tue, 19 Nov 2002 18:30:49 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D993243E6E for ; Tue, 19 Nov 2002 18:30:48 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (qw1k1dp4sggggyhi@dsl-129-56.aei.ca [66.36.129.56]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id gAK2UbD21084 for ; Tue, 19 Nov 2002 21:30:37 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 19C01DD for ; Tue, 19 Nov 2002 21:30:31 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Tue, 19 Nov 2002 21:30:31 -0500 Date: Tue, 19 Nov 2002 21:30:31 -0500 From: The Anarcat To: libh@freebsd.org Subject: precisions on the linking problem Message-ID: <20021120023031.GA316@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok.. I checked out things a bit more cold-headed tonight, and it seems that one missing function isn't defined anywhere (LanguageInterface::LanguageInterface). In contrast, Shared::onHeap() is defined in Pointer.o However, both show up in the link errors. I discovered that the linking command for libhsysinstall is somewhat wrong. Here it is in all its beauty^Whorror: gcc31 -shared -Wl,-x -o libhsysinstall.so.0 -Wl,-soname,libhsysinstall.so= .0 `lorder PackageDescription.cd.So PackageStreamReference.cd.So Feature.S= o Feature.cd.So PackageFile.So PackageFile.cd.So Database.So Database.cd.So= Package.So Package.cd.So PackageStreamSubpackage.cd.So PackageStreamFile.S= o PackageStreamFile.cd.So PackageStreamStructure.cd.So PackageStreamStructu= re.So PackageCreator.So PackageCreator.cd.So PackageStream.So PackageStream= .cd.So Callback.So Callback.cd.So FeaturesProvided.So FeaturesProvided.cd.S= o Exec.cd.So History.cd.So libhsysinstall_init.So /usr/home/anarcat/cvs-wor= k/libh/lib/sysinstall/../../lib/tcl/TclLanguageInterface.So | tsort -q` -L/= usr/local/lib -lstdc++ -lgcc -lm The first thing that is immediatly obvious to me is that Pointer.So is missing in there. I don't know why/how, but it is, and that is one major problem. Putting it back in manually immediatly has the effect of defining Shared::onHeap() properly in libhsysinstall.so.0: 000c77b2 T Shared::onHeap(void const*) 000c76c0 T Shared::isOnHeap(Shared const*) and in libhsysinstall.a: Pointer.o: U _GLOBAL_OFFSET_TABLE_ U _Unwind_Resume 000000f2 T Shared::onHeap(void const*) 00000000 T Shared::isOnHeap(Shared const*) And hurray! It links!!! Now as to why, I'll let you in a little secret. I just redid the experiment *without* modifying the command line, that is: 1- building the libs straight from make(1) 2- cp(1) the files over and it just works. Even though Shared::onHeap() and friends is *not* defined in the library: U Shared::onHeap(void const*) U Shared::isOnHeap(Shared const*) Go figure. It's probably Alex that had it right all along. My setup was borked. So many headaches for nothing. :( I'll just resume my work, thanks for the assistance! A. --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE92vPGttcWHAnWiGcRAkxAAJ4jdhxiHCrdOoyliV0nbDO7eEBfEACfdINA UVp5xEFUS5hSzP8Cw2dI15g= =PT2m -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Nov 20 16:49:23 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6713337B401 for ; Wed, 20 Nov 2002 16:49:22 -0800 (PST) Received: from triangle.rtp.FreeBSD.Org (triangle.rtp.FreeBSD.org [192.58.184.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFE843E42 for ; Wed, 20 Nov 2002 16:49:21 -0800 (PST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: from triangle.rtp.FreeBSD.Org (localhost [127.0.0.1]) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.5) with ESMTP id gAL0nsYh024840 for ; Wed, 20 Nov 2002 19:49:54 -0500 (EST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: (from antoine@localhost) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.6/Submit) id gAL0nsH6024839 for libh@FreeBSD.org; Wed, 20 Nov 2002 19:49:54 -0500 (EST) Date: Wed, 20 Nov 2002 19:49:54 -0500 (EST) From: Antoine Beaupré Message-Id: <200211210049.gAL0nsH6024839@triangle.rtp.FreeBSD.Org> Subject: cvs commit: libh/release Makefile.inc To: freebsd-libh@FreeBSD.org Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/11/20 19:49:54 EST Modified files: release Makefile.inc Log: define a PREFIX if not defined from another makefile, since this doesn't include $S/Makefile.inc this fixes the problem where datafiles were installed in /share Revision Changes Path 1.5 +2 -1 libh/release/Makefile.inc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Nov 20 17: 7:17 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4E7537B401 for ; Wed, 20 Nov 2002 17:07:15 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D4CF43E91 for ; Wed, 20 Nov 2002 17:07:15 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (kibuhmv25dkwk2l9@dsl-129-56.aei.ca [66.36.129.56]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id gAL173w05909 for ; Wed, 20 Nov 2002 20:07:04 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id A16E0DD for ; Wed, 20 Nov 2002 20:07:01 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Wed, 20 Nov 2002 20:07:01 -0500 Date: Wed, 20 Nov 2002 20:07:01 -0500 From: The Anarcat To: libh@freebsd.org Subject: install(1) proposal Message-ID: <20021121010701.GA2166@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In examining how pkg_create(1) works, I noticed that there is a -O flag that only does the registration of the package in the database, without actually creating a package. This annoying feature would best belong to pkg_install, in my opinion, but that just me. The point is, wherever it is, it needs to be implemented. Now, I think that since libh packages are really advanced, we could make it a lot nicer. My idea is to make pkg_create -O simply register the package name, version and most metadata *except* the plist. I think the plist should be updated via a modified install(1) command. The way I picture it, install could have an optional flag (-k?) that would register an installed file in the package system. No more messy plists. Just force your ports to use a custom install command and you're done. The install command would compute all the necessary information about the installed file. Is this completely insane? Of course, compatibility bits could be retained, for those poor/masochist maintainers that still want to generate plists by hand. A. -- Imagination is more important than knowledge - Albert Einstein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Nov 20 17:11:51 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3453537B436 for ; Wed, 20 Nov 2002 17:11:47 -0800 (PST) Received: from triangle.rtp.FreeBSD.Org (triangle.rtp.FreeBSD.org [192.58.184.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D8D43E91 for ; Wed, 20 Nov 2002 17:11:46 -0800 (PST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: from triangle.rtp.FreeBSD.Org (localhost [127.0.0.1]) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.5) with ESMTP id gAL1COYh025118 for ; Wed, 20 Nov 2002 20:12:24 -0500 (EST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: (from antoine@localhost) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.6/Submit) id gAL1COII025117 for libh@FreeBSD.org; Wed, 20 Nov 2002 20:12:24 -0500 (EST) Date: Wed, 20 Nov 2002 20:12:24 -0500 (EST) From: Antoine Beaupré Message-Id: <200211210112.gAL1COII025117@triangle.rtp.FreeBSD.Org> Subject: cvs commit: www index.html To: freebsd-libh@FreeBSD.org Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/11/20 20:12:24 EST Modified files: . index.html Log: rtp1.slowblink.com now has its own .freebsd.org domain, let's celebrate and update the links on the main webpage Revision Changes Path 1.18 +4 -4 www/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Nov 20 17:13:16 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06E2E37B401 for ; Wed, 20 Nov 2002 17:13:16 -0800 (PST) Received: from triangle.rtp.FreeBSD.Org (triangle.rtp.FreeBSD.org [192.58.184.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B19E43E9C for ; Wed, 20 Nov 2002 17:13:15 -0800 (PST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: from triangle.rtp.FreeBSD.Org (localhost [127.0.0.1]) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.5) with ESMTP id gAL1DrYh025189 for ; Wed, 20 Nov 2002 20:13:53 -0500 (EST) (envelope-from antoine@triangle.rtp.FreeBSD.Org) Received: (from antoine@localhost) by triangle.rtp.FreeBSD.Org (8.12.6/8.12.6/Submit) id gAL1DrNQ025188 for libh@FreeBSD.org; Wed, 20 Nov 2002 20:13:53 -0500 (EST) Date: Wed, 20 Nov 2002 20:13:53 -0500 (EST) From: Antoine Beaupré Message-Id: <200211210113.gAL1DrNQ025188@triangle.rtp.FreeBSD.Org> Subject: cvs commit: libh TODO libh/doc/sysinstall2 sysinstall2.sgml To: freebsd-libh@FreeBSD.org Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/11/20 20:13:53 EST Modified files: . TODO doc/sysinstall2 sysinstall2.sgml Log: rtp1.slowblink.com is now known as rtp.FreeBSD.Org! update links to the main libh home Revision Changes Path 1.29 +2 -2 libh/TODO 1.55 +1 -1 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Nov 20 17:37: 9 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2111E37B401 for ; Wed, 20 Nov 2002 17:37:08 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A16A43E42 for ; Wed, 20 Nov 2002 17:37:07 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (2zphp1jwpdrilvvi@dsl-129-56.aei.ca [66.36.129.56]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id gAL1b6w20768 for ; Wed, 20 Nov 2002 20:37:06 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 8B799122 for ; Wed, 20 Nov 2002 20:37:05 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Wed, 20 Nov 2002 20:37:05 -0500 Date: Wed, 20 Nov 2002 20:37:05 -0500 From: The Anarcat To: libh@freebsd.org Subject: HEADS UP: libh main host name change Message-ID: <20021121013705.GB2166@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! Just a quick note to announce that rtp1.slowblink.com has a new name: rtp.FreeBSD.Org I've updated the links around the dev page, but the links still need to be updated on the projects page. The old hostname is still valid, but its use is discouraged. Some of you might also have witnessed disruptions in the service from rtp in the last week. John was workin really hard on making the name change, moving the box to a new rack mount and moving libh on RAID arrays, so be gentle. :) Everything should be back to normal so don't hesitate to signal any problem whatsoever. Have a nice day! A. --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE93DjAttcWHAnWiGcRAo0pAJ9EovMWccAErQM6DlAOPcnPtpK6FwCgjznn /scXoDOVRuVhpUJ9nHJczCE= =L03/ -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message