New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12555 (closed defect: fixed)

Opened 4 years ago

Last modified 17 months ago

BUG: hrsh2csv fix for Intel

Reported by: css@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: css@…, ryandesign@…, jmpp@…
Port: hrsh2csv

Description

hrsh2csv uses a configure-time setting to account for the endian ordering. Fix the port so that the macro is not disabled when building on an Intel platform. The port currently fails to process PDB files, as it expects a little endian platform.

Attachments

patch-Portfile.diff Download (0.9 KB) - added by css@… 4 years ago.
Create a powerpc platform variant for the removal of byte order switching
hrsh2csv-endian.diff Download (0.7 KB) - added by ryandesign@… 4 years ago.
powerpc-preconfigure.diff Download (0.6 KB) - added by css@… 4 years ago.
What about this approach of using pre-configure to keep the modification within a platform variant?

Change History

Changed 4 years ago by css@…

Create a powerpc platform variant for the removal of byte order switching

  Changed 4 years ago by css@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r28197

  Changed 4 years ago by ryandesign@…

  • status changed from closed to reopened
  • cc css@…, ryandesign@… added
  • resolution fixed deleted

r28197 broke the build on PowerPC, because now it's trying to patch the Makefile before it's been extracted. It also broke the portindex, when indexing occurs on a PowerPC machine (which it currently does).

I was also going to suggest looking explicitly at the endian variable, rather than using the powerpc platform selector.

I recommend applying the attached patch hrsh2csv-endian.diff. I hope this fixes it. It is untested, except insofar as the endian check was copied out of the working wine port.

Changed 4 years ago by ryandesign@…

  Changed 4 years ago by css@…

That fix seems to work fine. I tested it building on my MacBook Pro, but I no longer have access to a PowerPC Mac.

Changed 4 years ago by css@…

What about this approach of using pre-configure to keep the modification within a platform variant?

  Changed 4 years ago by ryandesign@…

  • cc jmpp@… added

jmpp has committed a fix for the issue in r28318. I still would have preferred my fix in hrsh2csv-endian.diff because my fix handles all big-endian architectures, not just powerpc.

  Changed 4 years ago by jmpp@…

Hey Ryan! Had completely forgotten about this ticket, please don't feel like I ignored it ;-) Feel free to commit your patch if you feel it does the job better than mine!

-jmpp

follow-up: ↓ 7   Changed 3 years ago by blb@…

Was there ever a consensus on this issue? Also, should this port list universal_variant no for now?

in reply to: ↑ 6   Changed 3 years ago by css@…

  • port set to hrsh2csv

Replying to blb@…:

Also, should this port list universal_variant no for now?

Yes, it probably should, as it's not currently a universal-friendly port. As for the endian issue, I like the most general solution available. I can adjust the Portfile accordingly.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 17 months ago by jmr@…

  • status changed from reopened to closed
  • resolution set to fixed

This appears to be long since fixed.

Note: See TracTickets for help on using tickets.