strips off epochs

Bug #92747 reported by Martin Pitt
8
Affects Status Importance Assigned to Milestone
pkg-create-dbgsym (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: pkg-create-dbgsym

> dpkg: dependency problems prevent configuration of libgcc1-dbgsym:
> libgcc1-dbgsym depends on libgcc1 (= 4.1.2-0ubuntu4); however:
> Version of libgcc1 on system is 1:4.1.2-0ubuntu4.
> dpkg: error processing libgcc1-dbgsym (--configure):
> dependency problems - leaving unconfigured

Also look at libnss3/libnspr4, they have a different version than firefox source. p-c-d should get along with this.

Revision history for this message
William Grant (wgrant) wrote :

I just found a half-typed report of this hidden in a tab in one of my many Epiphany instances. This makes retraces a little difficult.

Revision history for this message
Kees Cook (kees) wrote :

Setting this to "Confirmed".

Changed in pkg-create-dbgsym:
status: Unconfirmed → Confirmed
Revision history for this message
Kees Cook (kees) wrote :

This problem seems to come from deep evil in certain package rules. Take the libgcc1 example: the debian/control file for gcc-4.1 has no epoch. Yet, it enforces one later for the binary packages:

        dh_gencontrol -p$(p_lgcc) \
                -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)

Revision history for this message
Martin Pitt (pitti) wrote :

Fixing this requires major changes in pkg-create-dbgsym, since diverting dh_strip alone does not suffice: dh_strip is called before dh_gencontrol, thus we do not know the final binary version at dh_strip time.

Changed in pkg-create-dbgsym:
importance: Undecided → Medium
Revision history for this message
Loïc Minier (lool) wrote :

Wont it work if we use ${binary:Version}?

Revision history for this message
Martin Pitt (pitti) wrote :

This could work indeed. This sohuld get an explicit test case, and then Version: .*$ should be replaced with Version: ${binary:Version}. Haven't tested it, though.

Changed in pkg-create-dbgsym (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.