Opened 4 years ago

Closed 4 years ago

#62221 closed defect (fixed)

dvdbackup @0.4.2: error: no member named 'file' in 'ifo_handle_t'

Reported by: wilya7 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: dvdbackup

Description

ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G8012
Xcode 10.2.1
Build version 10E1001

relevant log:

:info:build /opt/local/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
:info:build #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
:info:build                                                 ^
:info:build /opt/local/include/dvdread/ifo_types.h:719:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
:info:build } ATTRIBUTE_PACKED vts_tmapt_t;
:info:build   ^
:info:build /opt/local/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
:info:build #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
:info:build                                                 ^
:info:build dvdbackup.c:172:22: warning: unused parameter 'title_set_info' [-Wunused-parameter]
:info:build                 title_set_info_t * title_set_info, titles_info_t * titles_info,
:info:build                                    ^
:info:build dvdbackup.c:1212:31: error: no member named 'file' in 'ifo_handle_t'
:info:build         size = DVDFileSize(ifo_file->file) * DVD_VIDEO_LB_LEN;
:info:build                            ~~~~~~~~  ^
:info:build dvdbackup.c:1223:24: error: no member named 'file' in 'ifo_handle_t'
:info:build         DVDFileSeek(ifo_file->file, 0);
:info:build                     ~~~~~~~~  ^
:info:build dvdbackup.c:1225:29: error: no member named 'file' in 'ifo_handle_t'
:info:build         if (DVDReadBytes(ifo_file->file,buffer,size) != size) {
:info:build                          ~~~~~~~~  ^
:info:build 39 warnings and 3 errors generated.
:info:build make[2]: *** [dvdbackup.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/main.Tpo .deps/main.Po
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_dvdbackup/dvdbackup/work/dvdbackup-0.4.2/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_tarballs_ports_multimedia_dvdbackup/dvdbackup/work/dvdbackup-0.4.2'
: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_tarballs_ports_multimedia_dvdbackup/dvdbackup/work/dvdbackup-0.4.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_dvdbackup/dvdbackup/work/dvdbackup-0.4.2" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build Failed to build dvdbackup: command execution failed
:debug:build Error code: CHILDSTATUS 3848 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_dvdbackup/dvdbackup/main.log for details.

Attachments (1)

log.txt (34.0 KB) - added by wilya7 4 years ago.
dvdbackup/main.log

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by wilya7

Attachment: log.txt added

dvdbackup/main.log

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

Summary: dvdbackup @0.4.2 Failed to build dvdbackup: command execution faileddvdbackup @0.4.2: error: no member named 'file' in 'ifo_handle_t'

This port has no MacPorts maintainer. We already have the latest version of dvdbackup in MacPorts. You may want to report the problem to the developers of dvdbackup so that they can fix it.

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

We were able to build dvdbackup on 10.15 and earlier on our build machines one year ago. Maybe something changed with the file /opt/local/include/dvdread/ifo_types.h since then. It is provided by the port libdvdread, and I see that libdvdread was updated to 6.1.1 last week. Perhaps this version of dvdbackup is not compatible with this new version of libdvdread.

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

We do see the same problem when trying to build the port now on macOS 11 arm64, so the problem is not unique to your system.

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

In fact it has already been reported to the developers and there is a patch there that is said to work.

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In dcb83a11bb8ef17668e9de650960ef1b15a6e468/macports-ports (master):

dvdbackup: Fix build with libdvdread 6.1.0+

Increase revision to rebuild with libdvdread 6.1.0.

Closes: #62221

Note: See TracTickets for help on using tickets.