Opened 12 years ago

Closed 12 years ago

#35518 closed defect (invalid)

kdelibs4: ignoring file /Library/Frameworks//libjasper.framework/libjasper, missing required architecture

Reported by: dave@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: sharky@…, michaelld (Michael Dickens)
Port: kdelibs4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I received the following error when trying to build a package (kate) that was dependent on kde4libs. During the build, the following error message was produced, and the build failed. I looked for the missing file, and confirmed that it does not exist in the default Apple TCL 8.5 framework directory. I then installed the macports TCL, which created the missing file in the /opt/local/lib/tcl/ directory.

Installing the macports TCL package did not resolve this issue.

MISSING FILE = /System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex MACPORT FILE = /opt/local/lib/tcl8.5/tclIndex

-- ERROR START

:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port kdelibs4 returned: command execution failed
:debug:build Error code: CHILDSTATUS 30687 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for kdelibs4: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install kdelibs4
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Please see the log file for port kdelibs4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/main.log

-- ERROR END
-- ENV BEGIN

DB2INSTANCE=db2mac
MANPATH=:/opt/local/share/man
IBM_DB_LIB=/opt/db2mac/sqllib/lib64
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/lk/6qbp50h90379h9p1y9zb20j00000gw/T/
Apple_PubSub_Socket_Render=/tmp/launch-VScijW/Render
TERM_PROGRAM_VERSION=303.2
TERM_SESSION_ID=474CED97-4266-44DC-A80B-4132C7E93E11
USER=dsanabri
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-SHQlwF/Listeners
__CF_USER_TEXT_ENCODING=0x1FC:0:2
Apple_Ubiquity_Message=/tmp/launch-sZy5Aq/Apple_Ubiquity_Message
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/opt/local/bin:/opt/local/sbin:/opt/db2mac/sqllib/bin:/opt/db2mac/sqllib/adm:/opt/db2mac/sqllib/misc
PWD=/Users/dsanabri
EDITOR=/usr/bin/pico
LANG=en_US.UTF-8
SHLVL=1
HOME=/Users/dsanabri
IBM_DB_INCLUDE=/opt/db2mac/sqllib/include
LOGNAME=dsanabri
CLASSPATH=/opt/db2mac/sqllib/java/db2java.zip:/opt/db2mac/sqllib/java/db2jcc.jar:/opt/db2mac/sqllib/java/sqlj.zip:/opt/db2mac/sqllib/function:/opt/db2mac/sqllib/java/db2jcc_license_cu.jar:.
ARCHFLAGS=-arch x86_64
DISPLAY=:0.0
_GOOGLE_GILD_RUNTIME_FRAMEWORK_ABSOLUTE_PATH_=/Library/Google/Frameworks/Gild.framework
SECURITYSESSIONID=186a5
_=/usr/bin/env

-- ENV END
-- SYSTEM INFO START

  System Version:	Mac OS X 10.7.4 (11E53)
  Kernel Version:	Darwin 11.4.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Computer Name:	Aragorn
  User Name:	David Sanabria (Work) (dsanabri)
  Secure Virtual Memory:	Enabled
  64-bit Kernel and Extensions:	No
  Time since boot:	5:35
  Model Name:	MacBook
  Model Identifier:	MacBook4,1
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	2.4 GHz
  Number of Processors:	1
  Total Number of Cores:	2
  L2 Cache:	3 MB
  Memory:	6 GB
  Bus Speed:	800 MHz
  Boot ROM Version:	MB41.00C1.B00
  SMC Version (system):	1.31f1

-- SYSTEM INFO END

Attachments (1)

kde4libs-install-main-20120803.log (469.6 KB) - added by dave@… 12 years ago.
Log file from build of kde4libs

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by dave@…

Log file from build of kde4libs

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

Cc: sharky@… michaelld@… added
Description: modified (diff)
Keywords: kde4libs kate tcl removed
Port: kdelibs4 added; kde4libs removed
Resolution: invalid
Status: newclosed
Summary: kde4libs build fails because tclindex file is missingkdelibs4: ignoring file /Library/Frameworks//libjasper.framework/libjasper, missing required architecture

No, that is not why it fails to build.

The problem is that you have a rogue copy of libjasper installed in /Library/Frameworks. From your log:

:info:build ld: warning: ignoring file /Library/Frameworks//libjasper.framework/libjasper, missing required architecture x86_64 in file /Library/Frameworks//libjasper.framework/libjasper (2 slices)

Please remove /Library/Frameworks/libjasper.framework, then clean kdelibs4 and try again.

Note: See TracTickets for help on using tickets.