Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#19843 closed defect (fixed)

gst-plugins-base-0.10.23 build fails building cdparanoia plugin

Reported by: leho@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: cdparanoia Cc: nerdling (Jeremy Lavergne)
Port: gst-plugins-base

Description

--->  Fetching gst-plugins-base
--->  Attempting to fetch gst-plugins-base-0.10.23.tar.bz2 from ftp://ftp.no.gnome.org/pub/GNOME/sources/gst-plugins-base/0.10/
--->  Verifying checksum(s) for gst-plugins-base
--->  Extracting gst-plugins-base
--->  Configuring gst-plugins-base
--->  Building gst-plugins-base
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-plugins-base/work/gst-plugins-base-0.10.23" && make all " returned error 2
Command output:   CC    vs_4tap.o
  LINK  libgstvideoscale.la
Making all in volume
  CC    gstvolume.o
  LINK  libgstvolume.la
Making all in sys
Making all in ximage
  CC    ximagesink.o
  CC    ximage.o
  LINK  libgstximagesink.la
Making all in xvimage
  CC    xvimagesink.o
  LINK  libgstxvimagesink.la
Making all in ext
Making all in cdparanoia
  CC    gstcdparanoiasrc.o
/opt/local/include/cdda_interface.h:175: warning: 'strerror_tr' defined but not used
  LINK  libgstcdparanoia.la
Undefined symbols:
  "_cdda_identify_scsi", referenced from:
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
  "_cdda_identify", referenced from:
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libgstcdparanoia.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

googling "_gst_cd_paranoia_src_open" gives me nothing. reinstalling cdparanoia did not help.

Change History (13)

comment:1 Changed 15 years ago by leho@…

Cc: leho@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: leho@… removed
Port: gst-plugins-base added

What version of Xcode are you running? Please update to 3.1.2 if not. Then run the following:

sudo port clean gst-plugins-base
sudo port install gst-plugins-base

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Cleaning and changing Xcode versions is not going to help, these symbols are simply not present in the new version of cdparanoia.

comment:4 Changed 15 years ago by leho@…

jmr is right, i just did a Xcode 3.1.2 update before this. jmr, are you saying an older version of cdparanoia would do the trick?

comment:5 Changed 15 years ago by nodamage@…

An older version of cdparanonia worked for me. I used r43790 of /trunk/dports/audio/cdparanoia/Portfile (based on cdparanoia 0.9.8)

comment:6 in reply to:  5 Changed 15 years ago by leho@…

thanks nodamage, that did the trick indeed.

comment:7 Changed 15 years ago by keitho.lynch@…

I'm also seeing the same or similar problem on an Intel OS X 10.5.7 mac. I'm new to using MacPorts and am trying to install qt-x11 for use with bacula. During linkage the following is spewed out by the linker

....

Making all in ximage
Making all in xvimage
Making all in ext
Making all in cdparanoia
  LINK  libgstcdparanoia.la
Undefined symbols:
  "_cdda_identify_scsi", referenced from:
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
  "_cdda_identify", referenced from:
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
      _gst_cd_paranoia_src_open in libgstcdparanoia_la-gstcdparanoiasrc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libgstcdparanoia.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm new to using MacPorts but downloaded and tried to build version 0.9.8 of cdparanoia. However I'm now having problems building it due to my rusty c skills... too many years on the java train.. :)

any ideas for a quick fix?

comment:8 Changed 15 years ago by leho@…

look through guide.macports.org for instructions how to set up custom portfiles, then find the 0.9.8 portfile from the link above and put it in your custom portfiles. then port clean cdparanoia and install it again like regular. it should then use your custom 0.9.8 portfile for cdparanoia.

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

Keywords: cdparanoia added
Resolution: fixed
Status: newclosed

Committed changes in r52743 to disable cdparanoia plugin by default since it appears to not be compatible with the latest upgrade of cdparanoia. Use +cdparanoia variant to re-enable if you want to build a custom version as indicated above.

comment:10 Changed 15 years ago by dbevans (David B. Evans)

Summary: gst-plugins-base-0.10.23 build fail - OS X 10.5.4gst-plugins-base-0.10.23 build fails building cdparanoia plugin

comment:11 Changed 15 years ago by keitho.lynch@…

tried the following above but it didn't work and had to do the following to really clean and uninstall both versions 10.2 and 0.9.8 from the registry

port clean --all cdparanoia
port uninstall cdparanoia@10.2.0
port uninstall cdparanoia
port install dcparanoia

This seemed to remove and re-install version 0.9.8 fine however now during the making stage cdparanoia doesn't seem to be able to find the header files even though the headers are in

/opt/local/var/macports/software/cdparanoia/0.9.8_0/opt/local/include
Making all in xvimage
Making all in ext
Making all in cdparanoia
  CC    gstcdparanoiasrc.o
In file included from gstcdparanoiasrc.c:30:
gstcdparanoiasrc.h:34:30: error: cdda_interface.h: No such file or directory
gstcdparanoiasrc.h:35:29: error: cdda_paranoia.h: No such file or directory
In file included from gstcdparanoiasrc.c:30:
gstcdparanoiasrc.h:57: error: syntax error before 'cdrom_drive'
gstcdparanoiasrc.h:57: warning: no semicolon at end of struct or union
gstcdparanoiasrc.h:58: warning: type defaults to 'int' in declaration of 'p'
gstcdparanoiasrc.h:58: warning: data definition has no type or storage class

comment:12 Changed 15 years ago by keitho.lynch@…

I was eventually able to get rid of this error by cleaning, uninstalling and reinstalling gst-plugins-base. The error was being produced during the make of cdparanoia but the real problem was obviously coming from gst-plugins-base.

port clean gst-plugins-base
port uninstall gst-plugins-base
port install gst-plugins-base
port -dv install qt4-x11 qwt

comment:13 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

Note: See TracTickets for help on using tickets.