pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40489: multimedia/ogle fails to build with libdvdread-4.1.3



>Number:         40489
>Category:       pkg
>Synopsis:       multimedia/ogle fails to build with libdvdread-4.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 23:20:00 +0000 2009
>Originator:     RM
>Release:        
>Organization:
>Environment:
NetBSD p3smp 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Sat Jan 24 06:56:51 PST 
2009  
builds@wb31:/home/builds/ab/netbsd-5/i386/200901240002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
Looks like libdvdread-4.1.3 changed the API of some of the functions. 
multimedia/ogle links against libdvdread and fails to build with the following 
errors:

cc -fomit-frame-pointer -funroll-loops -O2 
-I/opt/pkg.obj/multimedia/ogle/work.p3smp/.buildlink/include 
-I/opt/pkg.obj/multimedia/ogle/work.p3smp/.x11-buildlink/include -Wall -O2 
-Wall -march=i586 -march=pentiumpro -Wl,-R/opt/pkg/lib -Wl,-R/usr/X11R7/lib -o 
ifo_dump ifo_dump.o vmcmd.o  
-L/opt/pkg.obj/multimedia/ogle/work.p3smp/.buildlink/lib 
-L/opt/pkg.obj/multimedia/ogle/work.p3smp/.x11-buildlink/lib 
/opt/pkg.obj/multimedia/ogle/work.p3smp/.buildlink/lib/libdvdread.so   
-Wl,--rpath -Wl,/opt/pkg.obj/multimedia/ogle/work.p3smp/.buildlink/lib 
-Wl,--rpath -Wl,/opt/pkg.obj/multimedia/ogle/work.p3smp/.buildlink/lib 
-Wl,--rpath -Wl,/opt/pkg/lib
ifo_dump.o: In function `main':
ifo_dump.c:(.text+0xcb): undefined reference to `ifoPrint_VMGI_MAT'
ifo_dump.c:(.text+0xe2): undefined reference to `ifoPrint_PGC'
ifo_dump.c:(.text+0x105): undefined reference to `ifoPrint_TT_SRPT'
ifo_dump.c:(.text+0x139): undefined reference to `ifoPrint_PGCI_UT'
ifo_dump.c:(.text+0x16d): undefined reference to `ifoPrint_PTL_MAIT'
ifo_dump.c:(.text+0x190): undefined reference to `ifoPrint_VTS_ATRT'
ifo_dump.c:(.text+0x1f9): undefined reference to `ifoPrint_C_ADT'
ifo_dump.c:(.text+0x22d): undefined reference to `ifoPrint_VOBU_ADMAP'
ifo_dump.c:(.text+0x24f): undefined reference to `ifoPrint_VTSI_MAT'
ifo_dump.c:(.text+0x272): undefined reference to `ifoPrint_VTS_PTT_SRPT'
ifo_dump.c:(.text+0x295): undefined reference to `ifoPrint_PGCIT'
ifo_dump.c:(.text+0x2c9): undefined reference to `ifoPrint_PGCI_UT'
ifo_dump.c:(.text+0x2fd): undefined reference to `ifoPrint_VTS_TMAPT'
ifo_dump.c:(.text+0x331): undefined reference to `ifoPrint_C_ADT'
ifo_dump.c:(.text+0x361): undefined reference to `ifoPrint_VOBU_ADMAP'
ifo_dump.c:(.text+0x384): undefined reference to `ifoPrint_C_ADT'
ifo_dump.c:(.text+0x3a7): undefined reference to `ifoPrint_VOBU_ADMAP'
gmake[1]: *** [ifo_dump] Error 1
gmake[1]: Leaving directory 
`/opt/pkg.obj/multimedia/ogle/work.p3smp/ogle-0.9.2/vmg'
gmake: *** [all-recursive] Error 1
*** Error code 2


>How-To-Repeat:

>Fix:
--- vmg/ifo_dump.c.orig 2009-01-25 20:49:00.000000000 +0000
+++ vmg/ifo_dump.c      2009-01-25 20:49:24.000000000 +0000
@@ -65,38 +65,38 @@
   if(h->vmgi_mat != NULL) {
     
     printf("VMG top level\n-------------\n");
-    ifoPrint_VMGI_MAT(h->vmgi_mat);
+    ifo_print_VMGI_MAT(h->vmgi_mat);
       
     printf("\nFirst Play PGC\n--------------\n");
-    ifoPrint_PGC(h->first_play_pgc);
+    ifo_print_PGC(h->first_play_pgc);
       
     printf("\nTitle Track search pointer table\n");
     printf(  "------------------------------------------------\n");
-    ifoPrint_TT_SRPT(h->tt_srpt);
+    ifo_print_TT_SRPT(h->tt_srpt);
       
     printf("\nMenu PGCI Unit table\n");
     printf(  "--------------------\n");
     if(h->vmgi_mat->vmgm_pgci_ut != 0) {
-      ifoPrint_PGCI_UT(h->pgci_ut);
+      ifo_print_PGCI_UT(h->pgci_ut);
     } else 
       printf("No Menu PGCI Unit table present\n");
       
     printf("\nParental Manegment Information table\n");
     printf(  "------------------------------------\n");
     if(h->vmgi_mat->ptl_mait != 0) {
-      ifoPrint_PTL_MAIT(h->ptl_mait);
+      ifo_print_PTL_MAIT(h->ptl_mait);
     } else
       printf("No Parental Management Information present\n");
       
     printf("\nVideo Title Set Attribute Table\n");
     printf(  "-------------------------------\n");
-    ifoPrint_VTS_ATRT(h->vts_atrt);
+    ifo_print_VTS_ATRT(h->vts_atrt);
 
       
     printf("\nText Data Manager Information\n");
     printf(  "-----------------------------\n");
     if(h->vmgi_mat->txtdt_mgi != 0) {
-      //ifoPrint_TXTDT_MGI(h->txtdt_mgi);
+      //ifo_print_TXTDT_MGI(h->txtdt_mgi);
       printf("Can't print Text Data Manager Information yet\n");
     } else
       printf("No Text Data Manager Information present\n");
@@ -106,14 +106,14 @@
       printf("\nCell Address table\n");
       printf(  "-----------------\n");
       if(h->vmgi_mat->vmgm_c_adt != 0) {
-       ifoPrint_C_ADT(h->menu_c_adt);
+       ifo_print_C_ADT(h->menu_c_adt);
       } else
        printf("No Cell Address table present\n");
       
       printf("\nVideo Title set Menu VOBU address map\n");
       printf(  "-----------------\n");
       if(h->vmgi_mat->vmgm_vobu_admap != 0) {
-       ifoPrint_VOBU_ADMAP(h->menu_vobu_admap);
+       ifo_print_VOBU_ADMAP(h->menu_vobu_admap);
       } else
        printf("No Menu VOBU address map present\n");
     }
@@ -122,20 +122,20 @@
   if(h->vtsi_mat != NULL) {
       
     printf("VTS top level\n-------------\n");
-    ifoPrint_VTSI_MAT(h->vtsi_mat);
+    ifo_print_VTSI_MAT(h->vtsi_mat);
       
     printf("\nPart of title search pointer table information\n");
     printf(  "----------------------------------------------\n");
-    ifoPrint_VTS_PTT_SRPT(h->vts_ptt_srpt);
+    ifo_print_VTS_PTT_SRPT(h->vts_ptt_srpt);
        
     printf("\nPGCI Unit table\n");
     printf(  "--------------------\n");
-    ifoPrint_PGCIT(h->vts_pgcit);
+    ifo_print_PGCIT(h->vts_pgcit);
       
     printf("\nMenu PGCI Unit table\n");
     printf(  "--------------------\n");
     if(h->vtsi_mat->vtsm_pgci_ut != 0) {
-      ifoPrint_PGCI_UT(h->pgci_ut);
+      ifo_print_PGCI_UT(h->pgci_ut);
     } else
       printf("No Menu PGCI Unit table present\n");
       
@@ -144,31 +144,31 @@
       printf("\nTime Map table\n");
       printf(  "-----------------\n");
       if(h->vtsi_mat->vts_tmapt != 0) {
-       ifoPrint_VTS_TMAPT(h->vts_tmapt);
+       ifo_print_VTS_TMAPT(h->vts_tmapt);
       } else
        printf("No Time Map table present\n");
       
       printf("\nMenu Cell Address table\n");
       printf(  "-----------------\n");
       if(h->vtsi_mat->vtsm_c_adt != 0) {
-       ifoPrint_C_ADT(h->menu_c_adt);
+       ifo_print_C_ADT(h->menu_c_adt);
       } else
        printf("No Cell Address table present\n");
       
       printf("\nVideo Title Set Menu VOBU address map\n");
       printf(  "-----------------\n");
       if(h->vtsi_mat->vtsm_vobu_admap != 0) {
-       ifoPrint_VOBU_ADMAP(h->menu_vobu_admap);
+       ifo_print_VOBU_ADMAP(h->menu_vobu_admap);
       } else
        printf("No Menu VOBU address map present\n");
       
       printf("\nCell Address table\n");
       printf(  "-----------------\n");
-      ifoPrint_C_ADT(h->vts_c_adt);
+      ifo_print_C_ADT(h->vts_c_adt);
       
       printf("\nVideo Title Set VOBU address map\n");
       printf(  "-----------------\n");
-      ifoPrint_VOBU_ADMAP(h->vts_vobu_admap);
+      ifo_print_VOBU_ADMAP(h->vts_vobu_admap);
       
     }
   }



Home | Main Index | Thread Index | Old Index