Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 15719

Summary: New ebuild: Compaq C compiler
Product: Gentoo Linux Reporter: Tavis Ormandy (RETIRED) <taviso>
Component: New packagesAssignee: Tavis Ormandy (RETIRED) <taviso>
Status: RESOLVED FIXED    
Severity: enhancement CC: taviso
Priority: High    
Version: 1.4_rc1   
Hardware: Alpha   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New License File for CCC
CCC ebuild
CCC Changelog
CCC ebuild
updated ebuild
updated ebuild
New ChangeLog
updated ebuild
Final CCC ebuild
CXX Ebuild
Ebuild for the Ladebug debugger
Updated libcpml ebuild
possibly licensing safe ccc ebuild
updated cxx ebuild

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.