Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15719 - New ebuild: Compaq C compiler
Summary: New ebuild: Compaq C compiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High enhancement (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-14 19:22 UTC by Tavis Ormandy (RETIRED)
Modified: 2003-04-15 12:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New License File for CCC (CCC,3.90 KB, text/plain)
2003-02-14 19:23 UTC, Tavis Ormandy (RETIRED)
Details
CCC ebuild (ccc-6.5.ebuild,1.19 KB, text/plain)
2003-02-14 19:23 UTC, Tavis Ormandy (RETIRED)
Details
CCC Changelog (ChangeLog,285 bytes, text/plain)
2003-02-14 19:23 UTC, Tavis Ormandy (RETIRED)
Details
CCC ebuild (ccc-6.5.ebuild,1.23 KB, text/plain)
2003-02-14 19:27 UTC, Tavis Ormandy (RETIRED)
Details
updated ebuild (ccc-6.5.ebuild,1.55 KB, text/plain)
2003-02-15 07:29 UTC, Tavis Ormandy (RETIRED)
Details
updated ebuild (ccc-6.5.6.ebuild,4.27 KB, text/plain)
2003-04-09 20:00 UTC, Tavis Ormandy (RETIRED)
Details
New ChangeLog (ChangeLog,392 bytes, text/plain)
2003-04-09 20:01 UTC, Tavis Ormandy (RETIRED)
Details
updated ebuild (ccc-6.5.6.ebuild,4.26 KB, text/plain)
2003-04-09 20:25 UTC, Tavis Ormandy (RETIRED)
Details
Final CCC ebuild (ccc-6.5.6.ebuild,4.82 KB, text/plain)
2003-04-09 21:21 UTC, Tavis Ormandy (RETIRED)
Details
CXX Ebuild (cxx-6.5.9.ebuild,5.00 KB, text/plain)
2003-04-10 13:25 UTC, Tavis Ormandy (RETIRED)
Details
Ebuild for the Ladebug debugger (ladebug-4.0.67.ebuild,2.57 KB, text/plain)
2003-04-11 12:40 UTC, Tavis Ormandy (RETIRED)
Details
Updated libcpml ebuild (libcpml-5.2.01-r2.ebuild,1.71 KB, text/plain)
2003-04-12 12:45 UTC, Tavis Ormandy (RETIRED)
Details
possibly licensing safe ccc ebuild (ccc-6.5.9.001.ebuild,5.46 KB, text/plain)
2003-04-14 09:43 UTC, Tavis Ormandy (RETIRED)
Details
updated cxx ebuild (cxx-6.5.9.11.ebuild,4.75 KB, text/plain)
2003-04-15 09:49 UTC, Aron Griffis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tavis Ormandy (RETIRED) gentoo-dev 2003-02-14 19:22:18 UTC
Reccommended category: dev-lang/ccc

Compaq's C compiler enhanced for the Alpha platform, ported from Tru64. 
Also merges Ladebug, Linux port of Tru64's famous debugger.

No license matches, so attaching relevant license.
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2003-02-14 19:23:02 UTC
Created attachment 8284 [details]
New License File for CCC
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2003-02-14 19:23:27 UTC
Created attachment 8285 [details]
CCC ebuild
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2003-02-14 19:23:45 UTC
Created attachment 8286 [details]
CCC Changelog
Comment 4 Tavis Ormandy (RETIRED) gentoo-dev 2003-02-14 19:27:47 UTC
Created attachment 8287 [details]
CCC ebuild

oops, missed the DEPEND="app-arch/rpm2targz"
Comment 5 Tavis Ormandy (RETIRED) gentoo-dev 2003-02-15 07:29:20 UTC
Created attachment 8297 [details]
updated ebuild

okay, someone kindly emailed me and pointed out that libots already has an
ebuild, and i was mising some symlinks - Fixed. Sorry!
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2003-03-24 23:23:22 UTC
Hi, I'm looking at this now.  Here is what I'm seeing so far:

1. There's already an ebuild for libcpml so we probably shouldn't
   provide that in this ebuild.

2. There's a license agreement on the site so we shouldn't download
   the software automatically...  Instead it should be manually
   downloaded to distfiles by the user.  (see dev-libs/libcpml for an
   example)

3. We can't modify SRC_URI based on uname for a number of reasons...
   (a) because we might be building on a system that is different from
   the target system, (b) due to the caching in Portage, and the fact
   that the master cache and file repository is done on x86, the
   current method would fail.  SRC_URI can't change dependent on
   anything detected in bash (that might change between invocations of
   emerge).

   Anyway, it doesn't matter for a couple reasons... (a) That's
   libcpml again, (b) we have an ev6 USE-flag for exactly this
   purpose.

4. We can't DEPEND on =gcc-3.2.2 since even now the compiler has
   passed that.  Instead we should use "gcc-config --get-lib-path" to
   find the compiler files, and copy them to the appropriate location
   instead of symlinking.

I know I just wrote a lot, but nice start on this ebuild, and thanks
for the contribution.  I'll work on getting ccc into the tree,
hopefully tonight/tomorrow.  Then we'll have to see how icc is being
used with Portage, and start using ccc the same way.  (I haven't been
following that progress for a while.)

Aron
Comment 7 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-09 20:00:36 UTC
Created attachment 10447 [details]
updated ebuild

* no longer installs libcpml
* yep, your completely right about the license, its clear when you read it
through. fixed.
* libraries configured using gcc-config
Comment 8 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-09 20:01:15 UTC
Created attachment 10448 [details]
New ChangeLog
Comment 9 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-09 20:25:17 UTC
Created attachment 10451 [details]
updated ebuild

missed a -n
Comment 10 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-09 20:26:30 UTC
Comment on attachment 10451 [details]
updated ebuild

Arghhh, sorry.
Comment 11 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-09 21:21:27 UTC
Created attachment 10453 [details]
Final CCC ebuild

Sorry, missed the pkg_config function, added it back.

incidentally, ive just modified the PATH to hide distcc/ccache/etc from the
ebuild, is there a better way?

no more bugspam, i promise :)
Comment 12 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-10 13:25:41 UTC
Created attachment 10464 [details]
CXX Ebuild

Modified CCC ebuild to work with CXX, suggested category dev-lang/cxx

Note that cxx is slightly different from ccc, with cxx you must agree to and
accepr the license agreement before it will run, so do we still need to ask the
user to get the rpm?

(note that icc ebuild seems to think this is okay)

now then, do i have time to make a libcxml ebuild :)
Comment 13 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-11 12:40:59 UTC
Created attachment 10507 [details]
Ebuild for the Ladebug debugger


ebuild for ladebug, includes optional emacs support.
Comment 14 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-12 12:45:15 UTC
Created attachment 10565 [details]
Updated libcpml ebuild


Updated the libcpml ebuild as discussed on #gentoo-alpha

from the probe-linux.sh script:

  #
  # Determine the version by slicing up the symlink from /usr/lib
  # which should look something like:
  #
  # %file /usr/lib/libcpml.so	  
  # /usr/lib/libcpml.so: symbolic link to ./compaq/cpml-5.0.0/libcpml_ev5.so
  # 

after emerging this ebuild:

$ file /usr/lib/libcpml.so 
/usr/lib/libcpml.so: symbolic link to ./compaq/cpml-5.2.0/libcpml_ev5.so
Comment 15 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-14 09:43:01 UTC
Created attachment 10629 [details]
possibly licensing safe ccc ebuild
Comment 16 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-14 20:26:04 UTC
Reassigning to self...
Comment 17 Aron Griffis (RETIRED) gentoo-dev 2003-04-15 09:49:14 UTC
Created attachment 10682 [details]
updated cxx ebuild

This isn't updated with your latest ccc changes, Taviso.  I'm sure you'll see
immediately what's lacking.
Comment 18 Tavis Ormandy (RETIRED) gentoo-dev 2003-04-15 12:18:59 UTC
ccc, cxx and ladebug have been committed to cvs.

ive successfully built gzip, zlib, apache, snort, groff and some others using these tools, so hopefully that means they are working correctly.

Marking Fixed.