Opened 7 years ago

Closed 7 years ago

#41920 closed defect (worksforme)

root @5.34.14_0+python27: build fails with "no such file or directory: 'misc/minicern/src/zebra.o' "

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


Darwin 13.0.0
OS X 10.9
2.66 GHz Intel Core 2 Duo
XCode 5.0.2 (5A3005)
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
gcc (MacPorts gcc48 4.8.2_0) 4.8.2

Build failure when attempting to install ROOT with python 2.7. Command exectued:

sudo port install root +python27

Here is the relevant portion of the log file:

:info:build /usr/bin/clang++ -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name /opt/local/lib/root/ -O2 -m64 -mmacosx-version-min=10.9 -stdlib=libc++ -o lib/libminicern.5.34\
.so misc/minicern/src/cernlib.o -ldl misc/minicern/src/hbook.o misc/minicern/src/kernlib.o misc/minicern/src/zebra.o /opt/local/lib/gcc48/gcc/x86_64-apple-darwin13/4.8.2/../../../libgfortran.dylib /opt/l\
ocal/lib/gcc48/gcc/x86_64-apple-darwin13/4.8.2/../../../libgfortran.a /opt/local/lib/gcc48/gcc/x86_64-apple-darwin13/4.8.2/libgfortranbegin.a -compatibility_version 5 -current_version 5.34.14
:info:build clang: error: no such file or directory: 'misc/minicern/src/zebra.o'
:info:build make: *** [lib/] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build /usr/bin/clang -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC  -mmmx  -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I../../../../graf2d/freetype/src/freetype-2.3.12/include    -c xcf.c \
-o xcf.o
:info:build /usr/bin/clang -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC  -mmmx  -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I../../../../graf2d/freetype/src/freetype-2.3.12/include    -c ximage\
.c -o ximage.o
:info:build /usr/bin/clang -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC  -mmmx  -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I../../../../graf2d/freetype/src/freetype-2.3.12/include    -c xpm.c \
-o xpm.o
:info:build /bin/rm -f libAfterImage.a
:info:build ar clq libAfterImage.a 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 asvi\
sual.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/libAfterImag\
: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 -j2 -w all
:info:build Exit code: 2
:error:build for port root returned: command execution failed
:debug:build Error code: CHILDSTATUS 72115 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.destroot org.macports.install
:notice:build Please see the log file for port root for details:

First time submitting a bug report... Please let me know if there's any more information I can give you to help!

Attachments (1)

main.log (2.5 MB) - added by josh.berger@… 7 years ago.
build log file

Change History (6)

comment:1 Changed 7 years ago by larryv (Lawrence Velázquez)

Cc: mattiafrancescomoro@… added
Keywords: mavericks removed
Owner: changed from macports-tickets@… to jonesc@…
Summary: root 5.34.14_0+python27 build failureroot @5.34.14_0+python27: build fails with "no such file or directory: 'misc/minicern/src/zebra.o' "

As per the MacPorts Guide, please run sudo port clean root, try the install again, and attach the entire main.log file if it fails. Being able to examine the entire log is usually helpful.

Last edited 7 years ago by larryv (Lawrence Velázquez) (previous) (diff)

Changed 7 years ago by josh.berger@…

Attachment: main.log added

build log file

comment:2 Changed 7 years ago by josh.berger@…

I've tried to do sudo port clean root. I've attached the full log file.

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

The main problem you have is

:info:build /opt/local/bin/gfortran-mp-4.8 -O2 -m64 -std=legacy -o misc/minicern/src/zebra.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/misc/minicern/src/zebra.f 2>&1 | sed -e s/arning:/arn-Ignore:/ >&2
:info:build f951: internal compiler error: Illegal instruction: 4
:info:build f951: internal compiler error: Abort trap: 6
:info:build gfortran-mp-4.8: internal compiler error: Abort trap: 6 (program f951)

So it looks like something is up with your gcc48 installation. I suspect this has nothing to do with python per se, its just enabling that variant triggered a build from source, instead of via the binary tarballs.

Try googling the error "f951: internal compiler error: Illegal instruction" - This will lead you to a few other macports tickets. e.g.

So this is a gcc issue.


Last edited 7 years ago by cjones051073 (Chris Jones) (previous) (diff)

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

Note I do not see this myself, nor on the build bots, so it is specific to your machine. Try some of the suggestions in the above ticket (i.e. reinstalling various ports).


Last edited 7 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

Please use the Macports Users mailing list if you continue to have issues.

Note: See TracTickets for help on using tickets.