Bug 457881 - llvm-devel package needs to include Makefile.{common,rules,config}
Summary: llvm-devel package needs to include Makefile.{common,rules,config}
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-05 07:03 UTC by Eric Smith
Modified: 2009-04-11 12:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-05 01:34:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Eric Smith 2008-08-05 07:03:54 UTC
Description of problem:

In order to build programs that use LLVM libraries, it is normally required that the client's Makefile include LLVM's Makefile.common and Makefile.config (derived when LLVM is configured), and Makefile.common includes Makefile.rules.  Thus these three files should be packaged in the -devel package.

For instance, the llvm-doc package includes an examples directory, but the examples cannot be compiled without the missing Makefiles.

In addition to including the makefiles in llvm-devel, the llvm-doc package should have a symlink from /usr/share/doc/llvm-doc-2.2/examples/Makefile.common to the location at which llvm-devel installs that file.

Version-Release number of selected component (if applicable):  2.2

How reproducible:  100%

Steps to Reproduce:
1.  cd /usr/share/doc/llvm-doc-2.2/examples
2.  make
  
Actual results:

make fails due to missing include files

Expected results:

make succeeds (or at least fails due to lack of permissions to write to the /usr/share/doc/llvm-doc-2.2 directory tree)

Additional info:

Comment 1 Bug Zapper 2008-11-26 02:39:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Michel Lind 2009-03-04 20:40:09 UTC
Assigning to myself, update will be issued to close this and another bug.

Comment 3 Fedora Update System 2009-03-05 00:50:37 UTC
llvm-2.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/llvm-2.4-3.fc10

Comment 4 Michel Lind 2009-03-05 01:34:56 UTC
Retracting the update: it appears that, even with the Makefile.*, the examples cannot be built without the full LLVM build directories.

Packaging this, or reworking the build scripts, is probably not worth it: people whose modules will be incorporated in LLVM will be building LLVM from an SVN checkout anyway.

Comment 5 Eric Smith 2009-04-11 12:56:34 UTC
Basically you've just argued that there's no point to having an llvm-devel package.  I disagree.  The llvm-devel package should be provided, and it should contain the files necessary to build things that depend on llvm.  Otherwise it will not be possible to properly build Fedora RPMs for other packages that depend on llvm.


Note You need to log in before you can comment on or make changes to this bug.