Opened 10 years ago

Closed 10 years ago

#41461 closed defect (fixed)

libdvdnav @4.2.0: upgrading from previous version fails

Reported by: mkae (Marko Käning) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MaurizioLoreti
Port: libdvdnav

Description

:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDVDNAV_COMPILE -I/opt/local/include -I../../src -I/opt/local/include -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_66
4 -MT vmcmd.lo -MD -MP -MF .deps/vmcmd.Tpo -c vmcmd.c  -fno-common -DPIC -o .libs/vmcmd.o
:info:build In file included from vmcmd.c:33:
:info:build /opt/local/include/dvdnav/dvdnav.h:317:50: error: unknown type name 'DVDMenuID_t'
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build /opt/local/include/dvdnav/dvdnav.h:446:1: error: unknown type name 'pci_t'
:info:build pci_t* dvdnav_get_current_nav_pci(dvdnav_t *self);
:info:build ^
:info:build /opt/local/include/dvdnav/dvdnav.h:455:1: error: unknown type name 'dsi_t'
:info:build dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *self);
:info:build ^
:info:build /opt/local/include/dvdnav/dvdnav.h:460:43: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_get_highlight_area(pci_t *nav_pci , int32_t button, int32_t mode,
:info:build                                           ^
:info:build /opt/local/include/dvdnav/dvdnav.h:461:8: error: unknown type name 'dvdnav_highlight_area_t'
:info:build                                           dvdnav_highlight_area_t *highlight);
:info:build                                           ^
:info:build /opt/local/include/dvdnav/dvdnav.h:466:60: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self, pci_t *pci);
:info:build                                                            ^
:info:build /opt/local/include/dvdnav/dvdnav.h:467:60: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self, pci_t *pci);
:info:build                                                            ^
:info:build /opt/local/include/dvdnav/dvdnav.h:468:60: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self, pci_t *pci);
:info:build                                                            ^
:info:build /opt/local/include/dvdnav/dvdnav.h:469:59: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self, pci_t *pci);
:info:build                                                           ^
:info:build /opt/local/include/dvdnav/dvdnav.h:474:56: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_button_activate(dvdnav_t *self, pci_t *pci);
:info:build                                                        ^
:info:build /opt/local/include/dvdnav/dvdnav.h:479:54: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_button_select(dvdnav_t *self, pci_t *pci, int32_t button);
:info:build                                                      ^
:info:build /opt/local/include/dvdnav/dvdnav.h:484:67: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, pci_t *pci, int32_t button);
:info:build                                                                   ^
:info:build /opt/local/include/dvdnav/dvdnav.h:489:76: error: unknown type name 'vm_cmd_t'
:info:build dvdnav_status_t dvdnav_button_activate_cmd(dvdnav_t *self, int32_t button, vm_cmd_t *cmd);
:info:build                                                                            ^
:info:build /opt/local/include/dvdnav/dvdnav.h:494:53: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, pci_t *pci, int32_t x, int32_t y);
:info:build                                                     ^
:info:build /opt/local/include/dvdnav/dvdnav.h:499:55: error: unknown type name 'pci_t'
:info:build dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, pci_t *pci, int32_t x, int32_t y);
:info:build                                                       ^
:info:build /opt/local/include/dvdnav/dvdnav.h:595:74: error: unknown type name 'audio_attr_t'
:info:build dvdnav_status_t dvdnav_get_audio_attr(dvdnav_t *self, uint8_t audio_mum, audio_attr_t *audio_attr);
:info:build                                                                          ^
:info:build /opt/local/include/dvdnav/dvdnav.h:606:72: error: unknown type name 'subp_attr_t'
:info:build dvdnav_status_t dvdnav_get_spu_attr(dvdnav_t *self, uint8_t audio_mum, subp_attr_t *subp_attr);
:info:build                                                                        ^
:info:build /opt/local/include/dvdnav/dvdnav.h:623:1: error: unknown type name 'user_ops_t'
:info:build user_ops_t dvdnav_get_restrictions(dvdnav_t *self);
:info:build ^
:info:build In file included from decoder.c:36:
:info:build /opt/local/include/dvdnav/dvdnav.h:317:50: error: unknown type name 'DVDMenuID_t'
:info:build In file included from vm.c:43:
:info:build /opt/local/include/dvdnav/dvdnav.h:317:50: error: unknown type name 'DVDMenuID_t'
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build In file included from vmcmd.c:38:
:info:build ./vm.h:147:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid);
:info:build                            ^
:info:build /opt/local/include/dvdnav/dvdnav.h:461:8: error: unknown type name 'dvdnav_highlight_area_t'
:info:build                                           dvdnav_highlight_area_t *highlight);
:info:build                                           ^
:info:build /opt/local/include/dvdnav/dvdnav.h:461:8: error: unknown type name 'dvdnav_highlight_area_t'
:info:build                                           dvdnav_highlight_area_t *highlight);
:info:build                                           ^
:info:build In file included from decoder.c:39:
:info:build ./vm.h:147:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid);
:info:build                            ^
:info:build In file included from vm.c:47:
:info:build ./vm.h:147:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid);
:info:build                            ^
:info:build vm.c:183:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
:info:build             if((data[i] == 0)) break;
:info:build                 ~~~~~~~~^~~~
:info:build vm.c:183:25: note: remove extraneous parentheses around the comparison to silence this warning
.
.
.

Attachments (1)

main.log.gz (5.0 KB) - added by mkae (Marko Käning) 10 years ago.
Full log with parallel build disabled

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by MaurizioLoreti

Cc: Maurizio.Loreti@… added

Cc Me!

comment:2 Changed 10 years ago by notinmyhead@…

I don't see the error. I'm reporting it here:

notice:build --->  Building libdvdnav
:debug:build Executing org.macports.build (libdvdnav)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0'
:info:build Making all in src
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0/src'
:info:build Making all in vm
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0/src/vm'
:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../..  -DDVDNAV_COMPILE  -I/opt/local/include -I../../src -I/opt/local/include  -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_64 -MT decoder.lo -MD -MP -MF .deps/decoder.Tpo -c -o decoder.lo decoder.c
:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../..  -DDVDNAV_COMPILE  -I/opt/local/include -I../../src -I/opt/local/include  -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_64 -MT vm.lo -MD -MP -MF .deps/vm.Tpo -c -o vm.lo vm.c
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDVDNAV_COMPILE -I/opt/local/include -I../../src -I/opt/local/include -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_64 -MT vm.lo -MD -MP -MF .deps/vm.Tpo -c vm.c  -fno-common -DPIC -o .libs/vm.o
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDVDNAV_COMPILE -I/opt/local/include -I../../src -I/opt/local/include -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_64 -MT decoder.lo -MD -MP -MF .deps/decoder.Tpo -c decoder.c  -fno-common -DPIC -o .libs/decoder.o
:info:build In file included from decoder.c:36:
:info:build /opt/local/include/dvdnav/dvdnav.h:317:50: error: unknown type name 'DVDMenuID_t'
:info:build In file included from vm.c:43:
:info:build /opt/local/include/dvdnav/dvdnav.h:317:50: error: unknown type name 'DVDMenuID_t'
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build /opt/local/include/dvdnav/dvdnav.h:461:8: error: unknown type name 'dvdnav_highlight_area_t'
:info:build                                           dvdnav_highlight_area_t *highlight);
:info:build                                           ^
:info:build /opt/local/include/dvdnav/dvdnav.h:461:8: error: unknown type name 'dvdnav_highlight_area_t'
:info:build                                           dvdnav_highlight_area_t *highlight);
:info:build                                           ^
:info:build In file included from decoder.c:39:
:info:build ./vm.h:147:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid);
:info:build                            ^
:info:build In file included from vm.c:47:
:info:build ./vm.h:147:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid);
:info:build                            ^
:info:build vm.c:183:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
:info:build             if((data[i] == 0)) break;
:info:build                 ~~~~~~~~^~~~
:info:build vm.c:183:25: note: remove extraneous parentheses around the comparison to silence this warning
:info:build             if((data[i] == 0)) break;
:info:build                ~        ^   ~
:info:build vm.c:183:25: note: use '=' to turn this equality comparison into an assignment
:info:build             if((data[i] == 0)) break;
:info:build                         ^~
:info:build                         =
:info:build vm.c:194:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
:info:build             if((data[i] == 0)) break;
:info:build                 ~~~~~~~~^~~~
:info:build vm.c:194:25: note: remove extraneous parentheses around the comparison to silence this warning
:info:build             if((data[i] == 0)) break;
:info:build                ~        ^   ~
:info:build vm.c:194:25: note: use '=' to turn this equality comparison into an assignment
:info:build             if((data[i] == 0)) break;
:info:build                         ^~
:info:build                         =
:info:build vm.c:205:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
:info:build             if((data[i] == 0)) break;
:info:build                 ~~~~~~~~^~~~
:info:build vm.c:205:25: note: remove extraneous parentheses around the comparison to silence this warning
:info:build             if((data[i] == 0)) break;
:info:build                ~        ^   ~
:info:build vm.c:205:25: note: use '=' to turn this equality comparison into an assignment
:info:build             if((data[i] == 0)) break;
:info:build                         ^~
:info:build                         =
:info:build 3 errors generated.
:info:build vm.c:600:28: error: unknown type name 'DVDMenuID_t'
:info:build int vm_jump_menu(vm_t *vm, DVDMenuID_t menuid) {
:info:build                            ^
:info:build make[3]: *** [decoder.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build 3 warnings and 4 errors generated.
:info:build make[3]: *** [vm.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_libdvdnav/libdvdnav/work/libdvdnav-4.2.0/src/vm'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0/src'
: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_libdvdnav/libdvdnav/work/libdvdnav-4.2.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdvdnav/libdvdnav/work/libdvdnav-4.2.0" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port libdvdnav returned: command execution failed
:debug:build Error code: CHILDSTATUS 17596 2

Last edited 10 years ago by notinmyhead@… (previous) (diff)

comment:3 Changed 10 years ago by MaurizioLoreti

I hato to insert a "me too" message - but I too I am not able to build libdvdnav. The error log is very similar to the one reported, and the first error in the log is:

:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../.
. -DDVDNAV_COMPILE -I/opt/local/include -I../../src -I/opt/local/include -O3 -Wa
ll -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pipe -Os -arch x86_64 -MT decod
er.lo -MD -MP -MF .deps/decoder.Tpo -c decoder.c  -fno-common -DPIC -o .libs/dec
oder.o
:info:build In file included from vmcmd.c:33In file included from decoder.c:36:
:info:build :
:info:build /opt/local/include/dvdnav/dvdnav.h/opt/local/include/dvdnav/dvdnav.h:317:50:: 317error: :unknown type name 'DVDMenuID_t'50
:info:build : error: unknown type name 'DVDMenuID_t'
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
:info:build                                                  ^
:info:build /opt/local/include/dvdnav/dvdnav.h:446:1: error: unknown type name 'pci_t'
:info:build pci_t* dvdnav_get_current_nav_pci(dvdnav_t *self);
:info:build ^
:info:build /opt/local/include/dvdnav/dvdnav.h:455:1: error: unknown type name 'dsi_t'

10.9 Mavericks, gcc MacPorts 4.8.2_0.

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Builds fine for me. Will one of you please attach a complete clean main.log file showing the problem? Please disable parallel building to make comparing our logs easier:

sudo port clean libdvdnav
sudo port install libdvdnav build.jobs=1

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Keywords: mavericks removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: libdvdnav @ 4.2.0: fails to build on 10.9libdvdnav @4.2.0: upgrading from previous version fails

Actually, I guess the problem is upgrading from a previous version...

Changed 10 years ago by mkae (Marko Käning)

Attachment: main.log.gz added

Full log with parallel build disabled

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

Ok, I can see the problem now. I wasn't seeing it before because I am using the patch in #40656.

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.