Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#36996 closed defect (fixed)

ghc-bootstrap possibly corrupt file

Reported by: frozencemetery (Robbie Harwood) Owned by: neverpanic (Clemens Lang)
Priority: Low Milestone: MacPorts 2.3.0
Component: base Version: 2.1.2
Keywords: Cc: cdeil (Christoph Deil), cooljeanius (Eric Gallager), JadeNB1729@…, schmunk@…, splaisan (Stephane Plaisance), steeves@…, josephwinston (Joseph Winston), karenlightning@…, jbeard4@…, jeremyhu (Jeremy Huddleston Sequoia)
Port:

Description (last modified by ryandesign (Ryan Schmidt))

It doesn't look like it's breaking anything, but it's a warning so it should probably be noted.

$ port rev-upgrade
--->  Scanning binaries for linking errors: 91.5%
Warning: Error parsing file $prefix/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
$ 

10.6 building with gcc47.

Change History (22)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: kitchen.andy@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to cal@…

comment:2 Changed 9 years ago by neverpanic (Clemens Lang)

Cc: kitchen.andy@… removed
Component: portsbase
Port: ghc-bootstrap removed
Status: newassigned
Type: enhancementdefect

I'm aware of the problem. Rev-upgrade incorrectly classifies those files as mach-o binaries, while they only are (probably empty) object files. I do have a sample of such a file available and will analyze and fix this once I get to it.

comment:3 Changed 9 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:4 Changed 9 years ago by kmichael.aye@…

Cc: kmichael.aye@… added

Cc Me!

comment:5 Changed 9 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 9 years ago by ryandesign (Ryan Schmidt)

Has duplicate #38429.

comment:7 Changed 8 years ago by larryv (Lawrence Velázquez)

Has duplicate #39021.

comment:8 Changed 8 years ago by kmichael.aye@…

Cc: kmichael.aye@… removed
Last edited 8 years ago by kmichael.aye@… (previous) (diff)

comment:9 Changed 8 years ago by JadeNB1729@…

Cc: JadeNB1729@… added

Cc Me!

comment:10 Changed 8 years ago by schmunk@…

Cc Me!

comment:11 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: schmunk@… added

You have to click the "CcMe!" button to Cc yourself. I've Cc'd you now.

comment:12 Changed 8 years ago by splaisan (Stephane Plaisance)

Cc: stephane.plaisance@… added

Cc Me!

comment:13 Changed 8 years ago by steeves@…

Cc: steeves@… added

Cc Me!

comment:14 Changed 8 years ago by steeves@…

Still seeing this with OS X 10.9, ghc-bootstrap @7.0.4_1, MacPorts 2.2.1.

comment:15 in reply to:  14 Changed 8 years ago by gorticus (Jason Mitchell)

Replying to steeves@…:

Still seeing this with OS X 10.9, ghc-bootstrap @7.0.4_1, MacPorts 2.2.1.

Also on OS X v10.8.5, ghc-bootstrap @7.0.4_1+gcc48, MacPorts 2.2.1. I believe gcc48 is default.

comment:16 Changed 8 years ago by josephwinston (Joseph Winston)

Cc: josephwinston@… added

Cc Me!

comment:17 Changed 8 years ago by karenlightning@…

Cc: karenlightning@… added

Cc Me!

comment:18 Changed 8 years ago by jbeard4@…

Cc: jbeard4@… added

Cc Me!

comment:19 Changed 8 years ago by ryandesign (Ryan Schmidt)

Has duplicate #42085.

comment:20 Changed 8 years ago by cooljeanius (Eric Gallager)

This should be fixed in trunk as of r115476, so this ticket can be closed as soon as r115476 makes it into a release...

Version 0, edited 8 years ago by cooljeanius (Eric Gallager) (next)

comment:21 Changed 8 years ago by neverpanic (Clemens Lang)

Cc: jeremyhu@… added
Milestone: MacPorts Future
Resolution: fixed
Status: assignedclosed

I wasn't even aware of this until this morning, but I'm glad somebody finally had the time to look at it, because I was postponing it over and over again.

Setting milestone and marking closed, this will be in 2.3, I guess. I'll make sure to merge this if we're going to do another minor release.

comment:22 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.3.0
Note: See TracTickets for help on using tickets.