Bug 180759 - textproc/p5-Unicode-LineBreak build failed
Summary: textproc/p5-Unicode-LineBreak build failed
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: Frederic Culot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-23 12:00 UTC by ekoort
Modified: 2013-07-23 18:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ekoort 2013-07-23 12:00:00 UTC
p5-Unicode-LineBreak fails with "cc: ../break.c: No such file or directory" error. (ports tree is up do date)

# cd /usr/ports/textproc/p5-Unicode-LineBreak
# make install
/*/
===>  Configuring for p5-Unicode-LineBreak-2012.10
Use bundled sombok 2.3.0 with Unicode 6.2.0
Checking if your kit is complete...
Looks good
Writing Makefile for sombok
Writing MYMETA.yml
Writing Makefile for Unicode::LineBreak
Writing MYMETA.yml
===>  Building for p5-Unicode-LineBreak-2012.10
cd lib && cc -c  "-I/usr/local/lib/perl5/5.14/mach/CORE" "-I/usr/ports/textproc/p5-Unicode-LineBreak/work/Unicode-LineBreak-2012.10/sombok/include"  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.14/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fno-strict-aliasing    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.14/mach/CORE"   ../break.c
cc: ../break.c: No such file or directory
cc: No input files specified
*** Error code 1
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/textproc/p5-Unicode-LineBreak.

Fix: 

Not the fix but workaround. After build failure:

# cd work/Unicode-LineBreak-2012.10/sombok/
# pwd
/usr/ports/textproc/p5-Unicode-LineBreak/work/Unicode-LineBreak-2012.10/sombok
# make build
/*/

# cd - 
(or # cd /usr/ports/textproc/p5-Unicode-LineBreak )
# make build
How-To-Repeat: # cd /usr/ports/textproc/p5-Unicode-LineBreak
# make build
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-23 12:00:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-23 12:00:08 UTC
Maintainer of textproc/p5-Unicode-LineBreak,

Please note that PR ports/180759 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/180759

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-23 12:00:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Frederic Culot freebsd_committer freebsd_triage 2013-07-23 12:30:59 UTC
Responsible Changed
From-To: perl->culot

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-07-23 18:15:52 UTC
Author: culot
Date: Tue Jul 23 17:15:43 2013
New Revision: 323541
URL: http://svnweb.freebsd.org/changeset/ports/323541

Log:
  - Mark MAKE_JOBS_UNSAFE
  
  PR:		ports/180759
  Submitted by:	Eimar Koort <eimar.koort@gmail.com>

Modified:
  head/textproc/p5-Unicode-LineBreak/Makefile

Modified: head/textproc/p5-Unicode-LineBreak/Makefile
==============================================================================
--- head/textproc/p5-Unicode-LineBreak/Makefile	Tue Jul 23 16:25:51 2013	(r323540)
+++ head/textproc/p5-Unicode-LineBreak/Makefile	Tue Jul 23 17:15:43 2013	(r323541)
@@ -17,6 +17,8 @@ LICENSE_COMB=	dual
 BUILD_DEPENDS=	p5-MIME-Charset>=0:${PORTSDIR}/mail/p5-MIME-Charset
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+MAKE_JOBS_UNSAFE=	yes
+
 PERL_CONFIGURE=	yes
 
 CONFIGURE_ARGS+=	--with-bundled-sombok \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Frederic Culot freebsd_committer freebsd_triage 2013-07-23 18:17:50 UTC
State Changed
From-To: feedback->closed

Missing MAKE_JOBS_UNSAFE added (trivial change so no maintainer approval 
requested). Thanks for reporting the issue!