[kde-freebsd] k3b-kde4 fails to build on Beta3

Robert traveling08 at cox.net
Tue Nov 8 15:22:06 UTC 2011


On Fri, 28 Oct 2011 00:59:07 -0200
Raphael Kubo da Costa <rakuco at freebsd.org> wrote:

> On Sunday 09 October 2011 08:22:02 Robert wrote:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand.cpp
> > :186:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand_bsd
> > .cpp: In member function 'int
> > K3b::Device::ScsiCommand::transport(K3b::Device::TransportDirection,
> > void*,
> > size_t)':
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand_bsd
> > .cpp:108: error: 'struct scsi_sense_data' has no member named
> > 'flags'
> 
> [snip]
> 
> I've fixed this upstream and in our area51 repository. If you're
> wiling to give it a try, copy [1] into your k3b-kde4/files directory
> in your ports tree.
> 
> If things work fine, I'll commit it to ports in a few days.
> 
> [1]
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/files/patch-libk3bdevice-k3bscsicommandbsd.cpp
> _______________________________________________

Raphael,

This past weekend I did a source upgrade to:
[robert at 9vaio] ~> uname -a
FreeBSD 9vaio.shasta204.local 9.0-RC1 FreeBSD 9.0-RC1 #6: Sat Nov  5
11:48:47 PDT 2011
root at 9vaio.shasta204.local:/usr/obj/usr/src/sys/GENERIC  i386

I was the able to build cdparanoia successfully and was able to build
k3b-kde4 successfully. K3b starts and loads fine but cannot find any
optical drives. I have followed the instructions in pkg-message to no
avail.

cdrecord -scanbus shows my optical drives as does camcontrol devlist. I
am able to burn a CD using cdrecord but k3b still does not find any
optical drives (see attached).

These are ATA drives that are showing up as /dev/cdX. I am using a
generic kernel and am loading atapicam via loader.conf.

I am willing and able to try any suggestions.

Robert

[robert at 9vaio] ~> cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright
(C) 1995-2010 Jörg Schilling Using libscg version ‘schily-0.9‘.
scsibus0:
        0,0,0     0) ‘’ ‘’ ‘’ NON CCS Disk
        0,1,0     1) ‘’ ‘’ ‘’ NON CCS Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) ‘Optiarc ' ‘DVD RW AD-7190A ' ‘1.01' Removable
CD-ROM 1,1,0   101) ‘TOSHIBA ' ‘DVD-ROM SD-R5002' ‘1S32' Removable
CD-ROM 1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

[robert at 9vaio] ~> camcontrol devlist
<WDC WD800JB-32FSA0 77.07W77>      at scbus0 target 0 lun 0 (pass0,ada0)
<WDC WD2000JB-00GVA0 08.02D08>     at scbus0 target 1 lun 0 (pass1,ada1)
<Optiarc DVD RW AD-7190A 1.01>     at scbus1 target 0 lun 0 (pass2,cd0)
<TOSHIBA DVD-ROM SD-R5002 1S32>    at scbus1 target 1 lun 0 (pass3,cd1)

[robert at 9vaio] ~> cdrecord dev=1,0,0
downloads/FreeBSD-9.0-BETA3-amd64-bootonly.iso cdrecord: No write mode
specified. cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults. Cdrecord-ProDVD-ProBD-Clone 3.00
(i386-unknown-freebsd9.0) Copyright (C) 1995-2010 Jörg Schilling
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. scsidev: ‘1,0,0‘ scsibus: 1 target: 0 lun: 0
Using libscg version ‘schily-0.9‘.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : ‘Optiarc ‘
Identifikation : ‘DVD RW AD-7190A ‘
Revision       : ‘1.01‘
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. Starting to write CD/DVD/BD at speed 48 in real SAO mode for
single session. Last chance to quit, starting real write    0 seconds.
Operation starts. Turning BURN-Free off
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 147042304/147042304 (71798 sectors).



More information about the freebsd-ports mailing list