Subject: Re: CONFIGURE_ARGS not getting into binary packages
To: Jeremy C. Reed <reed@reedmedia.net>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 04/26/2007 22:20:49
Jeremy C. Reed wrote:
> On Thu, 26 Apr 2007, Louis Guillaume wrote:
>
>> I just noticed that my pkgsrc-2007Q1 binary packages don't have
>> CONFIGURE_ARGS data.
>>
>> Neither "pkg_info -B" nor "pkg_info -Q CONFIGURE_ARGS" are fruitful.
>>
>> Is this a new thing? or a bug in pkg_info?
>
> I didn't try to repeat this.
>
> Do you have the following?
>
> $ grep 'BUILD_DEFS.*CONFIGURE' mk/configure/configure.mk
> _BUILD_DEFS+= CONFIGURE_ENV CONFIGURE_ARGS
>
Yes.
> Did you use the -a switch with pkg_info -B? For example:
>
> $ pkg_info -Ba | grep CONFIGURE_ARGS | wc -l
> 209
No. This was on simple `pkg_info -B <pkg name>'
> Can you tell me where you found these pkgsrc-2007Q1 binary packages?
> (I looked at http://ftp.netbsd.org/pub/NetBSD/packages/ but don't see
> them.)
These were built by me on 2 NetBSD systems, a Linux (RedHat) system, and
an AIX system. They all exhibit the same thing on pkgsrc-2007Q1, but not
on pkgsrc-2006Q2.
One NetBSD and the AIX system share a pkgsrc tree; the others have
completely independently updated pkgsrc trees. Both NetBSD systems use
pkg_comp. One is netbsd-4 and the other netbsd-3.
I pretty much skipped out on pkgsrc-2006Q3 and pkgsrc-2006Q4 (at least I
didn't really do major builds during that period.) Maybe I have some
packages where I can verify if the change happened then. But definitely
pkgsrc-2006Q2 was the last time I had CONFIGURE_ARGS and other data in
the binary packages.
my mk.confs are below.
Are you able to reproduce this issue with "make package"?
Thanks,
Louis
######
# AIX
######
DISTDIR= /usr/pkg/distfiles
PACKAGES= /usr/pkg/obj/packages
WRKOBJDIR= /usr/pkg/obj
OBJHOSTNAME= oasis
PKGCHK_CONF= /etc/pkgchk.conf
PKG_SYSCONFBASE=/etc
#USE_PKGSRC_GCC=YES
USE_NATIVE_GCC=yes
CC=gcc
CXX=g++
#USE_GCC3=yes
#.include "/usr/pkg/gcc3/mk/c.mk"
#.include "/usr/pkg/gcc3/mk/f77.mk"
MACHINE_GNU_PLATFORM=powerpc-ibm-aix5.3.0.0
CHECK_SHLIBS=no
RENAME=
PKGMAKECONF=${MAKECONF}
DEPENDS_TARGET=package
########
# Linux
########
DISTDIR?= /usr/pkgsrc/distfiles
PACKAGES?= /home/ftp/pub/packages/i386
WRKOBJDIR= /usr/pkgobj
PKGCHK_CONF= /etc/pkgchk.conf
PKG_SYSCONFBASE=/etc
USE_INET6=NO
PKG_OPTIONS.heimdal=ldap
PKG_OPTIONS.openldap-server=kerberos sasl
PKG_OPTIONS.openldap-client=kerberos sasl
PKG_OPTIONS.netatalk=kerberos
PKG_OPTIONS.samba=ads
DEPENDS_TARGET=package
ACCEPTABLE_LICENSES+=jdk13-license
PKG_DEVELOPER=1
#########
# NetBSD
#########
#
# /etc/mk.conf
# File automatically generated by pkg_comp on Thu Feb 8 22:18:24 EST 2007
#
.ifdef BSD_PKG_MK
WRKDIR_BASENAME ?= default
MKOBJDIRS ?= yes
BSDSRCDIR ?= /usr/src
WRKOBJDIR ?= /pkg_comp/obj/pkgsrc
DISTDIR ?= /pkg_comp/distfiles
PACKAGES ?= /pkg_comp/packages
PKG_DEVELOPER ?= yes
CLEANDEPENDS ?= yes
LOCALBASE ?= /usr/pkg
PKG_SYSCONFBASE ?= /etc
CFLAGS ?=
CPPFLAGS ?=
CXXFLAGS ?=
USE_AUDIT_PACKAGES ?= yes
PKGVULNDIR ?= /usr/pkg/share
USE_XPKGWEDGE ?= yes
PKGSRC_COMPILER ?= gcc
LIBKVER_STANDALONE_PREFIX ?= /libkver
ACCEPTABLE_LICENSES+=jdk13-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=fee-based-commercial-use
ACCEPTABLE_LICENSES+=no-profit
ACCEPTABLE_LICENSES+=citrix_ica-license
ACCEPTABLE_LICENSES+=lame-license
ACCEPTABLE_LICENSES+=vmware-license
PKG_JVM=sun-jdk15
PKG_OPTIONS.netatalk+=kerberos pam
PKG_OPTIONS.cyrus-saslauthd += gssapi ldap
PKG_OPTIONS.sendmail+=ldap sasl tcpwrappers starttls
PKG_OPTIONS.cups+=pam
PKG_OPTIONS.kdelibs+=cups
PKG_OPTIONS.kdebase+=samba sasl
PKG_OPTIONS.kdesdk+=svn
PKG_OPTIONS.kdemultimedia+=gstreamer oss
PKG_OPTIONS.kdeaccessibility+=gstreamer
PKG_OPTIONS.xscreensaver+=pam
PKG_OPTIONS.koffice+=mysql pgsql
PKG_OPTIONS.heimdal+=ldap kerberos-prefix-cmds
DEPENDS_TARGET=package