tar can not build from source

Bug #7019 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
tar (Debian)
Fix Released
Unknown
tar (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #259209 http://bugs.debian.org/259209

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #259209 http://bugs.debian.org/259209

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 09:42:20 -0300
From: Pedro Zorzenon Neto <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: can not build from source

Package: tar
Version: 1.13.93-4
Severity: serious
Justification: no longer builds from source

  Hi,

    If I do: "cd /tmp && apt-get source tar" it retrieves:
      /tmp/tar_1.13.93-4.diff.gz,
      /tmp/tar_1.13.93-4.dsc and
      /tmp/tar_1.13.93.orig.tar.gz
    It also creates "/tmp/tar-1.13.93"

    Then I do: "cd /tmp/tar-1.13.93 && dpkg-buildpackage -rfakeroot -us -uc",
I get the following error:
/usr/bin/../lib/libc.a(mktime.o)(.text+0x1f0): In function `__mktime_internal':
: multiple definition of `__mktime_internal'
../lib/libtar.a(mktime.o)(.text+0x224):/tmp/tar-1.13.93/lib/mktime.c:246: first defined here
/usr/bin/ld: Warning: size of symbol `__mktime_internal' changed from 1126 in ../lib/libtar.a(mktime.o) to 1216 in ../lib/libtar.a(mktime.o)
collect2: ld returned 1 exit status

    I think there was a typo (1216 and 1126) somewhere...

    Thanks,
     Pedro

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mantis 2.4.26-1-686 #1 Sat May 1 18:04:05 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to pt_BR)

Versions of packages tar depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an

-- no debconf information

Revision history for this message
In , Matt Zimmerman (mdz) wrote : Re: Bug#259209: can not build from source

On Tue, Jul 13, 2004 at 09:42:20AM -0300, Pedro Zorzenon Neto wrote:

> Package: tar
> Version: 1.13.93-4
> Severity: serious
> Justification: no longer builds from source
>
> Hi,
>
> If I do: "cd /tmp && apt-get source tar" it retrieves:
> /tmp/tar_1.13.93-4.diff.gz,
> /tmp/tar_1.13.93-4.dsc and
> /tmp/tar_1.13.93.orig.tar.gz
> It also creates "/tmp/tar-1.13.93"
>
> Then I do: "cd /tmp/tar-1.13.93 && dpkg-buildpackage -rfakeroot -us -uc",
> I get the following error:
> /usr/bin/../lib/libc.a(mktime.o)(.text+0x1f0): In function `__mktime_internal':
> : multiple definition of `__mktime_internal'
> ../lib/libtar.a(mktime.o)(.text+0x224):/tmp/tar-1.13.93/lib/mktime.c:246: first defined here
> /usr/bin/ld: Warning: size of symbol `__mktime_internal' changed from 1126 in ../lib/libtar.a(mktime.o) to 1216 in ../lib/libtar.a(mktime.o)
> collect2: ld returned 1 exit status

Works fine here. Something wrong with your toolchain perhaps?

gcc -O2 -g -Wall -o tar buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o mangle.o misc.o names.o rtapelib.o sparse.o system.o tar.o update.o utf8.o ../lib/libtar.a -lrt
[...success...]

> I think there was a typo (1216 and 1126) somewhere...

No, those numbers indicate that the size of the code for that function
changed unexpectedly.

--
 - mdz

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 10:39:17 -0700
From: Matt Zimmerman <email address hidden>
To: Pedro Zorzenon Neto <email address hidden>, <email address hidden>
Subject: Re: Bug#259209: can not build from source

On Tue, Jul 13, 2004 at 09:42:20AM -0300, Pedro Zorzenon Neto wrote:

> Package: tar
> Version: 1.13.93-4
> Severity: serious
> Justification: no longer builds from source
>
> Hi,
>
> If I do: "cd /tmp && apt-get source tar" it retrieves:
> /tmp/tar_1.13.93-4.diff.gz,
> /tmp/tar_1.13.93-4.dsc and
> /tmp/tar_1.13.93.orig.tar.gz
> It also creates "/tmp/tar-1.13.93"
>
> Then I do: "cd /tmp/tar-1.13.93 && dpkg-buildpackage -rfakeroot -us -uc",
> I get the following error:
> /usr/bin/../lib/libc.a(mktime.o)(.text+0x1f0): In function `__mktime_internal':
> : multiple definition of `__mktime_internal'
> ../lib/libtar.a(mktime.o)(.text+0x224):/tmp/tar-1.13.93/lib/mktime.c:246: first defined here
> /usr/bin/ld: Warning: size of symbol `__mktime_internal' changed from 1126 in ../lib/libtar.a(mktime.o) to 1216 in ../lib/libtar.a(mktime.o)
> collect2: ld returned 1 exit status

Works fine here. Something wrong with your toolchain perhaps?

gcc -O2 -g -Wall -o tar buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o mangle.o misc.o names.o rtapelib.o sparse.o system.o tar.o update.o utf8.o ../lib/libtar.a -lrt
[...success...]

> I think there was a typo (1216 and 1126) somewhere...

No, those numbers indicate that the size of the code for that function
changed unexpectedly.

--
 - mdz

Revision history for this message
In , Pedro Zorzenon Neto (pzn-terra) wrote :

Hi,

  After "apt-get update" and "apt-get upgrade",
  "dpkg-buildpackage -rfakeroot -uc -us" built package "tar" successfully.

  My machine was not up to date, that was the bug.

  Sorry for the wrong report.
  Thanks Matt,
    Pedro

Revision history for this message
LaMont Jones (lamont) wrote :

Builds fine for us.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 16:44:05 -0300
From: Pedro Zorzenon Neto <email address hidden>
To: <email address hidden>
Cc: Matt Zimmerman <email address hidden>
Subject: Re: Bug#259209: can not build from source

Hi,

  After "apt-get update" and "apt-get upgrade",
  "dpkg-buildpackage -rfakeroot -uc -us" built package "tar" successfully.

  My machine was not up to date, that was the bug.

  Sorry for the wrong report.
  Thanks Matt,
    Pedro

Changed in tar:
status: Unknown → Fix Released
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.