Bug 192654 - devel/scons: doesn't build on 9.1
Summary: devel/scons: doesn't build on 9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-14 15:25 UTC by tilghman
Modified: 2014-08-16 04:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tilghman 2014-08-14 15:25:13 UTC
[tlesher@outward /usr/ports/devel/scons]$ sudo make install
===>  License MIT accepted by the user
===>   scons-2.3.0_1 depends on file: /usr/local/sbin/pkg - found
=> scons-2.3.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://downloads.sourceforge.net/project/scons/scons/2.3.0/scons-2.3.0.tar.gz
scons-2.3.0.tar.gz                            100% of  585 kB  915 kBps
===> Fetching all distfiles required by scons-2.3.0_1 for building
===>  Extracting for scons-2.3.0_1
=> SHA256 Checksum OK for scons-2.3.0.tar.gz.
===>  Patching for scons-2.3.0_1
===>  Applying FreeBSD patches for scons-2.3.0_1
===>   scons-2.3.0_1 depends on package: py27-setuptools27>0 - not found
===>    Verifying install for py27-setuptools27>0 in /usr/ports/devel/py-setuptools27
===>  License PSFL accepted by the user
===>   py27-setuptools27-5.5.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-setuptools27-5.5.1 for building
===>  Extracting for py27-setuptools27-5.5.1
=> SHA256 Checksum OK for python/setuptools-5.5.1.tar.gz.
===>  Patching for py27-setuptools27-5.5.1
===>  Applying FreeBSD patches for py27-setuptools27-5.5.1
===>   py27-setuptools27-5.5.1 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for py27-setuptools27-5.5.1
running config
===>  Building for py27-setuptools27-5.5.1

...build of py27-setuptools27 snipped for brevity...

running install_scripts
Installing easy_install script to /usr/ports/devel/py-setuptools27/work/stage/usr/local/bin
Installing easy_install-2.7 script to /usr/ports/devel/py-setuptools27/work/stage/usr/local/bin
writing list of installed files to '/usr/ports/devel/py-setuptools27/work/.PLIST.pymodtmp'
install  -o root -g wheel -m 444 /usr/ports/devel/py-setuptools27/../py-setuptools/files/easy-install.pth.dist /usr/ports/devel/py-setuptools27/work/stage/usr/local/lib/python2.7/site-packages/
====> Compressing man pages (compress-man)
===>  Installing for py27-setuptools27-5.5.1
===>  Checking if py27-setuptools27 already installed
===>   Registering installation for py27-setuptools27-5.5.1 as automatic
===>  Configuring for scons-2.3.0_1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools
*** [do-configure] Error code 1

Stop in /usr/ports/devel/scons.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-14 15:28:40 UTC
notifying maintainer in CC.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2014-08-15 09:32:23 UTC
I cannot reproduce this in a 9.1-RELEASE amd64 jail, can you please provide:

- Output of uname -a
- Attachment: Contents of /etc/make.conf (sanitized if necessary)
- Attachment: Contents of /usr/local/lib/python2.7/site-packages/ (ls -la)
- Attachment: Output of pkg_version -v or pkg version -v
- Confirmation you are using the latest version of the ports tree
Comment 3 tilghman 2014-08-15 12:16:49 UTC
[tlesher@outward /usr/ports/devel/scons]$ uname -a
FreeBSD outward.<domain-removed> 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Sun Jan 12 20:11:23 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[tlesher@outward /usr/ports/devel/scons]$ cat /etc/make.conf
# added by use.perl 2013-06-20 15:44:44
PERL_VERSION=5.14.4
WITH_PKGNG=yes
WITH_OPENSSL_PORT=yes
[tlesher@outward /usr/ports/devel/scons]$ ls -la /usr/local/lib/python2.7/site-packages/
total 21
drwxr-xr-x   4 root  wheel    6 Mar  3 17:17 .
drwxr-xr-x  32 root  wheel  653 Mar  3 17:17 ..
-r--r--r--   1 root  wheel  119 Mar  3 17:16 README
drwxr-xr-x   2 root  wheel   44 Nov 24  2013 S3
-rw-r--r--   1 root  wheel  656 Nov 24  2013 s3cmd-1.0.1-py2.7.egg-info
drwxr-xr-x   2 root  wheel   20 Jul 11  2013 xcbgen
[tlesher@outward /usr/ports/devel/scons]$ pkg version -v
GeoIP-1.4.8_3                      <   needs updating (port has 1.6.0_2)
ImageMagick-nox11-6.8.0.7_1        <   needs updating (port has 6.8.9.4_1,1)
ap22-mod_fcgid-2.3.9               =   up-to-date with port
ap22-mod_limitipconn2-0.23_3       <   needs updating (port has 0.24)
ap22-mod_qos-10.15                 <   needs updating (port has 11.2)
apache22-2.2.27_6                  =   up-to-date with port
apr-1.4.8.1.5.2                    <   needs updating (port has 1.5.1.1.5.3_3)
autoconf-2.69                      =   up-to-date with port
autoconf-wrapper-20130530          <   needs updating (port has 20131203)
automake-1.14                      =   up-to-date with port
automake-wrapper-20130530          <   needs updating (port has 20131203)
bacula-client-5.2.12               <   needs updating (port has 7.0.4_1)
bacula-client-static-5.2.12_3      <   needs updating (port has 7.0.4_1)
bash-4.2.45                        <   needs updating (port has 4.3.22)
bigreqsproto-1.1.2                 =   up-to-date with port
bison-2.7.1,1                      =   up-to-date with port
c-ares-config-1.10.0               =   up-to-date with port
ca_root_nss-3.15.1                 <   needs updating (port has 3.16.3)
cmake-2.8.11.2                     <   needs updating (port has 2.8.12.1_4)
cmake-modules-2.8.11.2             <   needs updating (port has 2.8.12.1_1)
compat6x-amd64-6.4.604000.200810_3 =   up-to-date with port
coreutils-8.20_2                   <   needs updating (port has 8.23)
cups-client-1.5.4_1                <   needs updating (port has 1.7.3_2)
cups-image-1.5.4_1                 <   needs updating (port has 1.7.3_1)
curl-7.33.0_2                      <   needs updating (port has 7.37.1_2)
db41-4.1.25_4                      =   up-to-date with port
db42-4.2.52_5                      =   up-to-date with port
dialog4ports-0.1.5_1               <   needs updating (port has 0.1.5_2)
expat-2.0.1_2                      <   needs updating (port has 2.1.0_1)
expect-5.43.0_4                    <   needs updating (port has 5.45_1)
fftw3-3.3.3_1                      =   up-to-date with port
flock-2.19                         =   up-to-date with port
fontconfig-2.10.93,1               <   needs updating (port has 2.11.0_3,1)
freetype2-2.5.3                    <   needs updating (port has 2.5.3_2)
gdbm-1.10                          <   needs updating (port has 1.11_2)
gettext-0.18.3                     <   needs updating (port has 0.18.3.1_1)
ghostscript9-nox11-9.06_4          <   needs updating (port has 9.06_7)
glib-2.36.3                        <   needs updating (port has 2.36.3_3)
gmake-3.82_1                       =   up-to-date with port
gsfonts-8.11_6                     =   up-to-date with port
help2man-1.43.3                    <   needs updating (port has 1.43.3_1)
iconv-2.0_4                        =   up-to-date with port
icu-50.1.2                         <   needs updating (port has 53.1)
inputproto-2.3                     <   needs updating (port has 2.3.1)
jasper-1.900.1_12                  <   needs updating (port has 1.900.1_14)
jbig2dec-0.11_1                    <   needs updating (port has 0.11_2)
jbigkit-1.6                        <   needs updating (port has 2.1_1)
jpeg-8_4                           <   needs updating (port has 8_5)
kbproto-1.0.6                      =   up-to-date with port
lcms2-2.5                          <   needs updating (port has 2.6_3)
libICE-1.0.8,1                     <   needs updating (port has 1.0.9,1)
libSM-1.2.1,1                      <   needs updating (port has 1.2.2_2,1)
libX11-1.6.0,1                     <   needs updating (port has 1.6.2_2,1)
libXau-1.0.8                       <   needs updating (port has 1.0.8_2)
libXaw-1.0.11,2                    <   needs updating (port has 1.0.12_2,2)
libXdmcp-1.1.1                     <   needs updating (port has 1.1.1_2)
libXext-1.3.2,1                    <   needs updating (port has 1.3.2_2,1)
libXmu-1.1.1,1                     <   needs updating (port has 1.1.2_2,1)
libXp-1.0.2,1                      <   needs updating (port has 1.0.2_2,1)
libXpm-3.5.10                      <   needs updating (port has 3.5.11_2)
libXt-1.1.4,1                      <   needs updating (port has 1.1.4_2,1)
libcheck-0.9.10                    <   needs updating (port has 0.9.14)
libexecinfo-1.1_3                  =   up-to-date with port
libffi-3.0.13                      <   needs updating (port has 3.0.13_1)
libfpx-1.3.1.2                     <   needs updating (port has 1.3.1.4)
libgcrypt-1.5.3                    <   needs updating (port has 1.6.1_3)
libgpg-error-1.12                  <   needs updating (port has 1.13_1)
libiconv-1.14_1                    <   needs updating (port has 1.14_3)
libidn-1.27                        <   needs updating (port has 1.28_1)
liblqr-1-0.4.1_5                   <   needs updating (port has 0.4.1_7)
libltdl-2.4.2_1                    <   needs updating (port has 2.4.2_3)
libpaper-1.1.24_1                  <   needs updating (port has 1.1.24_2)
libpthread-stubs-0.3_3             <   needs updating (port has 0.3_5)
libqrencode-3.4.3                  <   needs updating (port has 3.4.4)
libtool-2.4.2                      <   needs updating (port has 2.4.2_3)
libwmf-nox11-0.2.8.4_10            <   needs updating (port has 0.2.8.4_11)
libxcb-1.9.1                       <   needs updating (port has 1.10_2)
libxml2-2.9.1                      <   needs updating (port has 2.9.1_1)
libxslt-1.1.28_1                   <   needs updating (port has 1.1.28_4)
libyaml-0.1.6                      =   up-to-date with port
lzo2-2.07_1                        <   needs updating (port has 2.08)
m4-1.4.16_1,1                      <   needs updating (port has 1.4.17_1,1)
makedepend-1.0.4,1                 <   needs updating (port has 1.0.5,1)
mod_spdy-0.9.3.3                   <   needs updating (port has 0.9.4.1)
mysql-client-5.1.70                <   needs updating (port has 5.1.73_1)
netpbm-10.35.89                    <   needs updating (port has 10.35.92_1)
oniguruma-4.7.1                    =   up-to-date with port
p5-Archive-Zip-1.30_1              <   needs updating (port has 1.37)
p5-Authen-NTLM-1.09                =   up-to-date with port
p5-Bit-Vector-7.3                  =   up-to-date with port
p5-CPAN-Meta-2.132140              <   needs updating (port has 2.142060)
p5-CPAN-Meta-Requirements-2.122    <   needs updating (port has 2.126)
p5-CPAN-Meta-YAML-0.008            <   needs updating (port has 0.012)
p5-Carp-Clan-6.04                  =   up-to-date with port
p5-Class-Data-Inheritable-0.08     =   up-to-date with port
p5-Class-Factory-Util-1.7          =   up-to-date with port
p5-Class-ISA-0.36                  =   up-to-date with port
p5-Class-InsideOut-1.13            =   up-to-date with port
p5-Class-Load-0.20                 <   needs updating (port has 0.21)
p5-Class-Singleton-1.4             =   up-to-date with port
p5-Crypt-RC4-2.02                  =   up-to-date with port
p5-Crypt-SSLeay-0.64               <   needs updating (port has 0.72)
p5-DBD-Pg-2.19.3                   <   needs updating (port has 3.3.0)
p5-DBI-1.627                       <   needs updating (port has 1.631)
p5-Data-OptList-0.107              <   needs updating (port has 0.109)
p5-Date-Calc-6.3                   =   up-to-date with port
p5-Date-Manip-6.34                 <   needs updating (port has 6.46)
p5-DateTime-1.03                   <   needs updating (port has 1.10)
p5-DateTime-Format-Builder-0.81    =   up-to-date with port
p5-DateTime-Format-ISO8601-0.08    =   up-to-date with port
p5-DateTime-Format-Strptime-1.54,1 <   needs updating (port has 1.55,1)
p5-DateTime-Locale-0.45            =   up-to-date with port
p5-DateTime-TimeZone-1.60          <   needs updating (port has 1.73)
p5-Devel-StackTrace-1.30           <   needs updating (port has 1.34)
p5-Digest-HMAC-1.03                =   up-to-date with port
p5-Digest-Perl-MD5-1.8             <   needs updating (port has 1.9)
p5-Dist-CheckConflicts-0.02        <   needs updating (port has 0.11)
p5-Email-Date-Format-1.002         <   needs updating (port has 1.004)
p5-Encode-Locale-1.03              =   up-to-date with port
p5-Exception-Class-1.37            <   needs updating (port has 1.38)
p5-ExtUtils-MakeMaker-6.66         <   needs updating (port has 6.98)
p5-File-Listing-6.04               =   up-to-date with port
p5-FreezeThaw-0.50.01              =   up-to-date with port
p5-HTML-Parser-3.71                =   up-to-date with port
p5-HTML-Tagset-3.20                =   up-to-date with port
p5-HTTP-Cookies-6.01               =   up-to-date with port
p5-HTTP-Daemon-6.01                =   up-to-date with port
p5-HTTP-Date-6.02                  =   up-to-date with port
p5-HTTP-Message-6.06_2             =   up-to-date with port
p5-HTTP-Negotiate-6.01             =   up-to-date with port
p5-IO-HTML-1.00                    <   needs updating (port has 1.001)
p5-IO-Socket-SSL-1.94              <   needs updating (port has 1.997_2)
p5-IO-stringy-2.110                =   up-to-date with port
p5-JSON-PP-2.27202                 <   needs updating (port has 2.27203)
p5-LWP-MediaTypes-6.02             =   up-to-date with port
p5-LWP-Protocol-https-6.04         <   needs updating (port has 6.06)
p5-Lingua-EN-NameCase-1.15         <   needs updating (port has 1.16_1)
p5-List-MoreUtils-0.33             =   up-to-date with port
p5-Locale-gettext-1.05_3           =   up-to-date with port
p5-MIME-Lite-3.02.9                <   needs updating (port has 3.03.0)
p5-MIME-Types-1.38                 <   needs updating (port has 2.04)
p5-MLDBM-2.05                      =   up-to-date with port
p5-Mail-Tools-2.12                 <   needs updating (port has 2.13)
p5-Module-Build-0.4005             <   needs updating (port has 0.4206)
p5-Module-Implementation-0.06      <   needs updating (port has 0.07)
p5-Module-Runtime-0.013            <   needs updating (port has 0.014)
p5-Mozilla-CA-20130114             =   up-to-date with port
p5-Net-HTTP-6.06                   <   needs updating (port has 6.07)
p5-Net-SSLeay-1.55                 <   needs updating (port has 1.65)
p5-OLE-Storage_Lite-0.19           =   up-to-date with port
p5-PHP-Serialization-0.34          =   up-to-date with port
p5-Package-DeprecationManager-0.13 =   up-to-date with port
p5-Package-Stash-0.34              <   needs updating (port has 0.36)
p5-Package-Stash-XS-0.26           <   needs updating (port has 0.28)
p5-Params-Util-1.07                =   up-to-date with port
p5-Params-Validate-1.08            <   needs updating (port has 1.13)
p5-Parse-CPAN-Meta-1.44.04         <   needs updating (port has 1.44.14)
p5-Parse-RecDescent-1.967.009_1    =   up-to-date with port
p5-Pg-2.1.1_3,1                    =   up-to-date with port
p5-PostScript-Simple-0.07          =   up-to-date with port
p5-Readonly-1.03_2                 <   needs updating (port has 2.00)
p5-Spreadsheet-ParseExcel-0.59,1   =   up-to-date with port
p5-Spreadsheet-Read-0.47           <   needs updating (port has 0.54)
p5-Spreadsheet-ReadSXC-0.20        =   up-to-date with port
p5-Spreadsheet-WriteExcel-2.39     <   needs updating (port has 2.40)
p5-String-ShellQuote-1.04          =   up-to-date with port
p5-Sub-Exporter-0.986              <   needs updating (port has 0.987)
p5-Sub-Install-0.926               <   needs updating (port has 0.928)
p5-Task-Weaken-1.04                =   up-to-date with port
p5-Test-MockObject-1.20120301_1    =   up-to-date with port
p5-Text-CSV-1.32                   =   up-to-date with port
p5-Text-CSV_XS-0.97                <   needs updating (port has 1.02)
p5-Time-HiRes-1.9726,1             =   up-to-date with port
p5-TimeDate-2.30_1,1               =   up-to-date with port
p5-Try-Tiny-0.12                   <   needs updating (port has 0.18)
p5-UNIVERSAL-can-1.20120726        <   needs updating (port has 1.20140328)
p5-UNIVERSAL-isa-1.20120726        =   up-to-date with port
p5-URI-1.60                        <   needs updating (port has 1.64)
p5-WWW-RobotRules-6.02             =   up-to-date with port
p5-XML-NamespaceSupport-1.11       =   up-to-date with port
p5-XML-Parser-2.41_1               =   up-to-date with port
p5-XML-RPC-0.9_1                   =   up-to-date with port
p5-XML-SAX-0.99                    <   needs updating (port has 0.99_1)
p5-XML-SAX-Base-1.08               =   up-to-date with port
p5-XML-SAX-Expat-0.50              <   needs updating (port has 0.51)
p5-XML-Simple-2.20                 =   up-to-date with port
p5-XML-TreePP-0.42                 =   up-to-date with port
p5-YAML-Syck-1.27                  =   up-to-date with port
p5-libwww-6.05                     <   needs updating (port has 6.08)
pcre-8.33                          <   needs updating (port has 8.34_2)
pecl-bcompiler-1.0.2               =   up-to-date with port
pecl-geoip-1.0.8                   <   needs updating (port has 1.0.8_1)
perl-5.14.4                        <   needs updating (port has 5.14.4_7)
php53-5.3.28                       <   needs updating (port has 5.3.28_3)
php53-bcmath-5.3.27                <   needs updating (port has 5.3.28_3)
php53-bz2-5.3.27                   <   needs updating (port has 5.3.28_3)
php53-curl-5.3.27_1                <   needs updating (port has 5.3.28_3)
php53-dom-5.3.27                   <   needs updating (port has 5.3.28_3)
php53-fileinfo-5.3.27              <   needs updating (port has 5.3.28_3)
php53-gd-5.3.27                    <   needs updating (port has 5.3.28_3)
php53-iconv-5.3.27                 <   needs updating (port has 5.3.28_1)
php53-json-5.3.27                  <   needs updating (port has 5.3.28_3)
php53-mbstring-5.3.27              <   needs updating (port has 5.3.28_3)
php53-mysqli-5.3.27                <   needs updating (port has 5.3.28_3)
php53-pgsql-5.3.27                 <   needs updating (port has 5.3.28_3)
php53-posix-5.3.27                 <   needs updating (port has 5.3.28_3)
php53-session-5.3.27               <   needs updating (port has 5.3.28_3)
php53-simplexml-5.3.27             <   needs updating (port has 5.3.28_3)
php53-xml-5.3.27                   <   needs updating (port has 5.3.28_3)
php53-xmlrpc-5.3.28_3              =   up-to-date with port
php53-xsl-5.3.27                   <   needs updating (port has 5.3.28_3)
php53-zlib-5.3.27                  <   needs updating (port has 5.3.28_3)
piwik-1.12                         <   needs updating (port has 2.4.1)
pkg-1.2.6                          <   needs updating (port has 1.3.6)
pkgconf-0.9.2_1                    <   needs updating (port has 0.9.6_1)
png-1.5.17                         <   needs updating (port has 1.5.18)
pngcrush-1.7.59                    <   needs updating (port has 1.7.76)
portsearch-1.3.2                   <   needs updating (port has 1.3.3)
portupgrade-2.4.10.7,2             <   needs updating (port has 2.4.12_2,2)
postgresql-client-9.1.9            <   needs updating (port has 9.1.14)
printproto-1.0.5                   =   up-to-date with port
py27-s3cmd-1.0.1_1                 <   needs updating (port has 1.5.0.r1)
python27-2.7.6_4                   <   needs updating (port has 2.7.8_3)
rsync-3.0.9_3                      <   needs updating (port has 3.1.1_2)
ruby-1.9.3.448,1                   <   needs updating (port has 1.9.3.547,1)
ruby19-bdb-0.6.6_1                 <   needs updating (port has 0.6.6_3)
ruby19-date2-4.0.19                =   up-to-date with port
screen-4.0.3_14                    <   needs updating (port has 4.2.1_3)
serf-1.2.1_1                       <   needs updating (port has 1.3.7)
sqlite3-3.7.17_1                   <   needs updating (port has 3.8.5_1)
subversion-1.8.8                   <   needs updating (port has 1.8.10_1)
sudo-1.8.7_1                       <   needs updating (port has 1.8.10.p3_1)
svgalib-1.4.3_6                    <   needs updating (port has 1.4.3_7)
t1lib-5.1.2_2,1                    <   needs updating (port has 5.1.2_3,1)
tcl-8.4.20_1,1                     <   needs updating (port has 8.4.20_2,1)
tiff-4.0.3                         <   needs updating (port has 4.0.3_4)
unzip-6.0_1                        =   up-to-date with port
vim-lite-7.3.1314_2                <   needs updating (port has 7.4.398)
webp-0.1.3_1                       <   needs updating (port has 0.4.1)
wget-1.14_2                        <   needs updating (port has 1.15_1)
xcb-proto-1.8                      <   needs updating (port has 1.10_1)
xcmiscproto-1.2.2                  =   up-to-date with port
xextproto-7.2.1                    <   needs updating (port has 7.3.0)
xf86bigfontproto-1.2.0             =   up-to-date with port
xorg-macros-1.17                   <   needs updating (port has 1.19.0)
xproto-7.0.24                      <   needs updating (port has 7.0.26)
xtrans-1.2.7                       <   needs updating (port has 1.3.4_1)
[tlesher@outward /usr/ports/devel/scons]$

Ports is current (with portsnap) as of yesterday morning.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2014-08-15 12:28:17 UTC
Thank you for following up.

As requested, please add large outputs *as attachments* in future rather than inline in comments. This makes a bug much easier to follow and assist you on.

I note that setuptools is not installed (from your pkg version output)

Can you please:

1) Update your ports tree again to the latest revision
2) Install devel/py-setuptools first (separately)
3) Confirm it is installed (run python2.7 and try to "import setuptools") 
4) Attempt to build devel/scons again. If it fails:
5) Add the complete build output for scons as an attachment to this bug

Thanks!
Comment 5 tilghman 2014-08-15 14:18:08 UTC
I'm now getting error code 74 on _every_ attempt to register a package.
Comment 6 tilghman 2014-08-15 15:12:42 UTC
I have found a solution.  This appears to be traceable to pkg version 1.2.6.  Upgrading that port has fixed the problem.
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2014-08-16 01:17:10 UTC
Thanks for reporting back, can you confirm I can close this issue?
Comment 8 tilghman 2014-08-16 04:35:35 UTC
Yes, this can be closed.