Opened 13 years ago

Closed 12 years ago

#32865 closed defect (duplicate)

vxl build failed

Reported by: ozt@… Owned by: wiking@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: neverpanic (Clemens Lang)
Port: vxl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

% sudo port install vxl configure.compiler=llvm-gcc-4.2 configure.cxx=g++-apple-4.2
--->  Computing dependencies for vxl
--->  Fetching archive for vxl
--->  Attempting to fetch vxl-1.14.0_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/vxl
--->  Fetching vxl
--->  Verifying checksum(s) for vxl
--->  Extracting vxl
--->  Applying patches to vxl
--->  Configuring vxl
--->  Building vxl
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for vxl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/vxl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (6)

main.log (278.7 KB) - added by ozt@… 13 years ago.
main.log for vxl build
main.2.log (1.7 MB) - added by ozt@… 13 years ago.
main.log for vxl build (2nd try)
main.3.log (1.7 MB) - added by ozt@… 13 years ago.
main.log for vxl build (2nd try)
main.4.log (1.7 MB) - added by jfcaron3 13 years ago.
Build log from jfcaron
vidl_ffmpeg_istream_v2.txx (15.3 KB) - added by ozt@… 13 years ago.
vidl_ffmpeg_ostream_v3.txx (14.7 KB) - added by ozt@… 13 years ago.

Change History (16)

Changed 13 years ago by ozt@…

Attachment: main.log added

main.log for vxl build

comment:1 Changed 13 years ago by ozt@…

This patch for OpenCV is related but may not be applicable directly. https://code.ros.org/trac/opencv/attachment/ticket/1020/ffmpeg_build.patch

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: vxl ffmpeg removed
Owner: changed from macports-tickets@… to wiking@…
Port: vxl added

Please "sudo port clean" and try again, without "configure.compiler=llvm-gcc-4.2 configure.cxx=g++-apple-4.2" (it is strange to ask for the LLVM C compiler but the GCC C++ compiler -- why mix and match?). If it fails again, attach the new main.log.

comment:3 Changed 13 years ago by ozt@…

I cleaned and tried again. Same error.

% sudo port install vxl
--->  Computing dependencies for vxl
--->  Fetching archive for vxl
--->  Attempting to fetch vxl-1.14.0_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/vxl
--->  Fetching vxl
--->  Verifying checksum(s) for vxl
--->  Extracting vxl
--->  Applying patches to vxl
--->  Configuring vxl
--->  Building vxl
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for vxl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/vxl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Changed 13 years ago by ozt@…

Attachment: main.2.log added

main.log for vxl build (2nd try)

Changed 13 years ago by ozt@…

Attachment: main.3.log added

main.log for vxl build (2nd try)

comment:4 Changed 13 years ago by ozt@…

Correction. Not the same error.

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vnl/vnl_matrix_fixed_ref.h:656:12: error: use of undeclared identifier 'equal'
:info:build     return equal( this->data_block(), rhs.data_block() );

comment:5 Changed 13 years ago by ozt@…

In summary,

sudo port install vxl configure.compiler=llvm-gcc-4.2 configure.cxx=g++-apple-4.2  

or

sudo port install vxl configure.compiler=llvm-gcc-4.2  

or

sudo port install vxl configure.cxx=g++-apple-4.2

-> main.log

sudo port install vxl   (default compiler)                                                                         

-> main.2.log (ignore main.3.log : duplicate of main.2.log)

The first error (in main.log) may be resolved by applying the patch for the vxl latest developer build (1.14.0-14?). I found success report on Ubuntu but I don't know how to do it on MacPorts.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please remember to use WikiFormatting. I have corrected the formatting in your comments above.

Changed 13 years ago by jfcaron3

Attachment: main.4.log added

Build log from jfcaron

comment:7 Changed 13 years ago by jfcaron3

I added main.4.log, which is my failed build log with the same error message. This is a MacBook Pro with Mac OS 10.7.3, MacPorts 2.0.4. I issued the commands

sudo port clean vxl

then

sudo port install vxl

Changed 13 years ago by ozt@…

Attachment: vidl_ffmpeg_istream_v2.txx added

Changed 13 years ago by ozt@…

Attachment: vidl_ffmpeg_ostream_v3.txx added

comment:8 Changed 13 years ago by ozt@…

I am attaching two files to resolve compiler errors found in the first main.log. Replace the original in this location.

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/

Please use

sudo port install vxl configure.compiler=llvm-gcc-4.2 configure.cxx=g++-apple-4.2  

to build.

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

Cc: cal@… added

Did r94448 affect this at all?

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

Resolution: duplicate
Status: newclosed

Actually, comment:4 shows the same error as #34838, so it's a dupe.

Note: See TracTickets for help on using tickets.