Opened 7 years ago

Closed 7 years ago

#41158 closed defect (invalid)

gd2: grep: /opt/local/lib/libX11.la: No such file or directory

Reported by: venkyne1984@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: slarew
Port: gd2

Description (last modified by ryandesign (Ryan Schmidt))

I am trying to install gnu radio on mavericks and I encounter the following error

dhcp-38-153:NuandSDRCode venkyne$ sudo port install gnuradio-devel +full +ctrlport
--->  Computing dependencies for gnuradio-devel
--->  Dependencies to be installed: graphviz gd2 gts netpbm jbigkit libLASi xorg-libXaw groff psutils gsl jack libsamplerate libsndfile flac libogg libvorbis libsdl xorg-libXrandr xorg-randrproto llvm-gcc42 log4cpp orc portaudio py27-numpy py27-nose nosetests_select py27-opengl py27-opengl-accelerate py27-pil py27-tkinter py27-scipy gcc48 swig-python gsed swig py27-zeroc-ice34 zeroc-ice34 mcpp qt4-mac libmng qwt52 qwtplot3d wxPython-3.0 wxWidgets_select xmlto coreutils findutils fop
--->  Building gd2
Error: org.macports.build for port gd2 returned: command execution failed
Error: Failed to install gd2
Please see the log file for port gd2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/gd2/main.log
Error: The following dependencies were not installed: graphviz gd2 gts netpbm jbigkit libLASi xorg-libXaw groff psutils gsl jack libsamplerate libsndfile flac libogg libvorbis libsdl xorg-libXrandr xorg-randrproto llvm-gcc42 log4cpp orc portaudio py27-numpy py27-nose nosetests_select py27-opengl py27-opengl-accelerate py27-pil py27-tkinter py27-scipy gcc48 swig-python gsed swig py27-zeroc-ice34 zeroc-ice34 mcpp qt4-mac libmng qwt52 qwtplot3d wxPython-3.0 wxWidgets_select xmlto coreutils findutils fop

When I checked the log file, it seems to be not finding libX11.1a

:info:build grep: /opt/local/lib/libX11.la: No such file or directory
:info:build sed: /opt/local/lib/libX11.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libX11.la' is not a valid libtool archive
:info:build make[2]: *** [libgd.la] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/gd2/work/libgd-2.1.0/src'
:info:build make[1]: *** [all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/gd2/work/libgd-2.1.0/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/gd2/work/libgd-2.1.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/gd2/work/libgd-2.1.0" && /usr/bin/make -j2 -w all
:info:build Exit code: 2
:error:build org.macports.build for port gd2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 32264 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

I have installed Xcode command line tools and also xorg-libX11. This is in Mavericks

Attachments (1)

logfile.txt (6.1 KB) - added by venkyne1984@… 7 years ago.
Log file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by michaelld (Michael Dickens)

Could you attach the full log file; that might help. I will start working on GNU Radio on 10.9 tomorrow (Monday, Nov 4), so I'm sure to encounter this too & will fix it if I can.

comment:2 Changed 7 years ago by slarew

Cc: stephen@… added

Cc Me!

Changed 7 years ago by venkyne1984@…

Attachment: logfile.txt added

Log file

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

Cc: venkyne@… removed
Description: modified (diff)
Keywords: mavericks added; gd2 gnuradio removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: gd2 added; gnuradio removed
Summary: "Error: Failed to install gd2" ---encountered while installing gnu radio on Mavericksgd2: grep: /opt/local/lib/libX11.la: No such file or directory

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

Resolution: invalid
Status: newclosed

MacPorts changed how it handles .la files when it installs ports in Mavericks. Therefore messages about missing .la files mean you did not build all your ports on Mavericks, i.e. you did not follow the migration instructions.

Note: See TracTickets for help on using tickets.