Opened 14 years ago

Closed 14 years ago

#25651 closed defect (fixed)

"sudo port install root" fails

Reported by: thomas.phillips@… Owned by: mattiafrancescomoro@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: root

Description (last modified by mf2k (Frank Schima))

--->  Building root[[BR]]
Error: Target org.macports.build returned: shell command failed[[BR]]
Log for root is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/main.log

log file is attached

Note: this is a fresh install of MacPorts on a fairly fresh install of Snow Leopard

Attachments (2)

main.log (948.9 KB) - added by thomas.phillips@… 14 years ago.
main.log (some lines removed to get size below 1MB)
main_j1.log (145.0 KB) - added by thomas.phillips@… 14 years ago.
log using make -j1

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by thomas.phillips@…

Attachment: main.log added

main.log (some lines removed to get size below 1MB)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

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

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

Key error -- looks like a library dependency isn't specified:

:info:build Compiling XrdSysTimer.cc
:info:build /usr/bin/g++-4.2 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_REENTRANT -D_GNU_SOURCE -Wall -D__macos__  -Wno-deprecated -undefined dynamic_lookup -multiply_defined suppress  -O2 -DXrdDEBUG=0 -DHAVE_STRLCPY   -DHAVE_LIBZ -I. -I.. XrdSysTimer.cc -o ../../obj/XrdSysTimer.o
:info:build g++ -O2 -m64 -o bin/root rootx/src/rootx.o rootx/src/rootxx.o -L/opt/local/lib -lXpm -L/opt/local/lib -lXext -lX11 -L/opt/local/lib -lXft
:info:build ld: library not found for -lXft
:info:build collect2: ld returned 1 exit status
:info:build make: *** [bin/root] Error 1

comment:3 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 14 years ago by mattiafrancescomoro@…

Could you please compile root using make -j1 and report the log?

Thank you in advance.

comment:5 Changed 14 years ago by nerdling (Jeremy Lavergne)

Xft isn't in the dependency chain for this port. It's likely the culprit.

Changed 14 years ago by thomas.phillips@…

Attachment: main_j1.log added

log using make -j1

comment:6 Changed 14 years ago by thomas.phillips@…

The attached file main_j1.log is the output from:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/work/root

sudo /usr/bin/make -j1 all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= &>~/Scratch/main_j1.log

comment:7 in reply to:  5 Changed 14 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Replying to snc@…:

Xft isn't in the dependency chain for this port. It's likely the culprit.

Confirmed and fixed in r69708.

Note: See TracTickets for help on using tickets.