lumina install

Jason Bacon jwbacon at tds.net
Mon Jul 13 13:47:21 UTC 2015


Herminio,

The MAKE_JOBS_UNSAFE is just a standard guess that the ports system 
suggests in the event of any build failure.

What other error messages are there in the output?

FYI, I recently installed XFCE and ran into some issues with 
/usr/bin/ld.  The workaround was to use a newer GCC (which adds many 
hours to the install, but what can you do?).

I attached patches for the ports I had to modify so far.  Maybe 
something similar is involved with lumina.

Regards,

     JB

On 07/13/15 05:06, Herminio Hernandez Jr wrote:
> Does anyone know if lumina is supported on powerpc? I tried to install the port and it kept failing saying I need to set MAKE_JOBS_UNSAFE=yes. However when I did that it still failed. I am installing xfce but I would love to get this working as well. Thanks!
>

-------------- next part --------------
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/graphics/dri/Makefile /usr/wip/graphics/dri/Makefile
--- /usr/ports/graphics/dri/Makefile	2015-06-14 10:42:03.000000000 -0500
+++ /usr/wip/graphics/dri/Makefile	2015-06-14 10:43:18.000000000 -0500
@@ -38,7 +38,9 @@
 CC=clang
 CXX=clang++
 CPP=clang-cpp
-. elif ${OSVERSION} < 901500
+. elif ${OSVERSION} < 901500 || ${ARCH} == "powerpc"
+# Use /usr/local/bin/ld to avoid segfault on powerpc
+# https://forums.freebsd.org/threads/problem-building-xorgs-dependencies-on-powerpc.50356/
 USE_GCC=yes
 . endif
 
-------------- next part --------------
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/devel/gputils/files/patch-libgputils_gpcofflink.c /usr/wip/devel/gputils/files/patch-libgputils_gpcofflink.c
--- /usr/ports/devel/gputils/files/patch-libgputils_gpcofflink.c	1969-12-31 18:00:00.000000000 -0600
+++ /usr/wip/devel/gputils/files/patch-libgputils_gpcofflink.c	2015-06-13 13:15:02.000000000 -0500
@@ -0,0 +1,28 @@
+--- libgputils/gpcofflink.c.orig	2014-07-31 08:37:29.000000000 -0500
++++ libgputils/gpcofflink.c	2015-06-13 13:14:59.000000000 -0500
+@@ -21,6 +21,7 @@
+ 
+ #include "stdhdr.h"
+ #include "libgputils.h"
++#include <sys/endian.h>
+ 
+ gp_boolean gp_relocate_to_shared = false;
+ 
+@@ -762,11 +763,17 @@
+ 
+     /* make sure the section count matches */
+     if (object->class->rom_width == 8) {
++      fprintf(stderr, "Using i_memory_get\n");
+       object->class->i_memory_get(new->data, new->address, &number, NULL, NULL);
+     }
+     else {
++      fprintf(stderr, "Using _read_table_data\n");
+       number = _read_table_data(object->class, new, new->address);
+     }
++//#if BYTE_ORDER == BIG_ENDIAN
++    number = bswap16(number);
++//#endif
++    fprintf(stderr, "number = %u  count = %d\n", number, count);
+     assert(number == count);
+   }
+ }
-------------- next part --------------
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/x11-toolkits/gtk30/Makefile /usr/wip/x11-toolkits/gtk30/Makefile
--- /usr/ports/x11-toolkits/gtk30/Makefile	2015-05-14 05:15:04.000000000 -0500
+++ /usr/wip/x11-toolkits/gtk30/Makefile	2015-06-14 17:25:40.000000000 -0500
@@ -70,6 +70,10 @@
 # needed for the exists() check, booo
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == "powerpc"
+USE_GCC=	yes
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \
 		${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
-------------- next part --------------
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/print/texlive-base/Makefile /usr/wip/print/texlive-base/Makefile
--- /usr/ports/print/texlive-base/Makefile	2015-04-23 16:26:09.000000000 -0500
+++ /usr/wip/print/texlive-base/Makefile	2015-06-15 22:03:32.000000000 -0500
@@ -29,6 +29,7 @@
 CONFLICTS_INSTALL=	texlive-texmf-201[23]*
 
 USE_TEX=	web2c kpathsea ptexenc texhash-bootstrap
+USE_GCC=	yes
 USES=		gmake pkgconfig perl5 shebangfix tar:xz
 USE_AUTOTOOLS=	autoconf
 USE_GHOSTSCRIPT=yes


More information about the freebsd-ppc mailing list