<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>23822</bug_id>
          
          <creation_ts>2003-07-01 11:48 0000</creation_ts>
          <short_desc>adasockets 1.7</short_desc>
          <delta_ts>2003-09-29 10:49:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dholm@gentoo.org</reporter>
          <assigned_to>george@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-07-01 11:48:26 0000</bug_when>
            <thetext>This is an implementation of BSD sockets for Ada. 
Once again GNAE made it a mess to install.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-07-01 11:50:37 0000</bug_when>
            <thetext>Created an attachment (id=14083)
dev-ada/adasockets-1.7
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-13 21:35:16 0000</bug_when>
            <thetext>Hi David.

I am testing this ebuild, but it fails during build while going through examples with:

gnatbind -aO./ -aO../src -aO../src -I- -x tcprelay.ali
gnatlink tcprelay.ali
gnatlink listener.ali
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/libgthreads.a(opt.o)(.text+0x1)/usr/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/libgthreads.a(opt.o)(.text+0x1): In function `: In function `pthread_cerror&apos;:
: undefined reference to `errno&apos;
pthread_cerror&apos;:
: undefined reference to `errno&apos;
gnatlink: cannot call /usr/bin/gnatgcc
gnatmake: *** link failed.


relevant parts of my emerge info:
groug adasockets # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r3 i686 Pentium III (Coppermine)
[skipped]
USE=&quot;x86 oss apm avi crypt cups encode gif jpeg gnome libg++ mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb readline arts tetex aalib nas svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl gphoto2 cdr scanner acpi acpi4linux dga directfb dvd fbcon fbdev flash gd ggi glide gpg imap jpilot maildir mcrypt moznocompose moznoirc moznomail nls oav pcmcia pda pic plotutils pnp rage128 samba slp sse tiff trusted usb vim-with-x wavelan wmf Xaw3d xinerama xml xosd -3dnow -gtkhtml -slang -bonobo -ruby -esd&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium3 -O2 -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -fprefetch-loop-arrays -fexpensive-optimizations -mfpmath=sse&quot;
CXXFLAGS=&quot;-march=pentium3 -O2 -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -fprefetch-loop-arrays -fexpensive-optimizations -mfpmath=sse&quot;
ACCEPT_KEYWORDS=&quot;~x86 x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
FEATURES=&quot;sandbox digest distcc ccache userpriv usersandbox noauto&quot;


George
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-07-22 07:24:56 0000</bug_when>
            <thetext>I&apos;m unable to reproduce this. I recompiled glibc 2.3.2-r1 with the same options you use but adasockets still compiles without a fuss.
Which version of glibc do you have installed? Does &quot;nm /usr/lib/libc.so|grep errno&quot; return the errno symbol inside the lib?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-08-12 21:53:47 0000</bug_when>
            <thetext>Hi David.

Tested this again, this time worked like a charm - no problems detected. I don&apos;t know what was up previously.
I committed the package, please test.

There were few touch-ups though:
1. doins copyes symlinks as regular files, I resorted to cp -d ... in ebuild
2. I removed S=&quot;${WORKDIR}/${P}&quot; from the ebuild as it is not necessary - gets assigned automatically.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-08-15 10:02:50 0000</bug_when>
            <thetext>I know why this failed for you the first time (I think).
I had the exact same error when I tried to compile gnat 5.0 with FSU-threads as my default runtime. It seems to be linked against old libs, I&apos;ve been trying to get FSU-threads to compile so we can install it separately instead of using the prebuilt version but I get lots of errors.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-08-17 15:37:27 0000</bug_when>
            <thetext>We&apos;re already at -r1 and that looks exactly like an FSU-threads bug (you need -lc when 
using FSU threads). </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2003-09-29 10:49:47 0000</bug_when>
            <thetext>In portage since long</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14083</attachid>
            <date>2003-07-01 11:50 0000</date>
            <desc>dev-ada/adasockets-1.7</desc>
            <filename>adasockets-1.7.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlLCB2
MiBvciB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