Opened 11 years ago

Closed 11 years ago

#10011 closed bug (fixed)

Makefile-engine broken on Haiku PM

Reported by: kallisti5 Owned by: bonefish
Priority: normal Milestone: R1/beta1
Component: Build System Version: R1/Package Management
Keywords: makefile-engine Cc: siarzhuk
Blocked By: Blocking:
Platform: All

Description

  • Copy the makefile from /boot/common/develop/etc/ to a project
  • Make adjustments to the makefile
  • Run make, get: No fule to make target '/boot/system/develop/etc/makefile-engine'

While I agree makefile-engine should be in system... that is going to break a lot of legacy stuff. (or we need to just update the template to reflect the new location)

Change History (7)

comment:1 by anevilyak, 11 years ago

Priority: highnormal

comment:2 by kallisti5, 11 years ago

it actually looks like $BUILDHOME doesn't agree with the location of the makefile-engine and template. Not sure what the intended path was on PM.. so i'm not going to touch this one.

comment:3 by siarzhuk, 11 years ago

Cc: siarzhuk added

comment:4 by bonefish, 11 years ago

The BUILDHOME variable is kind of obsolete. IIRC it only exits because some legacy applications use it. Haiku itself doesn't and given that development files can be installed in three different locations, it might not work as expected anyway.

A path to the makefile engine that remains stable regardless of where it is installed, would be "/packages/makefile_engine-*/.self/develop/etc/makefile-engine". If multiple versions of the makefile engine package are installed, there will be multiple matching entries in "/packages/". One (the latest?) would need to be chosen.

comment:5 by siarzhuk, 11 years ago

Hm... in hrev46263 my old makefile-engine driven projects were rebuilded successfully. Fixed?

comment:6 by bonefish, 11 years ago

As a side effect of removing "/boot/common" the makefile-engine is back in "/boot/system/develop/etc". The makefile should still be adjusted to refer to the "/packages/makefile_engine..." path, though.

comment:7 by bonefish, 11 years ago

Resolution: fixed
Status: newclosed

hrev46402 adjusts the template makefile to find makefile-engine regardless of the package's installation location.

Note: See TracTickets for help on using tickets.