Opened 17 years ago

Closed 15 years ago

#12896 closed submission (wontfix)

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 (Ryan Carsten Schmidt), jmroot (Joshua Root)
Port:

Description

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

Attachments (3)

Portfile (1.4 KB) - added by jbacon@… 17 years ago.
New Portfile
Portfile.2 (1.4 KB) - added by jmroot (Joshua Root) 17 years ago.
improved portfile
fpc.build.log (67.2 KB) - added by jmroot (Joshua Root) 17 years ago.
debug log of build failure

Download all attachments as: .zip

Change History (16)

comment:1 Changed 17 years ago by roederja

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

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jbacon@… ryandesign@… added
Milestone: MacPorts 1.5Port Submissions

Agreed. Please submit a revised portfile.

comment:3 Changed 17 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 17 years ago by jbacon@…

Attachment: Portfile added

New Portfile

Changed 17 years ago by jmroot (Joshua Root)

Attachment: Portfile.2 added

improved portfile

comment:4 Changed 17 years ago by jmroot (Joshua Root)

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 17 years ago by jmroot (Joshua Root)

Attachment: fpc.build.log added

debug log of build failure

comment:5 Changed 17 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

comment:6 Changed 16 years ago by jmroot (Joshua Root)

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?

comment:7 in reply to:  4 ; Changed 16 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.

comment:8 in reply to:  7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:9 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:10 Changed 16 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

comment:11 Changed 16 years ago by raimue (Rainer Müller)

Is there still interest in this?

comment:12 Changed 16 years ago by raimue (Rainer Müller)

Keywords: lack-of-interest added

comment:13 Changed 15 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: newclosed

Lack of interest.

Note: See TracTickets for help on using tickets.