Opened 13 years ago

Closed 12 years ago

#33770 closed defect (fixed)

jshon buid failed

Reported by: sutra (Sutra Zhou) Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: jshon

Description

version:1
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main epoch: in tree: 0 installed: 0
:debug:main jansson 2.2.1_0 exists in the ports tree
:debug:main jansson 2.2.1_0  is the latest installed
:debug:main jansson 2.2.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/jansson
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! jansson 2.2.1_0 >= jansson 2.2.1_0
:msg:main --->  Computing dependencies for jshon:info:main .:debug:main Searching for dependency: git-core
:debug:main Didn't find receipt, going to depspec regex for: git-core
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main Searching for dependency: jansson
:debug:main Found Dependency: receipt exists for jansson
:msg:main 
:debug:main Executing org.macports.main (jshon)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (jshon)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Mar 26 18:04:32 CST 2012
:notice:build --->  Building jshon
:debug:build Executing org.macports.build (jshon)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64"'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222'
:info:build /usr/bin/clang -arch x86_64 -o jshon jshon.o -ljansson
:info:build ld: library not found for -ljansson
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [jshon] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for jshon): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for jshon is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/main.log

Change History (3)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to singingwolfboy@…

This log is incomplete. (It contains lines that say "Skipping completed".) Please "sudo port clean jshon" and try again, then attach (not paste) the new log to this ticket.

comment:2 Changed 13 years ago by sutra (Sutra Zhou)

version:1
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main epoch: in tree: 0 installed: 0
:debug:main jansson 2.2.1_0 exists in the ports tree
:debug:main jansson 2.2.1_0  is the latest installed
:debug:main jansson 2.2.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/jansson
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! jansson 2.2.1_0 >= jansson 2.2.1_0
:msg:main --->  Computing dependencies for jshon:info:main .:debug:main Searching for dependency: git-core
:debug:main Didn't find receipt, going to depspec regex for: git-core
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main Found Dependency: path: /usr/bin filename: git regex: ^git$
:debug:main Searching for dependency: jansson
:debug:main Found Dependency: receipt exists for jansson
:msg:main 
:debug:main Executing org.macports.main (jshon)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Mon Mar 26 18:30:44 CST 2012
:msg:archivefetch --->  Fetching archive for jshon
:debug:archivefetch Executing org.macports.archivefetch (jshon)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/software/jshon to macports
:debug:archivefetch euid/egid changed to: 502/501
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  jshon-20111222_1.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/jshon
:msg:archivefetch --->  Attempting to fetch jshon-20111222_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/jshon
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Mar 26 18:30:45 CST 2012
:notice:fetch --->  Fetching jshon
:debug:fetch euid/egid changed to: 0/0
:debug:fetch chowned /opt/local/var/macports/distfiles/jshon to macports
:debug:fetch euid/egid changed to: 502/501
:debug:fetch Executing org.macports.fetch (jshon)
:debug:fetch Executing: /usr/bin/git clone -q https://github.com/keenerd/jshon.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222 2>&1
:debug:fetch Executing GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222/.git GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222 /usr/bin/git checkout -q 471a3bd08e 2>&1
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Mar 26 18:30:53 CST 2012
:notice:checksum --->  Verifying checksum(s) for jshon
:debug:checksum Executing org.macports.checksum (jshon)
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Mar 26 18:30:53 CST 2012
:notice:extract --->  Extracting jshon
:debug:extract Executing org.macports.extract (jshon)
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Mar 26 18:30:53 CST 2012
:debug:patch Executing org.macports.patch (jshon)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Mar 26 18:30:53 CST 2012
:notice:configure --->  Configuring jshon
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (jshon)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Mar 26 18:30:53 CST 2012
:notice:build --->  Building jshon
:debug:build Executing org.macports.build (jshon)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64"'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222'
:info:build /usr/bin/clang -arch x86_64 -c -std=c99 -Wall -pedantic -Wextra -Werror jshon.c
:info:build /usr/bin/clang -arch x86_64 -o jshon jshon.o -ljansson
:info:build ld: library not found for -ljansson
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [jshon] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/work/jshon-20111222" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for jshon): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for jshon is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_jshon/jshon/main.log

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Probably fixed by r91748

Note: See TracTickets for help on using tickets.