New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12896 (closed submission: wontfix)

Opened 4 years ago

Last modified 3 years ago

NEW: fpc-2.2.0

Reported by: jbacon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: fpc pascal lack-of-interest Cc: jwbacon@…, ryandesign@…, jmr@…
Port:

Description

FPC is an open source Pascal and Object Pascal compiler aiming to be compatible with Turbo Pascal and Delphi.

Attachments

Portfile Download (1.4 KB) - added by jbacon@… 4 years ago.
New Portfile
Portfile.2 Download (1.4 KB) - added by jmr@… 4 years ago.
improved portfile
fpc.build.log Download (67.2 KB) - added by jmr@… 4 years ago.
debug log of build failure

Change History

  Changed 4 years ago by jann@…

Why do you duplicate code in the i386 and ppc sections ? Please put common code in the common section.

  Changed 4 years ago by ryandesign@…

  • cc jbacon@…, ryandesign@… added
  • milestone changed from MacPorts 1.5 to Port Submissions

Agreed. Please submit a revised portfile.

  Changed 4 years ago by jbacon@…

Combination of fatigue and carry-over from the previous version of the port (which I never submitted) that had more platform dependencies, including different distfiles. I got the redundancy down to one small line now. What I really wanted to do from the start was set a variable to either ppc386 or ppcppc, and reference it in a single destroot section. I couldn't find anything in the available developer docs, or examples in other ports, and all my experiments failed. I eventually gave up and resigned myself to some redundancy. If there's a way to do this, I'd appreciate some pointers.

Changed 4 years ago by jbacon@…

New Portfile

Changed 4 years ago by jmr@…

improved portfile

follow-up: ↓ 7   Changed 4 years ago by jmr@…

  • cc jmr@… added; jbacon@… removed

I've attached a new Portfile which has the redundancy removed, sets tags on the distfiles and master_sites since fpcbins.tar.gz is only available from your site, and removes the use of the deprecated 'cd' command. Unfortunately, it fails to build for me (on Leopard). I'll also attach the build log.

Is fpcbins.tar.gz some binaries that you built yourself? Why can't they be built from source?

Changed 4 years ago by jmr@…

debug log of build failure

  Changed 4 years ago by jwbacon@…

I reproduced the build failure on a Leopard system. The new Portfile works fine on Tiger, however. I've seen a lot of flaky behavior from Leopard, like builds failing with weird errors and then working on the next try, or after a "port clean". I'm inclined to wait for the next Xcode update before sinking too much time into this. I did try using the latest ppc386 binary to bootstrap the build, but still got the same error.

-J

  Changed 4 years ago by jmr@…

Well, in the time since the last comment, we've tracked down  the cause of the flakiness on Leopard (and worked around it in trunk), and there's even been a new XCode release. Time to give this another try?

in reply to: ↑ 4 ; follow-up: ↓ 8   Changed 3 years ago by boeyms@…

Replying to jmr@…:

Is fpcbins.tar.gz some binaries that you built yourself? Why can't they be built from source?

In order to build fpc, you need to have (among other things) a Pascal compiler already installed, since it is written in Pascal. The binary installation available from www.freepascal.org is only available on a disk image.

in reply to: ↑ 7   Changed 3 years ago by ryandesign@…

Replying to boeyms@…:

In order to build fpc, you need to have (among other things) a Pascal compiler already installed, since it is written in Pascal. The binary installation available from www.freepascal.org is only available on a disk image.

If you want to have the port build this file, disk images are not a problem. Support for extracting from disk images will be in MacPorts 1.7.0 with the use_dmg yes option. Or you can do it manually, like the isightcapture port does.

  Changed 3 years ago by jmr@…

  • type changed from enhancement to submission

  Changed 3 years ago by anonymous

  • milestone Port Submissions deleted

Milestone Port Submissions deleted

  Changed 3 years ago by raimue@…

Is there still interest in this?

  Changed 3 years ago by raimue@…

  • keywords lack-of-interest added

  Changed 3 years ago by raimue@…

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

Lack of interest.

Note: See TracTickets for help on using tickets.