Opened 9 years ago

Closed 9 years ago

#50491 closed defect (fixed)

vte @0.43.2_0 fails building on 10.6.8

Reported by: udbraumann Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: vte

Description

While upgrading vte from 0.43.0_0 to 0.43.2_0 I run into this error:

...
:info:build mv -f .deps/libvte_2_91_la-iso2022.Tpo .deps/libvte_2_91_la-iso2022.Plo
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"Vte\" -DVTE_API_VERSION=\"2.91\" -DDATADIR='"/opt/local/share"' -DLIBEXECDIR='"/opt/local/libexec"' -DLOCALEDIR='"/opt/local/share/locale"' -DGLIB_DISABLE_DEPRECATION_WARNINGS -DVTE_COMPILATION -I./vte -I./vte  -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include  -pipe -Os -arch x86_64 -stdlib=libstdc++ -std=gnu++11 -pipe -Wall -Wcast-align -Wendif-labels -Werror=declaration-after-statement -Werror=format=2 -Werror=format-nonliteral -Werror=format-security -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Wextra -Wfloat-equal -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-noreturn -Wno-missing-field-initializers -Wno-switch-enum -Wno-unused-parameter -Wno-packed -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wundef -Wuninitialized -Wwrite-strings -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fstack-protector -Wno-deprecated-declarations -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -arch x86_64 -stdlib=libstdc++ -MT libvte_2_91_la-vtegtk.lo -MD -MP -MF .deps/libvte_2_91_la-vtegtk.Tpo -c -o libvte_2_91_la-vtegtk.lo `test -f 'vtegtk.cc' || echo './'`vtegtk.cc
:info:build ring.cc:886:9: warning: unused variable 'paragraph_start_row' [-Wunused-variable]
:info:build                 gsize paragraph_start_row = old_row_index - 1;
:info:build                       ^
:info:build pty.cc:601:60: error: use of undeclared identifier 'O_CLOEXEC'
:info:build         fd = posix_openpt(O_RDWR | O_NOCTTY | O_NONBLOCK | O_CLOEXEC);
:info:build                                                            ^
:info:build pty.cc:608:55: error: use of undeclared identifier 'O_CLOEXEC'
:info:build                 fd = posix_openpt(O_RDWR | O_NOCTTY | O_CLOEXEC);
:info:build                                                       ^
:info:build 2 errors generated.
:info:build make[3]: *** [libvte_2_91_la-pty.lo] Error 1
...

Any ideas why this symbol is not known?

Attachments (1)

main.log.gz (8.7 KB) - added by udbraumann 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by udbraumann

Attachment: main.log.gz added

comment:1 in reply to:  description Changed 9 years ago by dbevans (David B. Evans)

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…
Status: newassigned
Version: 2.3.4

Replying to braumann@…:

While upgrading vte from 0.43.0_0 to 0.43.2_0 I run into this error:

...
:info:build mv -f .deps/libvte_2_91_la-iso2022.Tpo .deps/libvte_2_91_la-iso2022.Plo
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"Vte\" -DVTE_API_VERSION=\"2.91\" -DDATADIR='"/opt/local/share"' -DLIBEXECDIR='"/opt/local/libexec"' -DLOCALEDIR='"/opt/local/share/locale"' -DGLIB_DISABLE_DEPRECATION_WARNINGS -DVTE_COMPILATION -I./vte -I./vte  -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include  -pipe -Os -arch x86_64 -stdlib=libstdc++ -std=gnu++11 -pipe -Wall -Wcast-align -Wendif-labels -Werror=declaration-after-statement -Werror=format=2 -Werror=format-nonliteral -Werror=format-security -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Wextra -Wfloat-equal -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-noreturn -Wno-missing-field-initializers -Wno-switch-enum -Wno-unused-parameter -Wno-packed -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wundef -Wuninitialized -Wwrite-strings -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fstack-protector -Wno-deprecated-declarations -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -arch x86_64 -stdlib=libstdc++ -MT libvte_2_91_la-vtegtk.lo -MD -MP -MF .deps/libvte_2_91_la-vtegtk.Tpo -c -o libvte_2_91_la-vtegtk.lo `test -f 'vtegtk.cc' || echo './'`vtegtk.cc
:info:build ring.cc:886:9: warning: unused variable 'paragraph_start_row' [-Wunused-variable]
:info:build                 gsize paragraph_start_row = old_row_index - 1;
:info:build                       ^
:info:build pty.cc:601:60: error: use of undeclared identifier 'O_CLOEXEC'
:info:build         fd = posix_openpt(O_RDWR | O_NOCTTY | O_NONBLOCK | O_CLOEXEC);
:info:build                                                            ^
:info:build pty.cc:608:55: error: use of undeclared identifier 'O_CLOEXEC'
:info:build                 fd = posix_openpt(O_RDWR | O_NOCTTY | O_CLOEXEC);
:info:build                                                       ^
:info:build 2 errors generated.
:info:build make[3]: *** [libvte_2_91_la-pty.lo] Error 1
...

Any ideas why this symbol is not known?

This flag constant is not defined on 10.6. Will fix.

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Fix for this particular error committed in r145274 but fixing this just reveals another error having to do with a libstdc++ compatibility issue that effects 10.8 and earlier (#50492).

Note: See TracTickets for help on using tickets.