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

Bug 273890

Summary: [version bump] dev-util/plan9port-20110310
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: andy753421, anmaster, gentoo, hiyuh.root, jer, radhermit, seatonr
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://hg.pdos.csail.mit.edu/hg/plan9/shortlog
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Live ebuild using plan9port.tgz
plan9port-99999999.ebuild using mercurial
updated date stamped ebuild
Version bump for 2011-03-10
Fix TLS errno mismatch
Fix W|X sections
Disable lex based utilities
cleanup errno patch
cleanup W|X patch
cleanup lex patch
Version bump and improve ebuild

Description Dennis Schridde 2009-06-12 17:05:23 UTC
It would be nice if someone could bump the dev-util/plan9port ebuild to a current snapshot.
http://hg.pdos.csail.mit.edu/hg/plan9/shortlog shows there happened a lot of work upstream, including lots of bugfixes.

Reproducible: Always
Comment 1 savi 2009-07-29 12:24:37 UTC
Yes, a snapshot that is more than a year old is a shame.
Comment 2 VĂ­ctor Ostorga (RETIRED) gentoo-dev 2009-09-26 21:09:53 UTC
Patches are welcome
Comment 3 Andy Spencer 2009-10-14 16:18:26 UTC
Created attachment 207114 [details]
Live ebuild using plan9port.tgz

I wrote a live ebuild that uses the most recent plan9port.tgz http://swtch.com/plan9port/plan9port.tgz. It could easily be adapted for a specific version, and unlike the previous ebuilds it uses sed instead of relying on a `repacked' tarball and a huge patch.

A few other differences are:
  - Depend on `x11-apps/xauth' for headless machines (same as openssh)
  - Add PORTAGE_COMPRESS="" so 9 man works

I've used this for probably about a year or so and its seem to work pretty well.
Comment 4 John (EBo) David 2010-03-14 17:18:05 UTC
Created attachment 223533 [details]
plan9port-99999999.ebuild using mercurial

This updates the previous ebuild to use mercurial directly instead of pulling the tarball.  It also cleans up a few things suggested by people on the sunrise overlay.
Comment 5 John (EBo) David 2010-03-14 17:20:19 UTC
Created attachment 223535 [details]
updated date stamped ebuild

following previous suggestions for people on the sunrise overlay
Comment 6 Andy Spencer 2011-04-02 08:16:00 UTC
Created attachment 268183 [details]
Version bump for 2011-03-10

This improves upon the previous two builds and should work with the lastest tarball from http://swtch.com/plan9port/ (see http://swtch.com/cgi-bin/info.cgi?file=/plan9port/plan9port.tgz for the version number).

It compiles cleanly for me on ~x86 and ~amd64 using the following patches
Comment 7 Andy Spencer 2011-04-02 08:21:39 UTC
Created attachment 268185 [details, diff]
Fix TLS errno mismatch

Fix error by including <errno.h> instead of defining it manually

http://code.swtch.com/plan9port/issue/39/build-failed-errno-issue-in-9660srv
Comment 8 Andy Spencer 2011-04-02 08:24:31 UTC
Created attachment 268189 [details, diff]
Fix W|X sections

Fix Writing/Executable sections issues.

Plan9port uses some assembly files which get an executable stack by default. Update the build script to use --noexecstack to prevent this.
Comment 9 Andy Spencer 2011-04-02 08:27:36 UTC
Created attachment 268191 [details, diff]
Disable lex based utilities

Plan9port's lex causes some build errors. Disable the lex based utilities until a better solution is provided by upstream.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-15 17:52:01 UTC
Package removed from tree.
Comment 11 Andy Spencer 2011-05-09 05:47:34 UTC
Created attachment 272565 [details, diff]
cleanup errno patch
Comment 12 Andy Spencer 2011-05-09 05:48:36 UTC
Created attachment 272567 [details, diff]
cleanup W|X patch
Comment 13 Andy Spencer 2011-05-09 05:49:01 UTC
Created attachment 272569 [details, diff]
cleanup lex patch
Comment 14 Andy Spencer 2011-05-09 05:52:18 UTC
Created attachment 272571 [details]
Version bump and improve ebuild

Changes since 2011-03-10

- Improve description
- Use docompress -x instead of PORTAGE_DOCOMPRESS=()
- Move prefix fix to src_prepare
- Remove die message