[MacPorts] #27607: I broke something: Error: Target org.macports.build returned: shell command failed (see log for details)

MacPorts noreply at macports.org
Tue Dec 7 12:34:55 PST 2010


#27607: I broke something: Error: Target org.macports.build returned: shell command
failed (see log for details)
----------------------------------+-----------------------------------------
 Reporter:  rossinie@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------

Comment(by rossinie@…):

 If I want to reinstall "port install libtool" i get again:

 {{{
 --->  Computing dependencies for libtool
 --->  Dependencies to be installed: automake autoconf help2man gettext
 expat libiconv gperf ncurses ncursesw p5-locale-gettext perl5 perl5.8 m4
 --->  Building expat
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Error: Failed to install expat
 Log for expat is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log
 Error: The following dependencies were not installed: automake autoconf
 help2man gettext expat libiconv gperf ncurses ncursesw p5-locale-gettext
 perl5 perl5.8 m4
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 }}}

 Here main.log  [http://nopaste.info/e4bf32ae39.html]

 I just downloaded the newest Version of libtool . While "make"ing i get
 this:

 {{{
 rm -f libtoolize.tmp libtoolize
 set dummy `/bin/sh ./libltdl/config/mkstamp .`; shift; case 2.2.10 in
 *[acegikmoqsuwy]) TIMESTAMP=" $1 $2" ;; *) TIMESTAMP="" ;; esac; \
         input="libtoolize.m4sh"; \
         sed -e 's, at EGREP\@,/usr/bin/grep -E,g' -e
 's, at FGREP\@,/usr/bin/grep -F,g' -e 's, at GREP\@,/usr/bin/grep,g' -e
 's, at LN_S\@,ln -s,g' -e 's, at MACRO_VERSION\@,2.2.10,g' -e
 's, at PACKAGE\@,libtool,g' -e 's, at PACKAGE_BUGREPORT\@,bug-libtool at gnu.org,g'
 -e 's, at PACKAGE_NAME\@,libtool,g' -e 's, at PACKAGE_STRING\@,libtool 2.2.10,g'
 -e 's, at PACKAGE_TARNAME\@,libtool,g' -e 's, at PACKAGE_VERSION\@,2.2.10,g' -e
 's, at SED\@,/usr/bin/sed,g' -e 's, at VERSION\@,2.2.10,g' -e
 's, at aclocaldir\@,/usr/local/share/aclocal,g' -e
 's, at datadir\@,/usr/local/share,g' -e
 's, at pkgdatadir\@,/usr/local/share/libtool,g' -e 's, at host_triplet\@,x86_64
 -apple-darwin10.5.0,g' -e 's, at prefix\@,/usr/local,g' -e
 "s, at configure_input\@,Generated from $input.,g" -e
 "s, at TIMESTAMP\@,$TIMESTAMP,g" \
                 -e 's, at aclocal_DATA\@,m4/argz.m4 m4/libtool.m4 m4/ltdl.m4
 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4,g' \
                 -e "s, at pkgltdl_files\@,libltdl/COPYING.LIB libltdl/README
 libltdl/Makefile.inc libltdl/Makefile.am libltdl/configure.ac
 libltdl/aclocal.m4 libltdl/Makefile.in libltdl/config-h.in
 libltdl/configure libltdl/argz_.h libltdl/argz.c
 libltdl/loaders/dld_link.c libltdl/loaders/dlopen.c libltdl/loaders/dyld.c
 libltdl/loaders/load_add_on.c libltdl/loaders/loadlibrary.c
 libltdl/loaders/shl_load.c libltdl/lt__dirent.c libltdl/lt__strl.c
 libltdl/libltdl/lt__alloc.h libltdl/libltdl/lt__dirent.h
 libltdl/libltdl/lt__glibc.h libltdl/libltdl/lt__private.h
 libltdl/libltdl/lt__strl.h libltdl/libltdl/lt_dlloader.h
 libltdl/libltdl/lt_error.h libltdl/libltdl/lt_system.h
 libltdl/libltdl/slist.h libltdl/loaders/preopen.c libltdl/lt__alloc.c
 libltdl/lt_dlloader.c libltdl/lt_error.c libltdl/ltdl.c libltdl/ltdl.h
 libltdl/slist.c,g" \
                 -e "s, at pkgconfig_files\@,config/compile
 config/config.guess config/config.sub config/depcomp config/install-sh
 config/missing config/ltmain.sh,g" \
                 ./libtoolize.in > libtoolize.tmp
 chmod a+x libtoolize.tmp
 chmod a-w libtoolize.tmp
 mv -f libtoolize.tmp libtoolize
 make  all-recursive
 /bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -module -avoid-
 version  -o libltdl/dlopen.la  libltdl/loaders/dlopen.lo
 libtool: link: rm -fr  libltdl/.libs/dlopen.a
 libtool: link: ar cru libltdl/.libs/dlopen.a
 libltdl/loaders/.libs/dlopen.o
 ranlib: unrecognized option `-q'
 Try `ranlib --help' for more information.
 ar: internal ranlib command failed
 make[2]: *** [libltdl/dlopen.la] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 }}}

 Any Idea?

-- 
Ticket URL: <https://trac.macports.org/ticket/27607#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list