Bug 215346 - devel/protobuf: |make test| is broken
Summary: devel/protobuf: |make test| is broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-12-16 17:54 UTC by Jan Beich
Modified: 2016-12-17 13:08 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
v0 (3.71 KB, patch)
2016-12-16 18:00 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2016-12-16 17:54:27 UTC
$ make test
===>  Testing for protobuf-3.1.0
gmake[1]: Entering directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
Making check in .
gmake[2]: Entering directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
gmake  check-local
gmake[3]: Entering directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
Making lib/libgmock.a lib/libgmock_main.a in gmock
cd: gmock: No such file or directory
gmake[3]: *** [Makefile:1752: check-local] Error 2
gmake[3]: Leaving directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
gmake[2]: *** [Makefile:1613: check-am] Error 2
gmake[2]: Leaving directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
gmake[1]: *** [Makefile:1325: check-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/devel/protobuf/work/protobuf-3.1.0'
*** Error code 1
Comment 1 Jan Beich freebsd_committer 2016-12-16 18:00:17 UTC
Created attachment 178013 [details]
v0

9.3 i386:  http://sprunge.us/ZLdi (broken)
10.1 i386: http://sprunge.us/eOab
11.0 i386: http://sprunge.us/RPZB

$ cat devel/protobuf/Makefile.local
# XXX Workaround before https://github.com/freebsd/poudriere/pull/355
BUILD_DEPENDS+=${TEST_DEPENDS}
pre-install:    do-test

Another way to test is by using one of the following:

$ poudriere bulk -h |& fgrep -i inter
    -i          -- Interactive mode. Enter jail for interactive testing and
    -I          -- Advanced Interactive mode. Leaves jail running with ports
Comment 2 commit-hook freebsd_committer 2016-12-17 12:57:37 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Dec 17 12:57:14 UTC 2016
New revision: 428734
URL: https://svnweb.freebsd.org/changeset/ports/428734

Log:
  - Allow make test

  PR:		215346
  Submitted by:	jbeich

Changes:
  head/devel/protobuf/Makefile
  head/devel/protobuf/files/patch-src-google-protobuf-stubs-atomicops.h
  head/devel/protobuf/files/patch-src-google-protobuf-testing-zcgunzip.cc
  head/devel/protobuf/files/patch-src-google-protobuf-testing-zcgzip.cc
Comment 3 Po-Chuan Hsieh freebsd_committer 2016-12-17 13:08:02 UTC
Committed. Thanks!