Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 18:55:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 210499] www/chromium: Failed to build chromium-51.0.2704.103 on FreeBSD 11-CURRENT
Message-ID:  <bug-210499-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210499

            Bug ID: 210499
           Summary: www/chromium: Failed to build chromium-51.0.2704.103
                    on FreeBSD 11-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: iron@mail.ua
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Hello,

I tried to build chromium-51.0.2704.103 on FreeBSD 11-CURRENT r302140M and =
got
error:

c++ -MMD -MF obj/device/usb/device_usb.usb_context.o.d
-DV8_DEPRECATION_WARNINGS -DCLD_VERSION=3D2 -D_FILE_OFFSET_BITS=3D64 -DNO_T=
CMALLOC
-DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=3D264915-1
-DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=3D1 -DUSE_PANGO=3D1 -DUSE_CAIRO=
=3D1
-DUSE_DEFAULT_RENDER_THEME=3D1 -DUSE_LIBJPEG_TURBO=3D1 -DUSE_X11=3D1
-DUSE_CLIPBOARD_AURAX11=3D1 -DENABLE_WEBRTC=3D1 -DENABLE_MEDIA_ROUTER=3D1
-DUSE_PROPRIETARY_CODECS -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=3D1
-DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=3D1 -DENABLE_EXTENSIONS=
=3D1
-DENABLE_PDF=3D1 -DENABLE_PLUGINS=3D1 -DENABLE_SESSION_SERVICE=3D1 -DENABLE=
_THEMES=3D1
-DENABLE_AUTOFILL_DIALOG=3D1 -DENABLE_PRINTING=3D1 -DENABLE_BASIC_PRINTING=
=3D1
-DENABLE_PRINT_PREVIEW=3D1 -DENABLE_SPELLCHECK=3D1
-DENABLE_CAPTIVE_PORTAL_DETECTION=3D1 -DENABLE_APP_LIST=3D1 -DENABLE_SETTIN=
GS_APP=3D1
-DENABLE_SUPERVISED_USERS=3D1 -DENABLE_MDNS=3D1 -DENABLE_SERVICE_DISCOVERY=
=3D1
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DUSE_LIBPCI=3D1 -DUSE_OPENSSL=3D1 -DUSE_GLIB=3D1 -DUSE_NSS_CERTS=3D1
-DUSE_NSS_VERIFIER=3D1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DND=
EBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -D_FORTIFY_SOURCE=3D2
-Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target
-Igen/shim_headers/libevent/target -Igen -I../.. -fstack-protector
--param=3Dssp-buffer-size=3D4  -pthread -fno-strict-aliasing -Wall -Wextra
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=3Dhidden=
 -pipe
-fPIC -fcolor-diagnostics -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-shift-negative-value
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread -m64 -march=3Dx86-64 -O2 -fno-ident -fdata-se=
ctions
-ffunction-sections -funwind-tables -O3 -pipe -march=3Dnative
-isystem/usr/local/include -I/usr/local/include/atk-1.0
-Wno-unknown-warning-option -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=3D1
-fstack-protector -fno-strict-aliasing -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -std=3Dgnu++11  -c
../../device/usb/usb_context.cc -o obj/device/usb/device_usb.usb_context.o
In file included from ../../device/usb/usb_context.cc:13:
/usr/include/libusb.h:279:48: error: typedef redefinition with different ty=
pes
('struct libusb_hotplug_callback_handle *' vs 'libusb_hotplug_callback_hand=
le')
typedef struct libusb_hotplug_callback_handle *libusb_hotplug_callback_hand=
le;
                                               ^
/usr/include/libusb.h:257:8: note: previous definition is here
struct libusb_hotplug_callback_handle;
       ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

I guess the possible reason is in recent changes in libusb.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210499-28929>