Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 08:47:12 -0500
From:      Jason Bacon <jwbacon@tds.net>
To:        Herminio Hernandez Jr <herminio.hernandezjr@gmail.com>,  freebsd-ppc@freebsd.org
Subject:   Re: lumina install
Message-ID:  <55A3C160.5000108@tds.net>
In-Reply-To: <20150713050658.45ad5b438f34e737092d3179@gmail.com>
References:  <20150713050658.45ad5b438f34e737092d3179@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080909080900000703070704
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit


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!
>


--------------080909080900000703070704
Content-Type: text/plain; charset=us-ascii;
 name="dri-diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dri-diff.txt"

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
 

--------------080909080900000703070704
Content-Type: text/plain; charset=us-ascii;
 name="gputils-diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gputils-diff.txt"

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);
+   }
+ }

--------------080909080900000703070704
Content-Type: text/plain; charset=us-ascii;
 name="gtk30-diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gtk30-diff.txt"

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'

--------------080909080900000703070704
Content-Type: text/plain; charset=us-ascii;
 name="texlive-base-diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="texlive-base-diff.txt"

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

--------------080909080900000703070704--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A3C160.5000108>