Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 16:46:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208362] security/kc doesn't like WITH_DEBUG_FILES=yes in src.conf
Message-ID:  <bug-208362-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208362

            Bug ID: 208362
           Summary: security/kc doesn't like WITH_DEBUG_FILES=3Dyes in
                    src.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
                CC: leva@ecentrum.hu
             Flags: maintainer-feedback?(leva@ecentrum.hu)
                CC: leva@ecentrum.hu

System has WITH_DEBUG_FILES=3Dyes set in /etc/src.conf. security/kc, and
/usr/share/mk/bsd.own.mk complains loudly:

root@hostname:~ # portupgrade -fprv security/kc
--->  Session started at: Mon, 28 Mar 2016 18:40:37 +0200
[Reading data from pkg(8) ... - 624 packages found - done]
--->  Reinstallation of security/kc started at: Mon, 28 Mar 2016 18:40:37 +=
0200
--->  Reinstalling 'kc-2.3.2_2' (security/kc)
--->  Build of security/kc started at: Mon, 28 Mar 2016 18:40:37 +0200
--->  Building '/usr/ports/security/kc'
=3D=3D=3D>  Cleaning for kc-2.3.2_2
=3D=3D=3D>  License BSD2CLAUSE accepted by the user
=3D=3D=3D>   kc-2.3.2_2 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by kc-2.3.2_2 for building
=3D=3D=3D>  Extracting for kc-2.3.2_2
=3D> SHA256 Checksum OK for levaidaniel-kc-2.3.2_GH0.tar.gz.
=3D=3D=3D>  Patching for kc-2.3.2_2
=3D=3D=3D>   kc-2.3.2_2 depends on executable: pkgconf - found
=3D=3D=3D>   kc-2.3.2_2 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so)
=3D=3D=3D>   kc-2.3.2_2 depends on shared library: libpcre.so - found
(/usr/local/lib/libpcre.so)
=3D=3D=3D>   kc-2.3.2_2 depends on shared library: libedit.so.0 - found
(/usr/local/lib/libedit.so.0)
=3D=3D=3D>  Configuring for kc-2.3.2_2
=3D=3D=3D>  Building for kc-2.3.2_2
make[1]: "/usr/share/mk/bsd.own.mk" line 502: WITH_DEBUG_FILES and
WITHOUT_DEBUG_FILES can't both be set.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/kc
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20160328-67427-69qxia env UPGRADE_TOOL=3Dportupgrade
UPGRADE_PORT=3Dkc-2.3.2_2 UPGRADE_PORT_VER=3D2.3.2_2 make "DEPENDS_TARGET=
=3Dinstall
package"
** Fix the problem and try again.
--->  Build of security/kc ended at: Mon, 28 Mar 2016 18:40:38 +0200 (consu=
med
00:00:00)
--->  Reinstallation of security/kc ended at: Mon, 28 Mar 2016 18:40:38 +02=
00
(consumed 00:00:00)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        ! security/kc (kc-2.3.2_2)      (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Mon, 28 Mar 2016 18:40:38 +0200 (consumed 00:00:01)

This happened on:

FreeBSD hostname.some.domain 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #0
r297011: Fri Mar 18 13:39:40 CET 2016=20=20=20=20
root@hostname.some.domain:/usr/obj/usr/src/sys/CUSTOM_KERNEL  amd64

Quick fix:

Comment out WITH_DEBUG_FILES=3Dyes in /etc/src.conf while (re)compiling
security/kc.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208362-13>