Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#42950 closed defect (invalid)

root: cannot open file "AvailabilityMacros.h"

Reported by: gh_tuhep@… Owned by: mattiafrancescomoro@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cjones051073 (Chris Jones)
Port: root

Description (last modified by ryandesign (Ryan Schmidt))

:info:build core/utils/src/rootcint_tmp -cint -f cint/cint/lib/dll_stl/rootcint_list.cxx -c list \
:info:build 	   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/core/metautils/src/listLinkdef.h
:info:build Error: cannot open file "AvailabilityMacros.h"  include/RConfig.h:376:
:info:build Error: cannot open file "AvailabilityMacros.h"  include/RConfig.h:376:
:info:build core/utils/src/rootcint_tmp -cint -f cint/cint/lib/dll_stl/rootcint_deque.cxx -c deque \
:info:build 	   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/core/metautils/src/dequeLinkdef.h
:info:build Error: cannot open file "AvailabilityMacros.h"  include/RConfig.h:376:
:info:build Warning: Error occurred during reading source files
:info:build Warning: Error occurred during dictionary source generation
:info:build !!!Removing cint/cint/lib/dll_stl/rootcint_vector.cxx cint/cint/lib/dll_stl/rootcint_vector.h !!!
:info:build Error: core/utils/src/rootcint_tmp: error loading headers...
:info:build make: *** [cint/cint/lib/dll_stl/rootcint_vector.cxx] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build Warning: Error occurred during reading source files
:info:build Warning: Error occurred during dictionary source generation
:info:build !!!Removing cint/cint/lib/dll_stl/rootcint_deque.cxx cint/cint/lib/dll_stl/rootcint_deque.h !!!
:info:build Error: core/utils/src/rootcint_tmp: error loading headers...
:info:build make: *** [cint/cint/lib/dll_stl/rootcint_deque.cxx] Error 1
:info:build Warning: Error occurred during reading source files
:info:build Warning: Error occurred during dictionary source generation
:info:build !!!Removing cint/cint/lib/dll_stl/rootcint_list.cxx cint/cint/lib/dll_stl/rootcint_list.h !!!
:info:build Error: core/utils/src/rootcint_tmp: error loading headers...
:info:build make: *** [cint/cint/lib/dll_stl/rootcint_list.cxx] Error 1
:info:build /bin/rm -f libAfterImage.a
:info:build ar clq libAfterImage.a libjpeg/jaricom.o libjpeg/jcarith.o libjpeg/jdarith.o libjpeg/jcapimin.o libjpeg/jcapistd.o libjpeg/jccoefct.o libjpeg/jccolor.o libjpeg/jcdctmgr.o libjpeg/jchuff.o libjpeg/jcinit.o libjpeg/jcmainct.o libjpeg/jcmarker.o libjpeg/jcmaster.o libjpeg/jcomapi.o libjpeg/jcparam.o libjpeg/jcphuff.o libjpeg/jcprepct.o libjpeg/jcsample.o libjpeg/jctrans.o libjpeg/jdapimin.o libjpeg/jdapistd.o libjpeg/jdatadst.o libjpeg/jdatasrc.o libjpeg/jdcoefct.o libjpeg/jdcolor.o libjpeg/jddctmgr.o libjpeg/jdhuff.o libjpeg/jdinput.o libjpeg/jdmainct.o libjpeg/jdmarker.o libjpeg/jdmaster.o libjpeg/jdmerge.o libjpeg/jdpostct.o libjpeg/jdsample.o libjpeg/jdtrans.o libjpeg/jerror.o libjpeg/jfdctflt.o libjpeg/jfdctfst.o libjpeg/jfdctint.o libjpeg/jidctflt.o libjpeg/jidctfst.o libjpeg/jidctint.o libjpeg/jquant1.o libjpeg/jquant2.o libjpeg/jutils.o libjpeg/jmemmgr.o libjpeg/jmemnobs.o libjpeg/transupp.o  libpng/png.o libpng/pngset.o libpng/pngget.o libpng/pngrutil.o libpng/pngtrans.o libpng/pngwutil.o libpng/pngread.o libpng/pngrio.o libpng/pngwio.o libpng/pngwrite.o libpng/pngrtran.o libpng/pngwtran.o libpng/pngmem.o libpng/pngerror.o libpng/pngpread.o libungif/dgif_lib.o libungif/egif_lib.o libungif/gifalloc.o libungif/gif_err.o libungif/gif_hash.o afterbase.o asimage.o ascmap.o asfont.o asimagexml.o asstorage.o asvisual.o blender.o bmp.o char2uni.o draw.o export.o imencdec.o import.o pixmap.o scanline.o transform.o ungif.o xcf.o ximage.o xpm.o
:info:build ranlib libAfterImage.a
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/graf2d/asimage/src/libAfterImage'
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port root returned: command execution failed
:debug:build Error code: CHILDSTATUS 92717 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 root: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port root for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/main.log

Attachments (1)

main.log (129.8 KB) - added by gh_tuhep@… 7 years ago.

Download all attachments as: .zip

Change History (7)

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

Cc: jonesc@… added
Description: modified (diff)
Keywords: ROOT CERN removed
Owner: changed from macports-tickets@… to mattiafrancescomoro@…
Port: root added
Priority: HighNormal
Summary: I get the following error when i was installing root cernroot: cannot open file "AvailabilityMacros.h"

Please attach the main.log file.

Have you installed the Xcode command line tools?

comment:2 Changed 7 years ago by cjones051073 (Chris Jones)

The OP almost certainly has not properly installed Xcode.

http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17190&start=75

Install Xcode, and then run

xcode-select --install

Chris

Changed 7 years ago by gh_tuhep@…

Attachment: main.log added

comment:3 Changed 7 years ago by gh_tuhep@…

Please find the attached log file. But i already have installed Xcode properly

comment:4 Changed 7 years ago by gh_tuhep@…

 sudo /opt/local/bin/port install root 
--->  Computing dependencies for root
--->  Building root
--->  Staging root into destroot
--->  Installing root @5.34.18_0+cocoa+gcc48+graphviz+gsl+minuit2+opengl+roofit+soversion+ssl+tmva+xml
--->  Activating root @5.34.18_0+cocoa+gcc48+graphviz+gsl+minuit2+opengl+roofit+soversion+ssl+tmva+xml
--->  Cleaning root
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

Is that means? It has been installed properly or not

Last edited 7 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:5 in reply to:  4 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed

Replying to gh_tuhep@…:

Is that means? It has been installed properly or not

Looks like it has.

comment:6 Changed 7 years ago by gh_tuhep@…

Thank you very much it works for me

Note: See TracTickets for help on using tickets.