bugProject: Starfighter - Bugs: bug #58146, unknown extended header keyword on...

 
 

bug #58146: unknown extended header keyword on png's and unknown compile option

Submitter:  None
Submitted:  Thu 09 Apr 2020 11:06:53 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 09 Apr 2020 03:15:33 PM UTC, comment #3: 

I can get round the "unknown extended header..." by using
tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz
where PRGNAM=startfighter and VERSION=2.1  in my build script. thanks. my version of gnu tar is 1.29 and the version on deb10 is 1.30 but I haven't seen anything in the changelog that would point to getting the "unknown extended header" warning, it hasn't done it in any previous starfighter releases.

with regards to the gcc error, I'm running 5.50 (slackware 14.2 (stable))
thanks for the heads up on the over-ride. that did the trick. I've managed to create a slackware package of v2.1 so the build script for it should go live this weekend (hopefully) :-) at slackbuilds.org
regards, Tim

Anonymous
Thu 09 Apr 2020 02:04:16 PM UTC, comment #2: 

Oh, regarding the warnings about tar, the files were compressed with Ark on Debian 10, so it would have used whatever archiving tool is used by default in this system (or at least the one that Ark uses). If you're facing an actual problem opening the archive please report what the problem you're experiencing is here:

https://github.com/pr-starfighter/starfighter/issues

Anonymous
Thu 09 Apr 2020 01:48:33 PM UTC, comment #1: 

Looks like I forgot to update the link on the site page to the GitHub issue tracker. Sorry about that.

As for the issue your facing, you can compile with older versions of GCC by passing the SF_NOWARN option:

./configure SF_NOWARN=1

The reason for this oddity is because GCC 8 prints warnings for any use of snprintf which could possibly lead to strings getting truncated (an odd design choice because that's exactly what snprintf is designed to do; it's a protection against bad memory access). To suppress those warnings you either have to add completely pointless tests, not use -Wall (which Starfighter has been using by default for years), or use -Wformat-truncation=0, which is an option introduced in GCC 8. So Starfighter now uses -Wall -Wformat-truncation=0 by default, with an option to disable warnings so that older GCC versions can still be used.

Anonymous
Thu 09 Apr 2020 11:06:53 AM UTC, original submission:  

Hi, I am getting
tar: Ignoring unknown extended header keyword 'SVHILY.fflags'
for all files. Aparently this is got by using the mac or bsd version of tar.
the other issue is I am getting
gcc: error: unrecognized command line option '-Wformat-truncation=0'
when running make
gcc is v5.5.0
is that compile option required, or can it be omitted?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code