pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46739: security/gnutls does not build on Solaris 10
>Number: 46739
>Category: pkg
>Synopsis: security/gnutls does not build on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 24 09:20:00 +0000 2012
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
security/gnutls does not build out of the box on Solaris 10 using the native
assembler:
CCAS appro-aes-x86.lo
Assembler: devel/perlasm/aesni-x86.s
"elf/appro-aes-x86.s", line 2184 : Syntax error
Near line: ".section .note.GNU-stack,"",%progbits"
After removing the Gnu-specific section in this file (and some others), this
construct is not understood by the native assembler:
CCAS padlock-x86.lo
Assembler: devel/perlasm/e_padlock-x86.s
"elf/padlock-x86.s", line 115 : Illegal subtraction - symbols from
different sections: ".Lpadlock_saved_context", ".L002verify_pic_point"
As I have no idea how to fix this, I decided to add
CONFIGURE_ARGS+=--disable-hardware-acceleration
to the Makefile. Now this conflict is found:
CXX ex-cxx.o
In file included from ../../gl/wchar.h:71:0,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/cwchar:46,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/bits/postypes.h:42,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/iosfwd:42,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/ios:39,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/ostream:40,
from
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../../../include/c++/4.7.0/iostream:40,
from ex-cxx.cpp:2:
../../gl/stdio.h:1019:1: error: 'char* gets(char*)' conflicts with previous
using declaration 'char* std::gets(char*)'
I'm not sure which two definitions conflict here. But as neither the affected
source file nor the to-be generated binary get installed, I decided to disable
compilation of the examples completely:
--- doc/Makefile.in.orig 2012-06-05 17:10:22.000000000 +0000
+++ doc/Makefile.in
@@ -300,7 +300,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
distdir
ETAGS = etags
CTAGS = ctags
-DIST_SUBDIRS = examples cyclo scripts manpages credentials latex \
+DIST_SUBDIRS = cyclo scripts manpages credentials latex \
reference
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
@@ -1561,7 +1561,7 @@ EXTRA_DIST = TODO certtool.cfg gnutls.pd
doxygen/Doxyfile.in doxygen/Doxyfile.orig texinfo.css \
gnutls-guile.pdf gnutls-guile.html stamp_enums stamp_functions \
$(guile_texi) extract-guile-c-doc.scm
-SUBDIRS = examples cyclo scripts manpages credentials latex \
+SUBDIRS = cyclo scripts manpages credentials latex \
$(am__append_1)
SRC_DEF_CLI = $(am__append_2)
SRC_DEF_CLI_DEBUG = $(am__append_3)
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index