Bug 197749

Summary: [patch] graphics/exiv2 : not jobs safe, patch fixes it
Product: Ports & Packages Reporter: John Marino <marino>
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (multimedia)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix jobs unsafe bug none

Description John Marino freebsd_committer freebsd_triage 2015-02-16 21:53:43 UTC
Created attachment 153089 [details]
fix jobs unsafe bug

I got this failure compiling exiv2 on multijob:

c++ -pipe -O2 -fno-strict-aliasing -D_GLIBCXX_USE_CXX11_ABI=0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -MMD -I. -I/usr/local/include -DEXV_LOCALEDIR=\"/usr/local/share/locale\" -I../xmpsdk/include -c -o utils.o utils.cpp
utils.cpp:36:23: fatal error: exv_conf.h: No such file or directory

It turns out that the makefile did not have utils.cpp depending on exv_conf.h, so they built at the same time.  That attached patch should fix this.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-16 21:53:43 UTC
Auto-assigned to maintainer multimedia@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-11 18:37:07 UTC
A commit references this bug:

Author: marino
Date: Wed Mar 11 18:37:05 UTC 2015
New revision: 381027
URL: https://svnweb.freebsd.org/changeset/ports/381027

Log:
  graphics/exiv2: Not jobs safe, so make it jobs safe

  A dependency on a header was not listed in the vendor makefile, so it
  is possible that exiv2 breaks on multi-job building.  This fixes at least
  that specific problem.

  PR:		197749
  Submitted by:	marino
  approved by:	maintainer timeout

Changes:
  head/graphics/exiv2/files/patch-src-Makefile