pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45329 (x11/pixman not compiling on Solaris/sparc)

The following reply was made to PR pkg/45329; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Cc: Tim Zingelman <>,,,
Subject: Re: pkg/45329 (x11/pixman not compiling on Solaris/sparc)
Date: Wed, 12 Oct 2011 15:57:27 +0200

 Just checked again: At the moment I have
 --- Makefile    2011/09/05 08:59:48     1.1
 +++ Makefile    2011/09/05 09:10:49
 @@ -36,11 +36,7 @@
   ###    Please, do not forget to ensure the currency of this file!
 -PIXMAN_SYMFILE=        ${WRKDIR}/pixman.sym
 -       ${CP} ${FILESDIR}/pixman.sym ${WRKDIR}
          ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman
   .include "../../mk/"
 and I removed the entries for patch-aa and patch-ab from distfiles, i.e. 
 I get
 => Applying pkgsrc patches for pixman-0.22.2nb1
 Ignoring patch file /pkgsrc/source/pkgsrc/x11/pixman/patches/patch-aa: 
 no checksum found
 Ignoring patch file /pkgsrc/source/pkgsrc/x11/pixman/patches/patch-ab: 
 no checksum found
 ===> Creating toolchain wrappers for pixman-0.22.2nb1
 The package compiles both on i86 and sparc with gcc34. And it seems to 
 work, at least depending programs like emacs or gnuplot work fine.
 And I don't know why I was able to compile the package outside pkgsrc, 
 but I still have the files:
  From config.log:
 hostname = pkgsrc-10sparc
 uname -m = sun4u
 uname -r = 5.10
 uname -s = SunOS
 uname -v = Generic_142900-03
 configure:21770: checking whether the compiler supports -fvisibility=hidden
 configure:21797: gcc -o conftest -Werror -fvisibility=hidden 
 -I/usr/pkgsrc/head/include  conftest.c  >&5
 cc1: error: unrecognized command line option "-fvisibility=hidden"
 configure:21804: $? = 1
 configure: failed program was:
 | #if defined(__GNUC__) && (__GNUC__ >= 4)
 | #ifdef _WIN32
 | #error Have -fvisibility but it is ignored and generates a warning
 | #endif
 | #else
 | error Need GCC 4.0 for visibility
 | #endif
 |                int main(int c, char **v) { (void)c; (void)v; return 0; }
 configure:21842: result: no
 $ ldd ./pixman/.libs/
 =>       /lib/
 =>     /lib/
 =>     /lib/
   Jörn Clausen                    
   Universität Bielefeld

Home | Main Index | Thread Index | Old Index