Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273890 - [version bump] dev-util/plan9port-20110310
Summary: [version bump] dev-util/plan9port-20110310
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://hg.pdos.csail.mit.edu/hg/plan9...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 17:05 UTC by Dennis Schridde
Modified: 2011-05-24 15:22 UTC (History)
7 users (show)

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


Attachments
Live ebuild using plan9port.tgz (plan9port-99999999.ebuild,1.97 KB, text/plain)
2009-10-14 16:18 UTC, Andy Spencer
Details
plan9port-99999999.ebuild using mercurial (plan9port-99999999.ebuild,1.96 KB, text/plain)
2010-03-14 17:18 UTC, John (EBo) David
Details
updated date stamped ebuild (plan9port-20100307.ebuild,1.95 KB, text/plain)
2010-03-14 17:20 UTC, John (EBo) David
Details
Version bump for 2011-03-10 (plan9port-20110310.ebuild,2.13 KB, text/plain)
2011-04-02 08:16 UTC, Andy Spencer
Details
Fix TLS errno mismatch (plan9port-9660srv-errno.patch,296 bytes, patch)
2011-04-02 08:21 UTC, Andy Spencer
Details | Diff
Fix W|X sections (plan9port-noexecstack.patch,847 bytes, patch)
2011-04-02 08:24 UTC, Andy Spencer
Details | Diff
Disable lex based utilities (plan9port-no-lex.patch,650 bytes, patch)
2011-04-02 08:27 UTC, Andy Spencer
Details | Diff
cleanup errno patch (plan9port-9660srv-errno.patch,455 bytes, patch)
2011-05-09 05:47 UTC, Andy Spencer
Details | Diff
cleanup W|X patch (plan9port-noexecstack.patch,935 bytes, patch)
2011-05-09 05:48 UTC, Andy Spencer
Details | Diff
cleanup lex patch (plan9port-no-lex.patch,748 bytes, patch)
2011-05-09 05:49 UTC, Andy Spencer
Details | Diff
Version bump and improve ebuild (plan9port-20110505.ebuild,2.11 KB, text/plain)
2011-05-09 05:52 UTC, Andy Spencer
Details

Note You need to log in before you can comment on or make changes to this bug.
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