Opened 9 years ago
Closed 3 years ago
#12640 closed Bug Report - General (Trac EOL)
mythplugins/configure fails to find cdio/cdda.h
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 29.2 |
Component: | Plugin - MythMusic | Version: | 0.27.6 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I haven't attempted to build mythplugins for a couple of years. All the pre-reqs are installed. However, mythplugins reports
... libcdio support will not be included in MythMusic
config.ep includes:
check_lib cdio/cdio.h cdio_open -lcdio check_header cdio/cdio.h check_cpp BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c 1 #include <cdio/cdio.h> 2 int x; END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c /usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -E -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c check_func cdio_open -lcdio check_ld -lcdio check_cc BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c 1 extern int cdio_open(); 2 int main(void){ cdio_open(); } END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c /usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -c -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c /usr/bin/clang -Wl,-dynamic,-search_paths_first -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.RJcXchI4 /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o -lcdio -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -lxml2 -lcrypto -lass -lfftw3_threads -lfftw3f -lfftw3 -lmp3lame -lm -liconv -L/opt/local/lib -lfreetype -lx264 -lmp3lame -lfaac -lm -lbz2 -lz check_lib cdio/cdda.h cdio_cddap_open -lcdio_cdda check_header cdio/cdda.h check_cpp BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c 1 #include <cdio/cdda.h> 2 int x; END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c /usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -E -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c:1:10: fatal error: 'cdio/cdda.h' file not found #include <cdio/cdda.h> ^ 1 error generated.
I think configure should be using pkg-config. On this system pkg-config reports:
$ pkg-config --libs libcdio libcdio++ libcdio_paranoia -L/opt/local/lib -lcdio++ -lcdio -lm -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -Wl,-framework,DiskArbitration -lcdio_paranoia -lcdio_cdda -lcdio -lm -liconv -Wl,-rpath,/opt/local/lib -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -Wl,-framework,DiskArbitration
Attaching config.ep
Attachments (2)
Change History (12)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Component: | MythTV - configure script → Plugin - MythMusic |
---|---|
Owner: | changed from JYA to paulh |
Status: | new → assigned |
As requested, changed component to MythMusic and owner to paulh.
comment:3 Changed 8 years ago by
I've also seen the same issue on 0.28 on Gentoo. I've created a patch which solves the issue for me, and allows both locations of cdio.h and paranoia.h. Please find attached to this ticket.
comment:4 Changed 8 years ago by
Milestone: | unknown → 29.0 |
---|
comment:5 Changed 8 years ago by
Wondering if we can't just use pkg-config to add the proper include path?
What does running pkg-config --cflags libcdio_paranoia give you.
comment:6 Changed 8 years ago by
Yup, looks like that should work fine.
$ pkg-config --cflags libcdio_paranoia -I/opt/local/include
comment:7 Changed 7 years ago by
Milestone: | 29.0 → 29.1 |
---|
comment:8 Changed 7 years ago by
Milestone: | 29.1 → 0.28.2 |
---|
Moving remaining open tickets to 0.28.2 milestone
comment:9 Changed 7 years ago by
Milestone: | 0.28.2 → 29.2 |
---|
Moving remaining open tickets to 29.2 milestone
comment:10 Changed 3 years ago by
Resolution: | → Trac EOL |
---|---|
Status: | assigned → closed |
We have moved all bug tracking to github [1]
If you continue to have this issue, please open a new issue at github, referencing this ticket.
This is still a problem with MythTV 0.28. I can upload new samples but the code is the same as 0.27.
This is really a MythMusic issue; could the owner and component be changed to more appropriate values?