Opened 12 years ago

Last modified 10 years ago

#36165 new defect

lprof: fatal error: 'xspect.h' file not found

Reported by: samagnew@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: malcolm@…
Port: lprof

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

Cannot install lprof. Did port update outdated. Did clean. Seems to die here as far as I can tell:

:info:build Building C object src/lcms/CMakeFiles/lcmslocal.dir/src/cmsmatsh.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lp
rof/src/lcms && /usr/bin/gcc-4.2  -DQT3_SUPPORT -DQT_3SUPPORT_LIB -DQT_ASSISTANT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_L
IB -DQT_CORE_LIB -DNON_WINDOWS -DUSE_FLOAT -DLPROF_ERROR_TRAP -DUNIX -DQT_NO_DEBUG -pipe -O2 -arch x86_64  -O3 -DNDEBUG -mmacosx-version-m
in=10.6 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof/s
rc/lcms -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof/s
rc/lcms/include    -o CMakeFiles/lcmslocal.dir/src/cmsmatsh.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.mac
ports.org_release_ports_graphics_lprof/lprof/work/lprof/src/lcms/src/cmsmatsh.c
:info:build Scanning dependencies of target argyll
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gra
phics_lprof/lprof/work/lprof'
:info:build /usr/bin/make -f src/argyll/CMakeFiles/argyll.dir/build.make src/argyll/CMakeFiles/argyll.dir/build
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_
lprof/lprof/work/lprof/src/liblprof/cmslm.c:31:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:55:20: error: xspect.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:56:23: error: insttypes.h: No such file or directory
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_
lprof/lprof/work/lprof/src/liblprof/cmshull.c:33:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:55:20: error: xspect.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:56:23: error: insttypes.h: No such file or directory
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_
lprof/lprof/work/lprof/src/liblprof/cmslm.c:31:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:461: error: expected specifier-qualifier-list before ‘instType’
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_
lprof/lprof/work/lprof/src/liblprof/cmshull.c:33:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof
/src/liblprof/lcmsprf.h:461: error: expected specifier-qualifier-list before ‘instType’
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gr
aphics_lprof/lprof/work/lprof'
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org
_release_ports_graphics_lprof/lprof/work/lprof/CMakeFiles 
:info:build make[2]: *** [src/liblprof/CMakeFiles/liblprof.dir/cmslm.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....

...............


:info:build /usr/bin/ranlib: file: libargyll.a(cgatsstd.o) has no symbols
:info:build /usr/bin/ranlib: file: libargyll.a(parsstd.o) has no symbols
:info:build /usr/bin/ranlib: file: libargyll.a(iccstd.o) has no symbols
:info:build /usr/bin/ranlib libargyll.a
:info:build /usr/bin/ranlib: file: libargyll.a(cgatsstd.o) has no symbols
:info:build /usr/bin/ranlib: file: libargyll.a(parsstd.o) has no symbols
:info:build /usr/bin/ranlib: file: libargyll.a(iccstd.o) has no symbols
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof'
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof/CMakeFiles  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
:info:build [ 47%] Built target argyll
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof'
: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_ports_graphics_lprof/lprof/work/lprof'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/work/lprof" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port lprof returned: command execution failed
:debug:build Error code: CHILDSTATUS 29810 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 lprof: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port lprof for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lprof/lprof/main.log

Attachments (2)

main.log (265.7 KB) - added by samagnew@… 12 years ago.
main.log for failed lprof install
main.2.log (244.1 KB) - added by samagnew@… 12 years ago.
main.log from the attempt to install on a different Mac running Lion

Download all attachments as: .zip

Change History (8)

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

Description: modified (diff)
Keywords: lprof install defect removed

Please remember to use WikiFormatting when writing in Trac.

Could you please attach the main.log file so we can see everything that happened?

Changed 12 years ago by samagnew@…

Attachment: main.log added

main.log for failed lprof install

comment:2 Changed 12 years ago by samagnew@…

I've attached the main.log from the failed install. I initially had a problem with upgrade outdated getting stuck on perl5.8. I discovered the solution was to seperately port upgrade perl5.8. After that port upgrade outdated worked fine. However, lprof still won't build.

Thanks!

Sam

comment:3 Changed 12 years ago by samagnew@…

Just to add to this report. I installed MacPorts on a Lion machine at work. I ran into exactly the same error at the same place attempting to build lprof on that machine so the error is not specific to Lion or Snow Leopard or my machine.

Sam

Changed 12 years ago by samagnew@…

Attachment: main.2.log added

main.log from the attempt to install on a different Mac running Lion

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

Summary: lprof fails to build on Snow Leopardlprof: fatal error: 'xspect.h' file not found

And I can confirm the same on Mountain Lion.

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

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: malcolm@… added

Has duplicate #45389.

Note: See TracTickets for help on using tickets.