9.0 and cdparanoia

2011-10-21 Thread Christian Jachmann
Hello my friends.

Last two days I switched form 8 to 9 

following is bad:

===  Building for cdparanoia-3.9.8_9
cd interface  gmake all
gmake[1]: Entering directory 
`/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
gmake libcdda_interface.a CFLAGS=-O -O2 -pipe -fno-strict-aliasing 
gmake[2]: Entering directory 
`/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
cc -O -O2 -pipe -fno-strict-aliasing -c scsi_interface.c
scsi_interface.c: In function 'handle_scsi_cmd':
scsi_interface.c:370: error: 'struct scsi_sense_data' has no member named 
'flags'
scsi_interface.c:381: error: 'struct scsi_sense_data' has no member named 
'add_sense_code'
scsi_interface.c:382: error: 'struct scsi_sense_data' has no member named 
'add_sense_code_qual'
scsi_interface.c: In function 'scsi_read_map':
scsi_interface.c:967: error: 'struct scsi_sense_data' has no member named 
'flags'
scsi_interface.c:968: error: 'struct scsi_sense_data' has no member named 
'add_sense_code'
scsi_interface.c:969: error: 'struct scsi_sense_data' has no member named 
'add_sense_code_qual'
gmake[2]: *** [scsi_interface.o] Error 1
gmake[2]: Leaving directory 
`/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/audio/cdparanoia.



So you got any idea what to do ?
How to access CDDA ?


Thanks and best regards
Christian Jachmann
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0 and cdparanoia

2011-10-21 Thread Tim Nackos
My temporary solution was to use 'pkg_add -r cdparanoia' which worked. That's 
not a fix for the build error however.



On Oct 21, 2011, at 11:52 AM, Christian Jachmann ja...@unitix.org wrote:

 Hello my friends.
 
 Last two days I switched form 8 to 9 
 
 following is bad:
 
 ===  Building for cdparanoia-3.9.8_9
 cd interface  gmake all
 gmake[1]: Entering directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake libcdda_interface.a CFLAGS=-O -O2 -pipe -fno-strict-aliasing 
 gmake[2]: Entering directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 cc -O -O2 -pipe -fno-strict-aliasing -c scsi_interface.c
 scsi_interface.c: In function 'handle_scsi_cmd':
 scsi_interface.c:370: error: 'struct scsi_sense_data' has no member named 
 'flags'
 scsi_interface.c:381: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code'
 scsi_interface.c:382: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code_qual'
 scsi_interface.c: In function 'scsi_read_map':
 scsi_interface.c:967: error: 'struct scsi_sense_data' has no member named 
 'flags'
 scsi_interface.c:968: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code'
 scsi_interface.c:969: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code_qual'
 gmake[2]: *** [scsi_interface.o] Error 1
 gmake[2]: Leaving directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/audio/cdparanoia.
 
 
 
 So you got any idea what to do ?
 How to access CDDA ?
 
 
 Thanks and best regards
 Christian Jachmann
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0 and cdparanoia

2011-10-21 Thread Kevin Oberman
On Fri, Oct 21, 2011 at 11:56 AM, Tim Nackos nackp...@yahoo.com wrote:
 My temporary solution was to use 'pkg_add -r cdparanoia' which worked. That's 
 not a fix for the build error however.



 On Oct 21, 2011, at 11:52 AM, Christian Jachmann ja...@unitix.org wrote:

 Hello my friends.

 Last two days I switched form 8 to 9

 following is bad:

 ===  Building for cdparanoia-3.9.8_9
 cd interface  gmake all
 gmake[1]: Entering directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake libcdda_interface.a CFLAGS=-O -O2 -pipe -fno-strict-aliasing
 gmake[2]: Entering directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 cc -O -O2 -pipe -fno-strict-aliasing -c scsi_interface.c
 scsi_interface.c: In function 'handle_scsi_cmd':
 scsi_interface.c:370: error: 'struct scsi_sense_data' has no member named 
 'flags'
 scsi_interface.c:381: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code'
 scsi_interface.c:382: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code_qual'
 scsi_interface.c: In function 'scsi_read_map':
 scsi_interface.c:967: error: 'struct scsi_sense_data' has no member named 
 'flags'
 scsi_interface.c:968: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code'
 scsi_interface.c:969: error: 'struct scsi_sense_data' has no member named 
 'add_sense_code_qual'
 gmake[2]: *** [scsi_interface.o] Error 1
 gmake[2]: Leaving directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory 
 `/usr/ports/audio/cdparanoia/work/cdparanoia-III-alpha9.8/interface'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/audio/cdparanoia.



 So you got any idea what to do ?
 How to access CDDA ?



danfe is hoping to commit the current version of cdparanoia to ports
before the 9.0 freeze, but until then you can build it with the patch
in ports/161760. (Thanks to Ken Merry). It basically replaces the
scsi_interface.c with the current version.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0 and cdparanoia

2011-10-21 Thread Christian Jachmann
Fri, Oct 21, 2011 at 12:56:10PM -0600, Tim Nackos :
 My temporary solution was to use 'pkg_add -r cdparanoia' which worked. That's 
 not a fix for the build error however.
 

So, I do have problems using the binary ...see:

# cdparanoia -vsQ
cdparanoia III release 9.8 (March 23, 2001)

Checking /dev/cd0 for cdrom...
Could not open SCSI device: cam_lookup_pass: CAMGETPASSTHRU 
ioctl failed
cam_lookup_pass: Inappropriate ioctl for device: Inappropriate ioctl for device
CDROM sensed: Generic cooked ioctl CDROM

Verifying drive can read CDDA...

Unable to read any data; drive probably not CDDA capable.
006: Could not read any data from drive

Cdparanoia could not find a way to read audio from this drive.
# 

I do have pass in my kernel ... doesn't seem to work in 9

$cdcontrol info  works just fine

Thanks 
Christian Jachmann
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org