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?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Tim Zingelman <tez%NetBSD.org@localhost>, 
solaris-pkg-people%NetBSD.org@localhost,
 gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
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!
 
 -MAKE_ENV+=     PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q}
 -PIXMAN_SYMFILE=        ${WRKDIR}/pixman.sym
 -
   post-extract:
 -       ${CP} ${FILESDIR}/pixman.sym ${WRKDIR}
          ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman
 
   .include "../../mk/bsd.pkg.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
 
 Yet
 
 $ ldd ./pixman/.libs/libpixman-1.so
          libpthread.so.1 =>       /lib/libpthread.so.1
          libm.so.2 =>     /lib/libm.so.2
          libc.so.1 =>     /lib/libc.so.1
          libgcc_s.so.1 => 
 /usr/pkgsrc/20110809/gcc34/lib/libgcc_s.so.1
          /platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
 
 
 -- 
   Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld
 


Home | Main Index | Thread Index | Old Index