Opened 9 years ago

Closed 9 years ago

#4734 closed defect (wontfix)

GNU tar version 1.21 causes intermittent build problems

Reported by: quentin@… Owned by: developers
Priority: normal Milestone:
Component: other Version:
Keywords: Cc:


There appears to be an (intermittent) problem in GNU tar version 1.21, which can cause build problems for OpenWrt (see for further details).

In trunk/scripts/ipkg, around line 878, there is the line:
$pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e 's/\.' > $info_dir/$pkg.list
and this, with certain .ipk files, can exit with error code 141 (SIGPIPE received). Not only does the tar command terminate (although it has produced the correct output), but it causes the invoking shell scripts to immediately terminate, without reporting an error. This results in the flash images not being created.

Attached is a patch for scripts/ipkg which provides a workaround for the problem, pending a resolution in GNU tar.

Attachments (1)

ipkg.patch (559 bytes) - added by quentin@… 9 years ago.
Patch to provide a workaround to issue in GNU tar v1.21

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by quentin@…

Patch to provide a workaround to issue in GNU tar v1.21

comment:1 Changed 9 years ago by quentin@…

This has now been identified to be a Fedora specific patch, and has only been released in Fedora Rawhide. An update to the patch has now been created that resolves the problem.

I suggest that this ticket is now closed with no further action.

comment:2 Changed 9 years ago by hauke

  • Resolution set to wontfix
  • Status changed from new to closed

This is an error with Fedora's extra patches for tar, it is fixed in Fedora

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.