Bug 148250 - [bsd.port.mk] [patch] xz memory limit prevents port building on low-memory systems
Summary: [bsd.port.mk] [patch] xz memory limit prevents port building on low-memory sy...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 00:50 UTC by Warren Block
Modified: 2010-08-20 13:20 UTC (History)
0 users

See Also:


Attachments
file.diff (396 bytes, patch)
2010-06-30 00:50 UTC, Warren Block
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Warren Block 2010-06-30 00:50:02 UTC
xz's automatic memory limit prevents building of ports like png even on machines with adequate memory.  In this forum post, a user with a 128M system can't build the png port, which only needs 65M.

The patch uses the same method as ${GZIP} to add the -Mmax option to xz, making all memory available.

Fix: Apply attached patch.

Patch attached with submission follows:
How-To-Repeat: Try to build graphics/png on a system with 128M of RAM.
Comment 1 Warren Block 2010-06-30 00:56:40 UTC
The forum post illustrating the problem: 
http://forums.freebsd.org/showthread.php?t=15522
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-06-30 06:30:18 UTC
Responsible Changed
From-To: freebsd-bugs->portmgr

affects bsd.port.mk.
Comment 3 Matthias Andree 2010-08-12 14:09:21 UTC
Seconded.
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-08-20 13:15:12 UTC
pav         2010-08-20 12:15:02 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.commands.mk bsd.licenses.mk 
                         bsd.port.mk 
  Log:
  - Fix plist leftovers when using LICENSE framework and having @cwd command in
    plist
  
  PR:             ports/147296
  Submitted by:   beat
  
  - Provide end-user DISABLE_LICENSES knob to disable licensing framework
  
  PR:             ports/149070
  Submitted by:   amdmi3
  
  - Include bsd.gnome.mk when INSTALLS_ICONS is defined
  
  PR:             ports/148051
  Submitted by:   amdmi3
  
  - Disable xz memory limit to fix port builds on low-memory systems
  
  PR:             ports/148250
  Submitted by:   Warren Block <wblock@wonkity.com>
  
  - Remove compatibility shim for 6.3-RELEASE and older in describe target
  
  PR:             ports/146067
  Submitted by:   Alex Kozlov <spam@rm-rf.kiev.ua>
  
  - Remove INSTALLS_SHLIB
  
  PR:             ports/146351
  Submitted by:   Alex Kozlov <spam@rm-rf.kiev.ua>
  
  - Remove last trace of APACHE_COMPAT
  
  PR:             ports/147114
  Submitted by:   pgollucci
  
  - Allow ports to override _MAKE_JOBS
  
  PR:             ports/148754
  Submitted by:   Anonymous <swell.k@gmail.com>
  
  - Fixes to comments block
  
  PR:             ports/135649, ports/148190
  Submitted by:   pgollucci, gcooper
  
  Revision  Changes    Path
  1.6       +4 -3      ports/Mk/bsd.commands.mk
  1.3       +6 -10     ports/Mk/bsd.licenses.mk
  1.644     +36 -139   ports/Mk/bsd.port.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2010-08-20 13:18:11 UTC
State Changed
From-To: open->closed

Committed, thanks