[hardy] gitk installing files where it shouldn't be

Bug #164202 reported by Kow
This bug report is a duplicate of:  Bug #164167: git-core fails to install. Edit Remove
2
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Invalid
Undecided
Unassigned
git-core (Baltix)
Invalid
Undecided
Unassigned
git-core (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: git

The latest gitk release just put into the hardy repos (1:1.5.3.6-1) is installing files to locations it shouldnt be (or files that shouldn't be copied at all).

Here is one from debian/rules:
"rm -f '$(GIT)'-core/usr/share/perl5/Error.pm"

This is obviously not meeting the LFS standards and conflicts with such packages such as:

"E: /var/cache/apt/archives/git-core_1%3a1.5.3.6-1_amd64.deb: trying to overwrite `/usr/share/perl5/Error.pm', which is also in package liberror-perl"

There are other files that seem suspicious, like
"rm -f '$(GIT)'-core/usr/share/man/man3/private-Error.3pm"

This bug report may need to be transferred upstream to Debian.

Revision history for this message
Kow (kow) wrote :

Duh thats a remove command. So the real problem is these files are not being removed as they should be.

Revision history for this message
Kow (kow) wrote :

Mistake

Changed in git-core:
status: New → Invalid
Revision history for this message
Kow (kow) wrote :

Ugh not a good day. that "Mistake" is in regard to Affects: "git-core (Baltix)"

Kees Cook (kees)
Changed in git:
status: New → Invalid
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

For the love of all that is good, please do not subscribe, or assign, the ubuntu-core-dev team to any bug. It's just spam, and the relevant people are already subscribed. Thankyou.

Revision history for this message
Kow (kow) wrote :

This looks like a permissions issue. Why not just remove /usr/share/perl5/Error.pm from git-core in <git-core-src>/perl/Makefile ?

# We come with our own bundled Error.pm. It's not in the set of default
# Perl modules so install it if it's not available on the system yet.
eval { require Error };
if ($@ || $Error::VERSION < 0.15009) {
 $pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm';
}

Comment that out, depends are set correctly in debian/control to ensure Error.pm will be there (provided by liberror-perl).

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.