Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199969 - texlive-core-2007 doesn't compile on older Solaris10
Summary: texlive-core-2007 doesn't compile on older Solaris10
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 11:43 UTC by Fabian Groffen
Modified: 2008-03-03 09:46 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 Fabian Groffen gentoo-dev 2007-11-22 11:43:46 UTC
While it does compile on Solaris 10/x86, it fails on Sparc:

/usr/include/sys/avl_impl.h:40: error: redefinition of 'struct avl_node'
In file included from /usr/include/sys/vnode.h:49,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:66,
                 from /usr/include/sys/socket.h:45,
                 from pdftexextra.c:446:
/usr/include/sys/avl.h:135: error: conflicting types for 'avl_create'
./pdftexdir/avl.h:89: error: previous declaration of 'avl_create' was here
/usr/include/sys/avl.h:146: error: conflicting types for 'avl_find'
./pdftexdir/avl.h:97: error: previous declaration of 'avl_find' was here
/usr/include/sys/avl.h:154: error: conflicting types for 'avl_insert'
./pdftexdir/avl.h:94: error: previous declaration of 'avl_insert' was here
/usr/include/sys/avl.h:269: error: conflicting types for 'avl_destroy'
./pdftexdir/avl.h:92: error: previous declaration of 'avl_destroy' was here
make[1]: *** [pdftexextra.o] Error 1

I have to figure out why this happens, I suspect it is some configure check which doesn't take sparc/solaris into account.  x86 solaris has (as expected) the same header.

(this bug is mainly to keep the tex herd/aballier in the loop)
Comment 1 Fabian Groffen gentoo-dev 2007-11-28 15:56:55 UTC
A bug in the system headers on older Solaris 10 includes sys/avl_impl.h whereas in later releases it doesn't.  The fix is non-trivial so it seems...
Comment 2 Fabian Groffen gentoo-dev 2008-03-03 09:46:14 UTC
just update your Solaris install, period.