Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174115 - stabilize net-proxy/dante-1.1.19-r1 on alpha
Summary: stabilize net-proxy/dante-1.1.19-r1 on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High normal
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 07:37 UTC by Alin Năstac (RETIRED)
Modified: 2007-06-14 15:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,293.40 KB, text/plain)
2007-06-05 15:26 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2007-04-11 07:37:34 UTC
Please mark it stable on alpha.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-05-02 19:35:56 UTC
bump
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-06-05 15:26:17 UTC
Created attachment 121257 [details]
build.log

Both unstable and stable version fails...
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-06-06 05:34:10 UTC
The first error that I see is glibc related:
 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DDEBUG -mieee -pipe -O2 -mcpu=ev67 -g -pipe -MT hstrerror.lo -MD -MP -MF .deps/hstrerror.Tpo -c hstrerror.c  -fPIC -DPIC -o .libs/hstrerror.o
In file included from /usr/include/stdlib.h:972,
                 from ../include/common.h:152,
                 from getdtablesize.c:7:
/usr/include/bits/stdlib-ldbl.h: In function '__LDBL_REDIR1_DECL':
/usr/include/bits/stdlib-ldbl.h:38: error: expected declaration specifiers before '__LDBL_REDIR1_DECL'

Mike, can you help us understand the issue here?
Comment 4 SpanKY gentoo-dev 2007-06-07 00:19:13 UTC
no, dante sucks ... it screws with defines which causes this build error

look at include/common.h where it does *#undef __GNUC__*
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2007-06-09 21:04:36 UTC
(In reply to comment #4)
> look at include/common.h where it does *#undef __GNUC__*

that define is excluded from compilation by an #if 0
Comment 6 SpanKY gentoo-dev 2007-06-10 00:46:34 UTC
umm, no it isnt

the first "#if 0" in that file appears at line ~445

the __GNUC__ cruft is at line ~77
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2007-06-10 07:05:07 UTC
Are we talking about include/common.h shipped with dante-1.1.19-r1? 'cause here's what lines I see, beggining with line 71 (the only place with #undef __GNUC__) :

#if 0
/*
 * XXX This is a hack. Avoid transparent sockaddr union used in Linux
 *  to avoid the use of the union in the code. Mainly used in
 *  interposition.c (also for CMSG_)
 */

#ifdef __GNUC__
#undef __GNUC__
#define __GNUC__ 0
#endif /* __GNUC__ */

#endif /* HAVE_LINUX_ECCENTRICITIES */
Comment 8 SpanKY gentoo-dev 2007-06-11 03:43:57 UTC
which is a hack put into place by the ebuild:
[ "${KV:0:3}" == "2.6" ] && sed -i 's:if HAVE_LINUX_ECCENTRICITIES:if 0:' include/common.h

and is not being triggered

KV is dead and currently evaluates to "" ... plus that should have been in src_unpack, not src_compile
Comment 9 Alin Năstac (RETIRED) gentoo-dev 2007-06-14 07:07:38 UTC
Fixed in cvs without rev bumping. Thanks for support!

Alpha team, please try again.
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2007-06-14 15:23:55 UTC
alpha stable, closing.