Ticket #20631 (closed defect: fixed)
oregano build error
| Reported by: | thedoobs@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | jmr@… | |
| Port: | oregano |
Description
Output of sudo port -d install oregano:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/oregano
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/oregano
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port oregano.
DEBUG: Requested variant i386 is not provided by port oregano.
DEBUG: Requested variant macosx is not provided by port oregano.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gtk2.
DEBUG: Requested variant i386 is not provided by port gtk2.
DEBUG: Requested variant macosx is not provided by port gtk2.
DEBUG: Executing variant x11 provides x11
DEBUG: Searching for dependency: gtk2
DEBUG: Found Dependency: receipt exists for gtk2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libglade2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libglade2
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libglade2.
DEBUG: Requested variant i386 is not provided by port libglade2.
DEBUG: Requested variant macosx is not provided by port libglade2.
DEBUG: Searching for dependency: libglade2
DEBUG: Found Dependency: receipt exists for libglade2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port libgnomeui.
DEBUG: Requested variant i386 is not provided by port libgnomeui.
DEBUG: Requested variant macosx is not provided by port libgnomeui.
DEBUG: Searching for dependency: libgnomeui
DEBUG: Found Dependency: receipt exists for libgnomeui
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libxml2.
DEBUG: Requested variant i386 is not provided by port libxml2.
DEBUG: Requested variant macosx is not provided by port libxml2.
DEBUG: Searching for dependency: libxml2
DEBUG: Found Dependency: receipt exists for libxml2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomecanvas
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomecanvas
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port libgnomecanvas.
DEBUG: Requested variant i386 is not provided by port libgnomecanvas.
DEBUG: Requested variant macosx is not provided by port libgnomecanvas.
DEBUG: Searching for dependency: libgnomecanvas
DEBUG: Found Dependency: receipt exists for libgnomecanvas
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gtksourceview
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gtksourceview
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port gtksourceview.
DEBUG: Requested variant i386 is not provided by port gtksourceview.
DEBUG: Requested variant macosx is not provided by port gtksourceview.
DEBUG: Searching for dependency: gtksourceview
DEBUG: Found Dependency: receipt exists for gtksourceview
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/cairo
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/cairo
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port cairo.
DEBUG: Requested variant i386 is not provided by port cairo.
DEBUG: Executing variant macosx provides macosx
DEBUG: Searching for dependency: cairo
DEBUG: Found Dependency: receipt exists for cairo
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/scons
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/scons
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python25-1.0.tcl
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port scons.
DEBUG: Requested variant i386 is not provided by port scons.
DEBUG: Requested variant macosx is not provided by port scons.
DEBUG: Searching for dependency: scons
DEBUG: Found Dependency: receipt exists for scons
DEBUG: Executing org.macports.main (oregano)
---> Fetching oregano
DEBUG: Executing org.macports.fetch (oregano)
---> oregano-0.69.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/oregano
DEBUG: Pinging gforge.lug.fi.uba.ar...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: Pinging aarnet.au.distfiles.macports.org...
DEBUG: gforge.lug.fi.uba.ar ping time is 222.223
DEBUG: distfiles.macports.org ping time is 82.002
DEBUG: arn.se.distfiles.macports.org ping time is 124.528
DEBUG: aarnet.au.distfiles.macports.org ping time is 246.872
---> Attempting to fetch oregano-0.69.0.tar.gz from http://distfiles.macports.org/oregano
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 625k 100 625k 0 0 154k 0 0:00:04 0:00:04 --:--:-- 161k
---> Verifying checksum(s) for oregano
DEBUG: Executing org.macports.checksum (oregano)
---> Checksumming oregano-0.69.0.tar.gz
DEBUG: Correct (md5) checksum for oregano-0.69.0.tar.gz
DEBUG: Correct (sha1) checksum for oregano-0.69.0.tar.gz
DEBUG: Correct (rmd160) checksum for oregano-0.69.0.tar.gz
---> Extracting oregano
DEBUG: Executing org.macports.extract (oregano)
---> Extracting oregano-0.69.0.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/oregano/oregano-0.69.0.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work" && gzip -dc /opt/local/var/macports/distfiles/oregano/oregano-0.69.0.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (oregano)
---> Configuring oregano
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (oregano)
---> Building oregano
DEBUG: Executing org.macports.build (oregano)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0" && scons PREFIX=/opt/local'
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 10, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 11, in <module>
scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 13, in <module>
scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 14, in <module>
scons: warning: The env.SourceSignatures() method is deprecated;
convert your build to use the env.Decider() method instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 42, in <module>
Checking for pkg gtk+-2.0 >= 2.10.0 ... (cached) yes
Checking for pkg libglade-2.0 >= 2.5.0 ... (cached) yes
Checking for pkg libgnomeui-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg libxml-2.0 >= 2.6.0 ... (cached) yes
Checking for pkg libgnomecanvas-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg gtksourceview-1.0 >= 1.0 ... (cached) yes
Checking for pkg cairo >= 1.2.0 ... (cached) yes
/bin/sh: pkg-config: command not found
OSError: 'pkg-config --cflags --libs gtk+-2.0' exited 127:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 94:
CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 1447:
return function(self, self.backtick(command))
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 585:
raise OSError("'%s' exited %d" % (command, status))
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0" && scons PREFIX=/opt/local " returned error 2
Command output: scons: warning: The Options class is deprecated; use the Variables class instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 10, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 11, in <module>
scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 13, in <module>
scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 14, in <module>
scons: warning: The env.SourceSignatures() method is deprecated;
convert your build to use the env.Decider() method instead.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 42, in <module>
Checking for pkg gtk+-2.0 >= 2.10.0 ... (cached) yes
Checking for pkg libglade-2.0 >= 2.5.0 ... (cached) yes
Checking for pkg libgnomeui-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg libxml-2.0 >= 2.6.0 ... (cached) yes
Checking for pkg libgnomecanvas-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg gtksourceview-1.0 >= 1.0 ... (cached) yes
Checking for pkg cairo >= 1.2.0 ... (cached) yes
/bin/sh: pkg-config: command not found
OSError: 'pkg-config --cflags --libs gtk+-2.0' exited 127:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 94:
CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 1447:
return function(self, self.backtick(command))
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 585:
raise OSError("'%s' exited %d" % (command, status))
Warning: the following items did not execute (for oregano): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
Change History
comment:2 in reply to: ↑ description Changed 4 years ago by tom.foutz@…
I get the same error, even after updating everything:
Checking for pkg cairo >= 1.2.0 ... (cached) yes
/bin/sh: pkg-config: command not found OSError: 'pkg-config --cflags --libs gtk+-2.0' exited 127:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 94:
CEnv.ParseConfig ('pkg-config --cflags --libs '+deplib?);
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 1447:
return function(self, self.backtick(command))
File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 585:
raise OSError("'%s' exited %d" % (command, status))
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9) invoked from within
"$procedure $targetname" Warning: the following items did not execute (for oregano): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
comment:3 Changed 3 years ago by ltclifton@…
- Status changed from closed to reopened
- Resolution fixed deleted
Same error.
I have pkg-config installed.
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 42, in <module>
Checking for pkg gtk+-2.0 >= 2.10.0 ... (cached) yes
Checking for pkg libglade-2.0 >= 2.5.0 ... (cached) yes
Checking for pkg libgnomeui-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg libxml-2.0 >= 2.6.0 ... (cached) yes
Checking for pkg libgnomecanvas-2.0 >= 2.12.0 ... (cached) yes
Checking for pkg gtksourceview-1.0 >= 1.0 ... (cached) yes
Checking for pkg cairo >= 1.2.0 ... (cached) yes
/bin/sh: pkg-config: command not found
OSError: 'pkg-config --cflags --libs gtk+-2.0' exited 127:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0/SConstruct", line 94:
CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-1.3.0/SCons/Environment.py", line 1477:
return function(self, self.backtick(command))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-1.3.0/SCons/Environment.py", line 596:
raise OSError("'%s' exited %d" % (command, status))
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/work/oregano-0.69.0" && scons -j4 PREFIX=/opt/local " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for oregano): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for oregano is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_oregano/main.log
Error: Status 1 encountered during processing.


Should be fixed by r55553.