Opened 10 years ago

Closed 7 years ago

Last modified 4 years ago

#7511 closed defect (invalid)

gnutls-2.2.1 fails to build on HP-UX

Reported by: drkirkby Owned by: drkirkby
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: porting: AIX or HP-UX Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by chapoton)

gnutls seems to be a problem package, as it is not building properly on HP-UX or OpenSolaris - see #7387 for the OpenSolaris problem.

This is the failure on HP-UX 11.11 on a HP C3600 workstation.

mkdir .libs/libgnutls-openssl.lax/liblgnu.a
(cd .libs/libgnutls-openssl.lax/liblgnu.a && ar x /home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/libextra/../lgl/.libs/liblgnu.a)
rm -fr .libs/libgnutls-openssl.lax/libminitasn1.a
mkdir .libs/libgnutls-openssl.lax/libminitasn1.a
(cd .libs/libgnutls-openssl.lax/libminitasn1.a && ar x /home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/libextra/../lib/minitasn1/.libs/libminitasn1.a)
gcc -std=gnu99 -shared -fPIC -Wl,+h -Wl,libgnutls-openssl.sl.27 -Wl,+b -Wl,/home/drkirkby/sage-4.2.1/local/lib -o .libs/libgnutls-openssl.sl.27.2  .libs/gnutls_openssl.o .libs/openssl_compat.o  .libs/libgnutls-openssl.lax/liblgnu.a/dummy.o .libs/libgnutls-openssl.lax/liblgnu.a/asnprintf.o .libs/libgnutls-openssl.lax/liblgnu.a/asprintf.o .libs/libgnutls-openssl.lax/liblgnu.a/gc-libgcrypt.o .libs/libgnutls-openssl.lax/liblgnu.a/gc-pbkdf2-sha1.o .libs/libgnutls-openssl.lax/liblgnu.a/md2.o .libs/libgnutls-openssl.lax/liblgnu.a/memmem.o .libs/libgnutls-openssl.lax/liblgnu.a/printf-args.o .libs/libgnutls-openssl.lax/liblgnu.a/printf-parse.o .libs/libgnutls-openssl.lax/liblgnu.a/read-file.o .libs/libgnutls-openssl.lax/liblgnu.a/strverscmp.o .libs/libgnutls-openssl.lax/liblgnu.a/vasnprintf.o .libs/libgnutls-openssl.lax/liblgnu.a/vasprintf.o  .libs/libgnutls-openssl.lax/libminitasn1.a/decoding.o .libs/libgnutls-openssl.lax/libminitasn1.a/gstr.o .libs/libgnutls-openssl.lax/libminitasn1.a/errors.o .libs/libgnutls-openssl.lax/libminitasn1.a/parser_aux.o .libs/libgnutls-openssl.lax/libminitasn1.a/structure.o .libs/libgnutls-openssl.lax/libminitasn1.a/element.o .libs/libgnutls-openssl.lax/libminitasn1.a/coding.o   -L/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/lib/.libs -L/home/drkirkby/sage-4.2.1/local/lib /home/drkirkby/sage-4.2.1/local/lib/libgcrypt.sl /home/drkirkby/sage-4.2.1/local/lib/libgpg-error.sl ../lib/.libs/libgnutls.sl -lc 
(cd .libs && rm -f libgnutls-openssl.sl.27 && ln -s libgnutls-openssl.sl.27.2 libgnutls-openssl.sl.27)
(cd .libs && rm -f libgnutls-openssl.sl && ln -s libgnutls-openssl.sl.27.2 libgnutls-openssl.sl)
rm -fr .libs/libgnutls-openssl.lax
creating libgnutls-openssl.la
(cd .libs && rm -f libgnutls-openssl.la && ln -s ../libgnutls-openssl.la libgnutls-openssl.la)
make[5]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/libextra'
make[4]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/libextra'
Making all in src
make[4]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src'
Making all in cfg
make[5]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg'
Making all in platon
make[6]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon'
Making all in str
make[7]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon/str'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon/str'
make[7]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon'
make[6]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg/platon'
make[6]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg'
make[5]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src/cfg'
make[5]: Entering directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../includes -I../includes -I../lgl -I../lgl -I../gl -I../gl -I./cfg -I/home/drkirkby/sage-4.2.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -I/home/drkirkby/sage-4.2.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -MT serv-gaa.o -MD -MP -MF .deps/serv-gaa.Tpo -c -o serv-gaa.o serv-gaa.c
mv -f .deps/serv-gaa.Tpo .deps/serv-gaa.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../includes -I../includes -I../lgl -I../lgl -I../gl -I../gl -I./cfg -I/home/drkirkby/sage-4.2.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -I/home/drkirkby/sage-4.2.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -MT serv.o -MD -MP -MF .deps/serv.Tpo -c -o serv.o serv.c
serv.c:774: warning: 'struct sockaddr_storage' declared inside parameter list
serv.c:774: warning: its scope is only this definition or declaration, which is probably not what you want
serv.c: In function 'get_port':
serv.c:776: error: dereferencing pointer to incomplete type
serv.c: In function 'main':
serv.c:803: error: storage size of 'client_address' isn't known
make[5]: *** [serv.o] Error 1
make[5]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/drkirkby/sage-4.2.1/spkg/build/gnutls-2.2.1.p4/src'
failed to build GNUTLS

real 5m35.208s
user 3m55.400s
sys 1m4.950s
sage: An error occurred while installing gnutls-2.2.1.p4

Change History (5)

comment:1 Changed 10 years ago by drkirkby

  • Report Upstream set to Reported upstream. Little or no feedback.

Repored upstream to gnutls-devel at gnu.org under the title "gnutls-2.2.1 fails to build on HP-UX" at 0157 GMT on 25th Nov 2009.

comment:2 Changed 9 years ago by drkirkby

  • Component changed from porting to AIX or HP-UX ports

comment:3 Changed 7 years ago by roed

  • Report Upstream changed from Reported upstream. Little or no feedback. to Reported upstream. No feedback yet.

comment:4 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.4 to sage-duplicate/invalid/wontfix
  • Resolution set to invalid
  • Reviewers set to Jeroen Demeyer
  • Status changed from new to closed

GNUTLS is no longer part of Sage.

comment:5 Changed 4 years ago by chapoton

  • Description modified (diff)
Note: See TracTickets for help on using tickets.