Ticket #67 (closed Defect: fixed)

Opened 8 months ago

Last modified 2 months ago

GLIBC_2.3 does not satisfy 'requireLibC GLIBC_2.0'

Reported by: brendelbrendel Assigned to: taj
Priority: Medium Milestone:
Component: main Version: 1.2.4
Severity: Blocker Keywords: GLIBC
Cc: jhasse@gmail.com

Description

Hi!

The inline docs of the function requireLibC in /usr/share/autopackage/apkg-script-utils tell me that the function allows me "to ensure that the system has at least the version of glibc" that your binaries require.

Now, the base package autopackage-gtk-1.2.4 calls requireLibC GLIBC_2.0 GLIBC_2.1 GLIBC_2.2 which fails on my system (Debian Etch, 64bit). Okay, dumpverdefs64 /lib/libc.so.6 reports only the symbols GLIBC_2.2.5, GLIBC_2.2.6, GLIBC_2.3, GLIBC_2.3.2, GLIBC_2.3.3, GLIBC_2.3.4, and GLIBC_PRIVATE to be present.

Hence, how can I understand the "at least the version of glibc" in requireLibC's purpose?

Attachments

glibc.diff (0.8 kB) - added by Jan-Nik on 04/22/08 09:12:00.
just removes "at least". Don't know if this okay

Change History

04/01/08 13:48:41 changed by Jan-Nik

  • cc set to jhasse@gmail.com.

(follow-up: ↓ 3 ) 04/19/08 16:16:00 changed by Jan-Nik

AFAIK dumpverdefs64 returns the symbols which are missing.

(in reply to: ↑ 2 ) 04/21/08 07:16:32 changed by brendelbrendel

Replying to Jan-Nik:

AFAIK dumpverdefs64 returns the symbols which are missing.

Exactly, it returns "GLIBC_2.0" because that's missing.

But still, according to the inline docs "requireLibC GLIBC_2.0" should require "*at least* the version of glibc", i.e. to my understanding it should be satisfied with GLIBC_2.0 *or higher*. But it isn't. :-(

(follow-up: ↓ 5 ) 04/21/08 09:27:51 changed by Jan-Nik

I think that's a mistake in the documentation then, because GLIBC_2.0 can't be satisfied by GLIBC_2.2 afaik.

Btw: The problem, that requireLibC doesn't work on 64 bit is another one and should be fixed by my patch i attached here: http://trac.autopackage.org/ticket/10

(in reply to: ↑ 4 ) 04/22/08 05:55:44 changed by brendelbrendel

Replying to Jan-Nik:

I think that's a mistake in the documentation then, because GLIBC_2.0 can't be satisfied by GLIBC_2.2 afaik.

Ok, that should brought into agreement with (apkg-script-utils, line 1866): # requireLibC allows you to ensure that the system has at least the version of glibc that your binaries require. # glibc does not break backwards compatability (in theory), it only ever adds interfaces.

Btw: The problem, that requireLibC doesn't work on 64 bit is another one and should be fixed by my patch i attached here: http://trac.autopackage.org/ticket/10

IC, thanx a lot for the hint.

04/22/08 09:12:00 changed by Jan-Nik

  • attachment glibc.diff added.

just removes "at least". Don't know if this okay

08/03/08 12:36:37 changed by Jan-Nik

  • status changed from new to closed.
  • resolution set to fixed.

I committed my patch in r2489.