Your message dated Tue, 26 Nov 2002 01:36:51 +0900 (JST) with message-id <[EMAIL PROTECTED]> and subject line debian-policy: provides the exception of static libraries. has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 3 Nov 2002 21:24:08 +0000 >From [EMAIL PROTECTED] Sun Nov 03 15:24:08 2002 Return-path: <[EMAIL PROTECTED]> Received: from 37.1.111.219.st.excite.co.jp (mail.gclab.org) [219.111.1.37] (postfix) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 188SE3-0004oN-00; Sun, 03 Nov 2002 15:24:07 -0600 Received: from localhost (chulip [127.0.0.1]) by mail.gclab.org (Postfix) with ESMTP id 3E08D112AC6 for <[EMAIL PROTECTED]>; Mon, 4 Nov 2002 06:24:02 +0900 (JST) Date: Mon, 04 Nov 2002 06:22:48 +0900 (JST) Message-Id: <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: debian-policy: provides the exception of static libraries. From: Akira TAGOH <[EMAIL PROTECTED]> X-PGP-key-URL: http://keyring.debian.org:11371/pks/lookup?op=get&search=0x9DB19904 X-fingerprint: 06B7 CF30 4EF6 224A E660 7A2A D900 A735 9DB1 9904 X-URL: http://www.gclab.org/~at/ X-Attribution: AT X-Mailer: Mew version 3.1rc1 on XEmacs 21.5-b5 (beets) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=0.6 required=5.0 tests=SPAM_PHRASE_00_01 version=2.41 X-Spam-Level: Package: debian-policy Version: 3.5.7.1 Severity: normal In Libraries section, In general, libraries must have a shared version in the library package and a static version in the development package. But, if libraries uses dlopen(3) internally, then some programs links the static version, it doesn't work correctly. because dlopen(3) doesn't try to resolve the symbols in the static-linked program. in most cases, the static version of such libraries is meaningless to be provided. So I think our policy needs to be added the exception of such case. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux crocus 2.4.19 #1 Tue Aug 27 06:14:35 JST 2002 i686 Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP Versions of packages debian-policy depends on: ii coreutils [fileutils] 4.5.3-1 The GNU core utilities ii fileutils 4.5.3-1 GNU file management utilities -- no debconf information --------------------------------------- Received: (at 167604-done) by bugs.debian.org; 25 Nov 2002 16:56:35 +0000 >From [EMAIL PROTECTED] Mon Nov 25 10:56:35 2002 Return-path: <[EMAIL PROTECTED]> Received: from 37.1.111.219.st.excite.co.jp (mail.gclab.org) [219.111.1.37] (postfix) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 18GMXC-0008NG-00; Mon, 25 Nov 2002 10:56:35 -0600 Received: from localhost (chulip [127.0.0.1]) by mail.gclab.org (Postfix) with ESMTP id 801F91126D9; Tue, 26 Nov 2002 01:56:28 +0900 (JST) Date: Tue, 26 Nov 2002 01:36:51 +0900 (JST) Message-Id: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: debian-policy: provides the exception of static libraries. From: Akira TAGOH <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> X-PGP-key-URL: http://keyring.debian.org:11371/pks/lookup?op=get&search=0x9DB19904 X-fingerprint: 06B7 CF30 4EF6 224A E660 7A2A D900 A735 9DB1 9904 X-URL: http://www.gclab.org/~at/ X-Attribution: AT X-Mailer: Mew version 3.1rc1 on XEmacs 21.5-b5 (beets) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-3.7 required=5.0 tests=IN_REP_TO,NO_OBLIGATION,REFERENCES,SPAM_PHRASE_03_05 version=2.41 X-Spam-Level: >>>>> On Sat, 23 Nov 2002 13:35:09 +0100, >>>>> "BA" == Bill Allombert <[EMAIL PROTECTED]> wrote: BA> I believe you must just explain the situation to the submitter and close BA> the bug. You have no obligation to add something to README.Debian. BA> Please be kind with the bug submitter, but you have no obligation to document BA> the correct use of gcc/ld in your packages. Sure. I think describing this issue to README.Debian will be useful for people. so I will do that. BA> There are two distinct problems when building code that use dlopen BA> on ELF platform. BA> 1) You must not link fully static, BA> 2) you must link with -export-dynamic if you want to dlopen() symbol that are BA> statically linked. BA> So I believe (ld expert please correct me) the right way to build something BA> almost static is to do BA> gcc -export-dynamic -o $@ t.c -Wl,-static -ldl -L. -lfoo -Wl,-Bdynamic BA> This work with your testsuite. s/-static/-Bstatic/ ? BA> Anyway this is irrelevant to debian-policy, we should move it to debian-devel. Indeed. ok, I close this bug. if I have any question, I'll post it to d-d. Thanks, -- Akira TAGOH : [EMAIL PROTECTED] / Japan GNOME Users Group [EMAIL PROTECTED] : [EMAIL PROTECTED] / GNOME-DB Project : [EMAIL PROTECTED] / Red Hat, Inc. : [EMAIL PROTECTED] / Debian Project