Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 04:23:24 GMT
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188640: [patch] x11-servers/xorg-server is make jobs safe
Message-ID:  <201404150423.s3F4NOPF066952@cgiserv.freebsd.org>
Resent-Message-ID: <201404150430.s3F4U0Zn072465@freefall.freebsd.org>

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

>Number:         188640
>Category:       ports
>Synopsis:       [patch] x11-servers/xorg-server is make jobs safe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 04:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jia-Shiun Li
>Release:        11.0-CURRENT
>Organization:
>Environment:
FreeBSD 4cbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #30 r264316: Thu Apr 10 23:46:51 CST 2014     jsli@4cbsd:/usr/obj/usr/src/sys/Minimal  amd64
>Description:
x11-servers/xorg-server looks fine without MAKE_JOBS_UNSAFE.


jsli@4cbsd:/mnt/xorg-server # sysctl kern.smp.cpus hw.model
kern.smp.cpus: 4
hw.model: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
jsli@4cbsd:/mnt/xorg-server # time make -DBATCH MAKE_JOBS_NUMBER=64
....
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/mnt/xorg-server/work/xorg-server-1.12.4'
gmake[1]: Leaving directory `/mnt/xorg-server/work/xorg-server-1.12.4'
111.129u 22.940s 0:56.52 237.1% 32590+341k 0+8io 0pf+0w
jsli@4cbsd:/mnt/xorg-server # df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
tmpfs         1.0G    116M    908M    11%    /mnt
jsli@4cbsd:/mnt/xorg-server #

>How-To-Repeat:

>Fix:
Remove the line 'MAKE_JOBS_UNSAFE=yes'. Trivial patch is attached.

Patch attached with submission follows:

diff -bur xorg-server.orig/Makefile xorg-server/Makefile
--- xorg-server.orig/Makefile	2013-12-30 19:41:18.000000000 +0800
+++ xorg-server/Makefile	2014-04-15 12:08:43.000000000 +0800
@@ -65,7 +65,6 @@
 		videoproto compositeproto trapproto recordproto xineramaproto \
 		xinerama evieproto xfont fontenc xkbui pixman pciaccess
 
-MAKE_JOBS_UNSAFE=	yes
 USE_OPENSSL=	yes
 CONFIGURE_ARGS?=--disable-dmx --disable-xvfb --disable-xnest \
 		--without-xmlto --disable-docs --disable-devel-docs \


>Release-Note:
>Audit-Trail:
>Unformatted:



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