Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267807 - app-portage/eix-0.15.7 fails to compile on IRIX (eix-0.15.6 was successful)
Summary: app-portage/eix-0.15.7 fails to compile on IRIX (eix-0.15.6 was successful)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 20:45 UTC by Stuart Shelton
Modified: 2009-05-11 17:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-04-28 20:45:08 UTC
'setenv()' doesn't existing on IRIX (or Solaris, or HPUX, ...)


cc-1020 CC: ERROR File = update-eix.cc, Line = 409
  The identifier "setenv" is undefined.

                        setenv("PORTDIR_OVERLAY", ref.c_str(), 1);
                        ^

1 error detected in the compilation of "update-eix.cc".
make[2]: *** [update-eix.o] Error 2
make[2]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/app-portage/eix-0.15.7/work/eix-0.15.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/app-portage/eix-0.15.7/work/eix-0.15.7'
make: *** [all] Error 2
 * ERROR: app-portage/eix-0.15.7 failed:
 *   emake failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2210:     emake || die "emake failed"
Comment 1 Martin Väth 2009-04-29 20:07:54 UTC
This is a really bad surprise, since setenv() is POSIX.
Current eix svn trunk (>=0.15.8) attempts an inconvenient workaround.
Comment 2 Martin Väth 2009-05-02 15:19:47 UTC
Does the current eix svn trunk work for you?
(The workaround depends on "extern char **environ" being available and uses
execle() instead of execl() so that a modified PORTDIR_OVERLAY can be passed
to portage for cache method "ebuild" / "parse|ebuild".)

Also a larger part of the build system was changed, e.g. now AC_GNU_SOURCE
is used which enables also extensions of other systems: This might be a
further source of trouble on some prefix systems but also might avoid some
on others...

If you find no problems, I will release the trunk as eix-0.16.0...
Comment 3 Martin Väth 2009-05-11 17:51:32 UTC
I suppose that I can close this bug since eix-0.16.0 is released and in the tree.