View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0019559FPCCompilerpublic2011-06-14 14:322011-06-15 12:32
ReporterMarelis 
Assigned ToFlorian 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platformi386OSFedoraOS Version15
Product VersionProduct Build2.4.4 
Target VersionFixed in Version2.6.0 
Summary0019559: Makefile:3482: *** recipe commences before first target. Stop.
DescriptionBuild from source: fpc-2.4.4.source.tar.gz

make all NOGDB=1 CPU_TARGET=x86_64 OS_TARGET=win64
---8<---
make compiler_cycle RELEASE=1
make[1]: Entering directory `/marelis/install/freepascal/BUILD/fpc-2.4.4'
make -C compiler cycle
make[2]: Entering directory `/marelis/install/freepascal/BUILD/fpc-2.4.4/compiler'
Makefile:3482: *** recipe commences before first target. Stop.
make[2]: Leaving directory `/marelis/install/freepascal/BUILD/fpc-2.4.4/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/marelis/install/freepascal/BUILD/fpc-2.4.4'
make: *** [build-stamp.x86_64-win64] Error 2
---8<---

compiler/Makefile from line 3474:

---8<---
ifndef CROSSINSTALL
    $(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl
    $(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler
endif
endif
else
cycle:
override FPC=
    $(MAKE) OS_TARGET=$(OS_SOURCE) CPU_TARGET=$(CPU_SOURCE) CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl
    $(MAKE) OS_TARGET=$(OS_SOURCE) CPU_TARGET=$(CPU_SOURCE) EXENAME=$(TEMPNAME) CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler
    $(MAKE) 'FPC=$(BASEDIR)/$(TEMPNAME)' OS_TARGET=$(OS_SOURCE) CPU_TARGET=$(CPU_SOURCE) CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl
    $(MAKE) 'FPC=$(BASEDIR)/$(TEMPNAME)' OS_TARGET=$(OS_SOURCE) CPU_TARGET=$(CPU_SOURCE) PPC_TARGET=$(CPU_TARGET) EXENAME=$(PPCROSSNAME) CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler
---8<---

May be corrupted line 3482:

override FPC=

- The same error also in OpenSUSE 11.4
- Build for i386-win32 success
- Help link:

http://www.gnu.org/s/hello/manual/make/Error-Messages.html [^]

Thx.
TagsNo tags attached.
FPCOldBugId
Fixed in Revision17757
Attached Files

- Relationships

-  Notes
(0049111)
Marelis (reporter)
2011-06-14 14:37

Note: Mantis does not have to choose "Product Version" -> 2.4.4
(0049112)
Jonas Maebe (manager)
2011-06-14 14:45

It's an incompatibility with make 3.82 and later. You can work around it for now by using make 3.81
(0049131)
Marelis (reporter)
2011-06-15 11:49

1) Using an old 'make' tool does not permanently solve this problem, right?

2) It can be assumed that the new distro will include a newer version of make, right?

3) So it would be a permanent solution to fix the Makefile generation to work with a newer version of make, right?

Thank you for the information, for now I'll use an older make and I will wait for repair of this error.

Thx.
(0049132)
Jonas Maebe (manager)
2011-06-15 12:01

Florian set the bug to fixed in revision 17757 of FPC 2.5.1. That means that he committed a fix in that revision so that it works with newer make versions.
(0049133)
Marelis (reporter)
2011-06-15 12:32

O.k. Thanks !

- Issue History
Date Modified Username Field Change
2011-06-14 14:32 Marelis New Issue
2011-06-14 14:37 Marelis Note Added: 0049111
2011-06-14 14:45 Jonas Maebe Note Added: 0049112
2011-06-14 22:41 Florian Fixed in Revision => 17757
2011-06-14 22:41 Florian Status new => resolved
2011-06-14 22:41 Florian Fixed in Version => 2.5.1
2011-06-14 22:41 Florian Resolution open => fixed
2011-06-14 22:41 Florian Assigned To => Florian
2011-06-15 11:49 Marelis Status resolved => feedback
2011-06-15 11:49 Marelis Resolution fixed => reopened
2011-06-15 11:49 Marelis Note Added: 0049131
2011-06-15 12:01 Jonas Maebe Status feedback => resolved
2011-06-15 12:01 Jonas Maebe Resolution reopened => fixed
2011-06-15 12:01 Jonas Maebe Note Added: 0049132
2011-06-15 12:32 Marelis Status resolved => closed
2011-06-15 12:32 Marelis Note Added: 0049133



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker