Opened 12 years ago

Closed 12 years ago

#35047 closed defect (worksforme)

xz @5.0.3 build failure on 10.5 i386

Reported by: sanihipa@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: xz

Description

I've attached a screenshot of the error output while the xz port is building. I've tried port clean -all xz and reinstall but the same error is given.

Here is the code of the main.log:

:info:build /bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99 -D_THREAD_SAFE  -fvisibility=hidden -Wall -Wextra -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -pipe -O2 -arch i386 -no-undefined -version-info 5:3:0  -L/opt/local/lib -arch i386 -o liblzma.la -rpath /opt/local/lib liblzma_la-tuklib_physmem.lo liblzma_la-common.lo liblzma_la-block_util.lo liblzma_la-easy_preset.lo liblzma_la-filter_common.lo liblzma_la-hardware_physmem.lo liblzma_la-index.lo liblzma_la-stream_flags_common.lo liblzma_la-vli_size.lo liblzma_la-alone_encoder.lo liblzma_la-block_buffer_encoder.lo liblzma_la-block_encoder.lo liblzma_la-block_header_encoder.lo liblzma_la-easy_buffer_encoder.lo liblzma_la-easy_encoder.lo liblzma_la-easy_encoder_memusage.lo liblzma_la-filter_buffer_encoder.lo liblzma_la-filter_encoder.lo liblzma_la-filter_flags_encoder.lo liblzma_la-index_encoder.lo liblzma_la-stream_buffer_encoder.lo liblzma_la-stream_encoder.lo liblzma_la-stream_flags_encoder.lo liblzma_la-vli_encoder.lo liblzma_la-alone_decoder.lo liblzma_la-auto_decoder.lo liblzma_la-block_buffer_decoder.lo liblzma_la-block_decoder.lo liblzma_la-block_header_decoder.lo liblzma_la-easy_decoder_memusage.lo liblzma_la-filter_buffer_decoder.lo liblzma_la-filter_decoder.lo liblzma_la-filter_flags_decoder.lo liblzma_la-index_decoder.lo liblzma_la-index_hash.lo liblzma_la-stream_buffer_decoder.lo liblzma_la-stream_decoder.lo liblzma_la-stream_flags_decoder.lo liblzma_la-vli_decoder.lo liblzma_la-check.lo  liblzma_la-crc32_table.lo  liblzma_la-crc32_fast.lo  liblzma_la-crc64_table.lo  liblzma_la-crc64_fast.lo liblzma_la-sha256.lo liblzma_la-lz_encoder.lo liblzma_la-lz_encoder_mf.lo liblzma_la-lz_decoder.lo  liblzma_la-lzma_encoder.lo liblzma_la-lzma_encoder_presets.lo liblzma_la-lzma_encoder_optimum_fast.lo liblzma_la-lzma_encoder_optimum_normal.lo liblzma_la-fastpos_table.lo liblzma_la-lzma_decoder.lo liblzma_la-lzma2_encoder.lo liblzma_la-lzma2_decoder.lo  liblzma_la-price_table.lo  liblzma_la-delta_common.lo liblzma_la-delta_encoder.lo liblzma_la-delta_decoder.lo liblzma_la-simple_coder.lo liblzma_la-simple_encoder.lo liblzma_la-simple_decoder.lo liblzma_la-x86.lo liblzma_la-powerpc.lo liblzma_la-ia64.lo liblzma_la-arm.lo liblzma_la-armthumb.lo liblzma_la-sparc.lo   
:info:build libtool: link: `liblzma_la-filter_flags_encoder.lo' is not a valid libtool object
:info:build make[4]: *** [liblzma.la] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3/src/liblzma'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3/src/liblzma'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/work/xz-5.0.3" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port xz returned: command execution failed
:debug:build Error code: CHILDSTATUS 39192 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 xz: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install xz
:debug:build could not read "/opt/local/share/man/man1/gsed.1.gz": no such file or directory
    while executing
"::file type $file"
:notice:build Please see the log file for port xz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_xz/xz/main.log

Attachments (2)

Screen shot 2012-06-30 at 3.40.09 PM.png (24.9 KB) - added by sanihipa@… 12 years ago.
xz build error
main.log (175.3 KB) - added by sanihipa@… 12 years ago.
Main log file

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by sanihipa@…

xz build error

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

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

Could you attach the main.log file, please?

comment:2 Changed 12 years ago by afb@…

Resolution: worksforme
Status: newclosed

Changed 12 years ago by sanihipa@…

Attachment: main.log added

Main log file

comment:3 in reply to:  1 Changed 12 years ago by sanihipa@…

Resolution: worksforme
Status: closedreopened

Replying to ryandesign@…:

Could you attach the main.log file, please?

Attached main.log file. Any ideas why it is not completing the build? I'm on a Leopard OSX server using xcode 3.1.4

comment:4 Changed 12 years ago by afb@…

No, I have no idea why your libtool crashes.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Summary: Unable to build xz port which is a dependent for multiple other portsxz @5.0.3 build failure on 10.5 i386

I can't reproduce with xz 5.0.4 on PPC Leopard (the reporter is on x86 of course).

comment:6 Changed 12 years ago by afb@…

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.