Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 40016
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alastair Tse (RETIRED) <liquidx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrej Kacian (RETIRED) <ticho@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libsoup-1.99.26-r2.ebuild patched libsoup text/plain Andrej Kacian (RETIRED) 2004-02-02 07:06 0000 1.26 KB Details
libsoup-1.99.26-gnutls.patch the gnutls patch patch Andrej Kacian (RETIRED) 2004-02-02 07:08 0000 486 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40016 depends on: Show dependency tree
Bug 40016 blocks: 41408
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-31 15:08 0000
This is the output of the make process:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../includes -O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -finline-functions -pipe -I/usr/include -MT gnutls_record.lo -MD -MP -MF .deps/gnutls_record.Tpo -c gnutls_record.c  -fPIC -DPIC -o .libs/gnutls_record.o
In file included from /usr/include/gpg-error.h:24,
                 from /usr/include/gcrypt.h:27,
                 from gnutls_mpi.h:4,
                 from gnutls_int.h:108,
                 from gnutls_record.c:25:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h:151: error: conflicting types for `ptrdiff_t'
defines.h:58: error: previous declaration of `ptrdiff_t'
In file included from gnutls_int.h:108,
                 from gnutls_record.c:25:
gnutls_mpi.h:27: error: syntax error before '*' token
gnutls_mpi.h:29: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:30: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:32: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:33: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:35: error: syntax error before "MPI"
In file included from gnutls_record.c:25:
gnutls_int.h:225: error: syntax error before "MPI"
gnutls_int.h:225: warning: no semicolon at end of struct or union
gnutls_int.h:226: warning: data definition has no type or storage class
gnutls_int.h:227: error: syntax error before "client_g"
gnutls_int.h:227: warning: data definition has no type or storage class
gnutls_int.h:228: error: syntax error before "client_p"
gnutls_int.h:228: warning: data definition has no type or storage class
gnutls_int.h:229: error: syntax error before "dh_secret"
gnutls_int.h:229: warning: data definition has no type or storage class
gnutls_int.h:231: error: syntax error before "A"
gnutls_int.h:231: warning: data definition has no type or storage class
gnutls_int.h:232: error: syntax error before "B"
gnutls_int.h:232: warning: data definition has no type or storage class
gnutls_int.h:233: error: syntax error before "u"
gnutls_int.h:233: warning: data definition has no type or storage class
gnutls_int.h:234: error: syntax error before "b"
gnutls_int.h:234: warning: data definition has no type or storage class
gnutls_int.h:235: error: syntax error before "a"
gnutls_int.h:235: warning: data definition has no type or storage class
gnutls_int.h:236: error: syntax error before "x"
gnutls_int.h:236: warning: data definition has no type or storage class
gnutls_int.h:239: error: syntax error before "rsa"
gnutls_int.h:239: warning: data definition has no type or storage class
gnutls_int.h:264: error: syntax error before '}' token
In file included from gnutls_int.h:270,
                 from gnutls_record.c:25:
gnutls_hash_int.h:29: warning: `GCRY_MD_HD' is deprecated (declared at /usr/include/gcrypt.h:1032)
In file included from gnutls_int.h:271,
                 from gnutls_record.c:25:
gnutls_cipher_int.h:27: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:28: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:29: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:30: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
In file included from gnutls_cert.h:4,
                 from gnutls_int.h:273,
                 from gnutls_record.c:25:
gnutls_pk.h:5: error: syntax error before "MPI"
gnutls_pk.h:7: error: syntax error before "MPI"
gnutls_pk.h:9: error: syntax error before "MPI"
gnutls_pk.h:11: error: syntax error before "MPI"
gnutls_pk.h:13: error: syntax error before "MPI"
In file included from gnutls_int.h:273,
                 from gnutls_record.c:25:
gnutls_cert.h:39: error: syntax error before "MPI"
gnutls_cert.h:39: warning: no semicolon at end of struct or union
gnutls_cert.h:72: error: syntax error before '}' token
gnutls_cert.h:72: warning: data definition has no type or storage class
gnutls_cert.h:75: error: syntax error before "MPI"
gnutls_cert.h:75: warning: no semicolon at end of struct or union
gnutls_cert.h:96: error: syntax error before '}' token
gnutls_cert.h:96: warning: data definition has no type or storage class
gnutls_cert.h:100: error: syntax error before '*' token
gnutls_cert.h:102: error: syntax error before "cert"
In file included from gnutls_record.c:25:
gnutls_int.h:381: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_int.h:382: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_int.h:609: error: syntax error before "MPI"
gnutls_int.h:609: warning: no semicolon at end of struct or union
gnutls_int.h:610: warning: data definition has no type or storage class
gnutls_int.h:616: error: syntax error before '}' token
gnutls_int.h:616: warning: data definition has no type or storage class
gnutls_int.h:623: error: syntax error before "MPI"
gnutls_int.h:623: warning: no semicolon at end of struct or union
gnutls_int.h:624: warning: data definition has no type or storage class
In file included from gnutls_record.c:44:
gnutls_dh.h:21: error: syntax error before "gnutls_get_dh_params"
gnutls_dh.h:21: error: syntax error before '*' token
gnutls_dh.h:21: warning: data definition has no type or storage class
gnutls_dh.h:22: error: syntax error before "gnutls_calc_dh_secret"
gnutls_dh.h:22: error: syntax error before '*' token
gnutls_dh.h:22: warning: data definition has no type or storage class
gnutls_dh.h:23: error: syntax error before "gnutls_calc_dh_key"
gnutls_dh.h:23: error: syntax error before "f"
gnutls_dh.h:23: warning: data definition has no type or storage class
gnutls_dh.h:24: error: syntax error before '*' token
gnutls_dh.h:28: error: syntax error before "_gnutls_dh_default_params"
gnutls_dh.h:28: warning: data definition has no type or storage class
make[3]: *** [gnutls_record.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12'
make: *** [all] Error 2

!!! ERROR: net-libs/gnutls-0.8.12 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)



I tried re-emerging both libgcrypto and libgpg-error, to no avail.
Here's output of my `emerge --info`:
(don't get confused by the added "-thelair" kernel extraversion, the kernel is a genuine vanilla one)

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.24-thelair)
=================================================================
System uname: 2.4.24-thelair i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.easynet.nl/mirror/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt directfb doc encode foomaticdb gdbm gif gnutls gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox mikmod mmx mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang ssl svga tcltk tcpd tetex tiff truetype type1 unicode x86 xml2 xmms xv zlib"

------- Comment #1 From Mystilleef 2004-01-31 18:11:39 0000 -------
Same problem here. And because of this, Evolution won't compile too. 

------- Comment #2 From Benjamin Podszun (Blafasel @ irc) 2004-02-02 06:34:41 0000 -------
Look at Bug #38509 for a more detailed description and a possible solution.

------- Comment #3 From Andrej Kacian (RETIRED) 2004-02-02 07:06:41 0000 -------
Created an attachment (id=24809) [details]
patched libsoup

I have managed to fix my problem with new gnutls ebuild from a comments in bug
#38509 (http://bugs.gentoo.org/attachment.cgi?id=24092&action=view) and by
patching libsoup according to comment in bug #37732. The patch given as an
attachment there did not work with 'epatch' command in libsoup ebuild, so I
created a new one which works (next attachment). It only removes one line from
one source file.

This attachment is an ebuild which utilizes this patch.

------- Comment #4 From Andrej Kacian (RETIRED) 2004-02-02 07:08:08 0000 -------
Created an attachment (id=24810) [details]
the gnutls patch

Put this patch in files/ directory inside libsoup directory in portage and
emerge the ebuild given in previous attachment to this bug.

------- Comment #5 From Alastair Tse (RETIRED) 2004-02-04 10:22:06 0000 -------
well, everyone here has a different problem, but they should all be fixed now.
when adding to an existing problem, make sure your bug is similar (for
instance, about the same package.) 

thanks for all your reports.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug