Bug 156801 - print/xdvik does not support parallel build
Summary: print/xdvik does not support parallel build
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: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 22:40 UTC by Matthias Andree
Modified: 2011-07-25 09:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2011-05-03 22:40:07 UTC
Building print/xdvik in parallel fails. To reproduce, try:

cd /usr/ports/print/xdvik
make FORCE_MAKE_JOBS=yes MAKE_JOBS_NUMBER=4

Please either make sure that the dependencies are set properly so that
the ar/ranlib tasks are only executed after all compilers have finished,
or simply mark the Makefile with MAKE_JOBS_UNSAFE=<tab>yes.

In my case the failure is this:

ar rc libgui.a help-window.o message-window.o mag.o menu.o Panner.o
pagesel.o print-dialog.o print-log.o search-dialog.o selection.o sfDir.o
sfDraw.o sfPath.o sfSelFile.o statusline.o Tip.o topic-window.o
xaw_bitmaps.o xaw_menu.o xicon.o xlwradio.o xm_colorsel.o xm_filesel.o
xm_menu.o xm_prefs.o xm_prefs_appearance.o xm_prefs_fonts.o
xm_prefs_page.o xm_prefs_scroll.o xm_prefs_helpers.o xm_toolbar.o
ranlib libgui.a
ranlib libgui.a
ranlib: warning: Truncated ar archive
ranlib: fatal: Truncated input file (needed 5626 bytes, only 0
available)
gmake[3]: Leaving directory
`/var/tmp/usr/ports/print/xdvik/work/xdvik-22.84.16/texk/xdvik/gui'
cc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I/usr/local/include -I.. -DPS_GS  -DXDVI_KPSE_PROG_NAME=xdvi -I./gui
-I/usr/local/include  -I/usr/local/include  -O2 -pipe
-fno-strict-aliasing -I/usr/local/include  -c browser.c -o browser.o
gmake[3]: *** [libgui.a] Fehler 65
gmake[3]: Leaving directory
`/var/tmp/usr/ports/print/xdvik/work/xdvik-22.84.16/texk/xdvik/gui'
gmake[2]: *** [gui/libgui.a] Fehler 2
gmake[2]: *** Warte auf noch nicht beendete Prozesse...
gmake[2]: Leaving directory
`/var/tmp/usr/ports/print/xdvik/work/xdvik-22.84.16/texk/xdvik'
gmake[1]: *** [all] Fehler 1
gmake[1]: Leaving directory
`/var/tmp/usr/ports/print/xdvik/work/xdvik-22.84.16/texk'
gmake: *** [all] Fehler 1
===> 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/ports/print/xdvik.

===>>> make failed for print/xdvik
===>>> Aborting update
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-03 22:40:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-07-25 09:08:28 UTC
hrs         2011-07-25 08:08:20 UTC

  FreeBSD ports repository

  Modified files:
    print/xdvik          Makefile 
  Log:
  Mark as MAKE_JOBS_UNSAFE.
  
  PR:     ports/156801
  
  Revision  Changes    Path
  1.34      +1 -0      ports/print/xdvik/Makefile
_______________________________________________
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 3 Hiroki Sato freebsd_committer freebsd_triage 2011-07-25 09:08:32 UTC
State Changed
From-To: open->closed

Committed.  Sorry for the long delay.