Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39306 closed defect (fixed)

virtuoso @6.1.6_2 build failure when xnu-headers is installed

Reported by: mopihopi Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: mfeiri, cooljeanius (Eric Gallager)
Port: virtuoso

Description

virtuoso build failure encountered during upgrade outdated.

Mac OS X 10.6.8
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
Xcode 3.2.6
--->  Computing dependencies for virtuoso
--->  Fetching archive for virtuoso
--->  Attempting to fetch virtuoso-6.1.6_2.darwin_10.x86_64.tbz2 from http://packages.macports.org/virtuoso
--->  Attempting to fetch virtuoso-6.1.6_2.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/virtuoso
--->  Attempting to fetch virtuoso-6.1.6_2.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/virtuoso
--->  Fetching distfiles for virtuoso
--->  Verifying checksum(s) for virtuoso
--->  Extracting virtuoso
--->  Configuring virtuoso
Some antivirus software can cause the virtuoso build to hang indefinitely. If you have any antivirus software installed, please disable it while building virtuoso; it can be re-enabled after virtuoso has been installed.
--->  Building virtuoso
Error: org.macports.build for port virtuoso returned: command execution failed
Please see the log file for port virtuoso for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
:info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -I/opt/local/include -fno-strict-aliasing -O2 -Wall -DNDEBUG -DPOINTER_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-6.1.6/libsrc/Xml.new -DOPENSSL_NO_KRB5 -D_GNU_SOURCE -DGLOBALREF=extern -D_USRDLL -I../../libsrc -I../../libsrc/Dk -I../../libsrc/zlib -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new -I../../libsrc/Wi -I../../libsrc/odbcsdk/include -pipe -O2 -arch x86_64 -MT libplugin_la-export_gate_virtuoso.lo -MD -MP -MF .deps/libplugin_la-export_gate_virtuoso.Tpo -c export_gate_virtuoso.c  -fno-common -DPIC -o .libs/libplugin_la-export_gate_virtuoso.o
:info:build In file included from ../Tidy/html.h:55,
:info:build                  from export_gate_virtuoso.c:46:
:info:build ../Tidy/platform.h:128: error: redefinition of typedef 'uint'
:info:build /opt/local/include/sys/types.h:92: error: previous declaration of 'uint' was here
:info:build make[3]: *** [libplugin_la-export_gate_virtuoso.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-6.1.6/libsrc/plugin'
:info:build make[2]: *** [all] Error 2

Attachments (1)

main.log (831.7 KB) - added by mopihopi 11 years ago.
virtuoso/main.log

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by mopihopi

Attachment: main.log added

virtuoso/main.log

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

It looks like the /opt/local/include/sys/types.h file comes from the xnu-headers port:

eric-gallagers-macbook-pro:~ root# port provides /opt/local/include/sys/types.h
/opt/local/include/sys/types.h is provided by: xnu-headers

Try deactivating that, then try cleaning and building again and see if it works this time.

comment:2 Changed 11 years ago by mopihopi

Thanks, that worked! I'm not sure why xnu-headers was installed.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mfeiri@… added; snc removed
Owner: changed from macports-tickets@… to snc@…
Summary: virtuoso @6.1.6_2 build failure on OS X 10.6.8virtuoso @6.1.6_2 build failure when xnu-headers is installed

The Cc field requires complete email addresses.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed

Using 10.8.4, I installed xhu-headers and was unable to replicate the build failure in virtuoso @6.1.7_0.

comment:6 Changed 11 years ago by mopihopi

Using Mac OS X 10.6.8 with xnu-headers @1504.15.3_0, virtuoso @6.1.7_0 fails to build, with the same error. After "port deactivate xnu-headers", the build is successful.

comment:7 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: closedreopened

Ah, I see: xnu-headers @1504.15.3_0 is the newest version available for 10.6.8.

http://opensource.apple.com/release/mac-os-x-1068/

I'll give that a whirl today.

comment:8 Changed 11 years ago by nerdling (Jeremy Lavergne)

mopihopi: Have you upgraded to version 7 of virtuoso? Does it still have issues for you on 10.6?

comment:9 in reply to:  8 Changed 11 years ago by mopihopi

snc: Using Mac OS X 10.6.8 with xnu-headers @1504.15.3_0, virtuoso @7.0.0_1 still fails to build. It is successful if xnu-headers is deactivated.

:info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -I/opt/local/include -fno-strict-aliasing -O2 -Wall -DNDEBUG -DPOINTER_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-7.0.0/libsrc/Xml.new -DOPENSSL_NO_KRB5 -I../../libsrc -I../../libsrc/Dk -pipe -Os -arch x86_64 -MT libtidy_la-config.lo -MD -MP -MF .deps/libtidy_la-config.Tpo -c config.c  -fno-common -DPIC -o .libs/libtidy_la-config.o
:info:build In file included from ../../libsrc/Dk/Dksystem.h:48,
:info:build                  from ../../libsrc/Dk.h:40,
:info:build                  from platform.h:166,
:info:build                  from clean.c:90:
:info:build /opt/local/include/sys/types.h:92: error: redefinition of typedef 'uint'
:info:build platform.h:128: error: previous declaration of 'uint' was here
:info:build In file included from ../../libsrc/Dk/Dksystem.h:48,
:info:build                  from ../../libsrc/Dk.h:40,
:info:build                  from platform.h:166,
:info:build                  from config.c:65:
:info:build /opt/local/include/sys/types.h:92: error: redefinition of typedef 'uint'
:info:build platform.h:128: error: previous declaration of 'uint' was here
:info:build In file included from ../../libsrc/Dk/Dksystem.h:48,
:info:build                  from ../../libsrc/Dk.h:40,
:info:build                  from platform.h:166,
:info:build                  from attrs.c:51:
:info:build /opt/local/include/sys/types.h:92: error: redefinition of typedef 'uint'
:info:build platform.h:128: error: previous declaration of 'uint' was here
:info:build In file included from ../../libsrc/Dk/Dksystem.h:48,
:info:build                  from ../../libsrc/Dk.h:40,
:info:build                  from platform.h:166,
:info:build                  from entities.c:52:
:info:build /opt/local/include/sys/types.h:92: error: redefinition of typedef 'uint'
:info:build platform.h:128: error: previous declaration of 'uint' was here
:info:build make[2]: *** [libtidy_la-entities.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [libtidy_la-clean.lo] Error 1
:info:build make[2]: *** [libtidy_la-config.lo] Error 1
:info:build make[2]: *** [libtidy_la-attrs.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-7.0.0/libsrc/Tidy'
: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_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-7.0.0/libsrc'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-7.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_virtuoso/virtuoso/work/virtuoso-opensource-7.0.0" && /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build org.macports.build for port virtuoso returned: command execution failed

comment:10 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: reopenedclosed

Alrighty, thanks. I'm adding error messages to direct the user to temporarily deactivate xnu-headers if they are installed. r114356.

Last edited 11 years ago by nerdling (Jeremy Lavergne) (previous) (diff)
Note: See TracTickets for help on using tickets.