Bug 207102 - misc/raspberrypi-userland: WITH_DEBUG= results in *** [interface/. . ./vcfiled_check.c.o] Error code 1 (stops the build)
Summary: misc/raspberrypi-userland: WITH_DEBUG= results in *** [interface/. . ./vcfile...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 08:34 UTC by Mark Millard
Modified: 2016-03-17 20:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Millard 2016-02-11 08:34:01 UTC
man ports reports that the make variable. . .

     WITH_DEBUG                    (bool) If set, debugging symbols are
                                   installed for ports binaries.

but when I use a make.conf with WITH_DEBUG= in it I get:

===>  Building for raspberrypi-userland-20151105_2
Scanning dependencies of target vcfiled_check
[  0%] Building C object interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_check.c.o
clang: error: argument unused during compilation: '-rdynamic'
clang: error: argument unused during compilation: '-rdynamic'
--- interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_check.c.o ---
*** [interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_check.c.o] Error code 1

make[4]: stopped in /usr/obj/portswork/usr/ports/misc/raspberrypi-userland/work/.build
1 error
. . .

Other context details:

# freebsd-version -ku; uname -aKU
11.0-CURRENT
11.0-CURRENT
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r295351M: Sun Feb  7 03:23:24 PST 2016     markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100097 1100097

# svnlite info /usr/ports/misc/raspberrypi-userland
Path: misc/raspberrypi-userland
Working Copy Root Path: /usr/ports
URL: https://svn0.us-west.freebsd.org/ports/head/misc/raspberrypi-userland
Relative URL: ^/head/misc/raspberrypi-userland
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 408464
Node Kind: directory
Schedule: normal
Last Changed Author: amdmi3
Last Changed Rev: 408041
Last Changed Date: 2016-02-04 15:13:32 +0000 (Thu, 04 Feb 2016)

$ more /etc/make.conf 
DEFAULT_VERSIONS+=perl5=5.22
WRKDIRPREFIX=/usr/obj/portswork
WITH_DEBUG=
WITH_DEBUG_FILES=
MALLOC_PRODUCTION=
#
TO_TYPE=armv6
VERSION_CONTEXT=11.0
CFLAGS+=-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access
.if ${.MAKE.LEVEL} == 0
CC=/usr/bin/clang
CXX=/usr/bin/clang++
CPP=/usr/bin/clang-cpp
.export CC
.export CXX
.export CPP
.endif

This is in a projects/clang380-imports context rather than a direct 11.0-CURRENT one: so clang 3.8.0 .
Comment 1 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2016-03-06 00:27:36 UTC
Should be fixed by this commit:

https://github.com/gonzoua/userland/commit/8360b45981294ce20e8eb3737bbbb73d09099f8b
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-03-17 20:16:43 UTC
A commit references this bug:

Author: feld
Date: Thu Mar 17 20:16:26 UTC 2016
New revision: 411305
URL: https://svnweb.freebsd.org/changeset/ports/411305

Log:
  misc/raspberrypi-userland: Update to 20160306

  This update also adds a DEBUG option.

  PR:		207790, 207097, 207102

Changes:
  head/misc/raspberrypi-userland/Makefile
  head/misc/raspberrypi-userland/distinfo