Bug 198133 - graphics/opencv-core fails to build on powerpc64
Summary: graphics/opencv-core fails to build on powerpc64
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-03-01 16:22 UTC by Justin Hibbits
Modified: 2016-10-06 16:01 UTC (History)
2 users (show)

See Also:
vlad-fbsd: maintainer-feedback+


Attachments
poudriere failure log for graphics/opencv-core (36.83 KB, text/x-log)
2015-03-01 16:22 UTC, Justin Hibbits
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2015-03-01 16:22:34 UTC
Created attachment 153643 [details]
poudriere failure log for graphics/opencv-core

graphics/opencv-core throws a linker error:

cd /wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core && /usr/local/bin/g++48 -O2 -pipe -mcpu=970 -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -DNDEBUG -fPIC -I"/wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/dynamicuda/include" -I"/wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core" -I"/wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core/src" -I"/wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core/include" -isystem"/wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9" -isystem"/usr/local/include/eigen3" -isystem"/usr/include" -O2 -pipe -mcpu=970 -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -mtune=G5 -ffunction-sections -DCVAPI_EXPORTS -x c++-header -o /wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core/precomp.hpp.gch/opencv_core_Release.gch /wrkdirs/usr/ports/graphics/opencv-core/work/opencv-2.4.9/modules/core/precomp.hpp
/usr/lib/crt1.o:(.got+0x60): undefined reference to `main'
collect2: error: ld returned 1 exit status
*** Error code 1

Building on powerpc64.  I've attached the poudriere log.  The only difference from default is this is being built with lang/gcc instead of base.
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2016-09-19 22:54:53 UTC
Return to pool.
Comment 2 VK 2016-10-04 07:43:11 UTC
Justin, thanks for the report. Is this still an issue?
Comment 3 Justin Hibbits freebsd_committer freebsd_triage 2016-10-06 16:01:23 UTC
Looks like the update to 2.4.13 must've fixed it.  Just tested and it builds successfully.