Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 21:49:06 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] misc/shared-mime-info: mark MAKE_JOBS_UNSAFE
Message-ID:  <20110818174906.DF40BB825@hades.panopticon>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] misc/shared-mime-info: mark MAKE_JOBS_UNSAFE
>Severity:	serious
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.2-RELEASE i386
>Environment:
System: FreeBSD hades.panopticon 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar  8 09:48:52 MSK
>Description:
Doesn't build with parallel make:

---
===>  Building for shared-mime-info-0.90
cc -DHAVE_CONFIG_H -I. -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glib-2.0    -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glib-2.0   -O2 -pipe -march=prescott -fno-strict-aliasing -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT update_mime_database-update-mime-database.o -MD -MP -MF .deps/update_mime_database-update-mime-database.Tpo -c -o update_mime_database-update-mime-database.o `test -f 'update-mime-database.c' || echo './'`update-mime-database.c
Making check in .
gmake[1]: Entering directory `/usr/home/amdmi3/projects/freebsd/ports/misc/shared-mime-info/work/shared-mime-info-0.90'
cc -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glib-2.0   -O2 -pipe -march=prescott -fno-strict-aliasing -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings  -L/usr/local/lib -o update-mime-database update_mime_database-update-mime-database.o -L/usr/local/lib -lxml2 -lglib-2.0   
update_mime_database-update-mime-database.o: file not recognized: File truncated
gmake[1]: *** [update-mime-database] Error 1
gmake[1]: Leaving directory `/usr/home/amdmi3/projects/freebsd/ports/misc/shared-mime-info/work/shared-mime-info-0.90'
gmake: *** [check-recursive] Error 1
gmake: *** Waiting for unfinished jobs....
mv -f .deps/update_mime_database-update-mime-database.Tpo .deps/update_mime_database-update-mime-database.Po
===> Compilation failed unexpectedly.
You have chosen to use multiple make jobs (parallelization) for all ports.
This port was not tested for this setting.  Please remove FORCE_MAKE_JOBS and
retry the build before reporting the failure to the maintainer.
*** Error code 1

Stop in /usr/home/amdmi3/projects/freebsd/ports/misc/shared-mime-info.
---

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- shared-mime-info-0.90.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/misc/shared-mime-info/Makefile,v
retrieving revision 1.62
diff -u -u -r1.62 Makefile
--- Makefile	13 Aug 2011 14:48:47 -0000	1.62
+++ Makefile	18 Aug 2011 17:47:38 -0000
@@ -21,6 +21,7 @@
 USE_GNOME=	glib20 libxml2 intltool gnomehack intlhack
 CPPFLAGS+=	-I${LOCALBASE}/include
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_JOBS_UNSAFE=yes
 
 MAN1=		update-mime-database.1
 
--- shared-mime-info-0.90.patch ends here ---




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