pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47308: sane-backends DragonFly kodakaio.c:698: error: 'SOL_SOCKET' undeclared



>Number:         47308
>Category:       pkg
>Synopsis:       sane-backends DragonFly kodakaio.c:698: error: 'SOL_SOCKET' 
>undeclared
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 11 07:00:01 +0000 2012
>Originator:     David Shao
>Release:        DragonFly  3.3-DEVELOPMENT x86_64
>Organization:
>Environment:
DragonFly  3.3-DEVELOPMENT x86_64
>Description:
DragonFly 3-3-DEVELOPMENT x86_64 as of master
commit 1e058a4369b9e46deb9a78083d554f9a37d4600e
Date:   Sat Dec 8 09:55:02 2012 +0100

pkgsrc current master as of
commit 239e9e1b5810b45db478da00247d1fe274ed8a9b
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Mon Dec 10 18:27:47 2012 -0800

# pkg_rolling-replace -uv

RR> Selecting sane-backends (graphics/sane-backends) as next package to replace
RR> Replacing sane-backends-1.0.22nb3
...
The supported build options for sane-backends are:

        inet6 snmp

The currently selected options are:

        inet6
...
===> Patching for sane-backends-1.0.23
=> Applying pkgsrc patches for sane-backends-1.0.23
  I can't seem to find a patch in there anywhere.
...
checking for LIBV4L... no
checking for sane_init in -lsane... no
Not including SNMP support
configure: WARNING: *** Warning: net-snmp library disabled, autodetecting 
network scanners will not be supported.
checking for ANSI C header files... (cached) yes
...
checking for getopt_long... yes
usage: nl [-p] [-b type] [-d delim] [-f type] [-h type] [-i incr] [-l num]
        [-n format] [-s sep] [-v startnum] [-w width] [file]
checking for cups
cups.h not found, you may want to install a cups development package
in order to autodetect network scanners in kodakaio.
checking usb.h usability... yes
...
*** canon_pp backend requires libieee1284 library - disabling
*** gphoto2 backend requires gphoto2 and JPEG libraries - disabling
*** hpsj5s backend requires libieee1284 library - disabling
*** kvs40xx backend requires pthread library - disabling
*** mustek_pp backend requires libieee1284 and paraport-directio libraries - 
disabling
*** mustek_usb2 backend requires pthread library - disabling
*** pint backend requires sys/scanio.h - disabling
*** qcam backend requires ioperm and portaccess functions - disabling
*** v4l backend requires v4l libraries - disabling
*** pnm backend not manually selected - disabling
...
-> Network parameters:
Build saned:   yes
IPv6 support:  yes
Avahi support: no
SNMP support:  no
CUPS support:  no
-> The following backends will be built:
abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u 
canon_dr cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net 
dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 
hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 
magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash pie 
pixma plustek plustek_pp ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 
snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp 
umax1220u xerox_mfp p5 
...
ln -s ./stubs.c kodakaio-s.c
/bin/sh ../libtool --silent  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. 
-I../include/sane -I/usr/local/include -I. -I. -I../include -I../include 
-DLIBDIR="/usr/pkg/lib/sane" -DBACKEND_NAME=kodakaio -I/usr/pkg/include 
-I/usr/include -DPATH_SANE_CONFIG_DIR=/usr/pkg/share/examples/sane         
-DPATH_SANE_DATA_DIR=/usr/pkg/share    
-DPATH_SANE_LOCK_DIR=/usr/pkg/var/lock/sane      -DV_MAJOR=1 -DV_MINOR=0  -g 
-I/usr/pkg/include -I/usr/include -W -Wall -MT 
libsane_kodakaio_la-kodakaio-s.lo -MD -MP -MF 
.deps/libsane_kodakaio_la-kodakaio-s.Tpo -c -o 
libsane_kodakaio_la-kodakaio-s.lo `test -f 'kodakaio-s.c' || echo 
'./'`kodakaio-s.c
mv -f .deps/libsane_kodakaio_la-kodakaio-s.Tpo 
.deps/libsane_kodakaio_la-kodakaio-s.Plo
/bin/sh ../libtool --silent  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. 
-I../include/sane -I/usr/local/include -I. -I. -I../include -I../include 
-DLIBDIR="/usr/pkg/lib/sane" -DBACKEND_NAME=kodakaio -I/usr/pkg/include 
-I/usr/include -DPATH_SANE_CONFIG_DIR=/usr/pkg/share/examples/sane         
-DPATH_SANE_DATA_DIR=/usr/pkg/share    
-DPATH_SANE_LOCK_DIR=/usr/pkg/var/lock/sane      -DV_MAJOR=1 -DV_MINOR=0  -g 
-I/usr/pkg/include -I/usr/include -W -Wall -MT libkodakaio_la-kodakaio.lo -MD 
-MP -MF .deps/libkodakaio_la-kodakaio.Tpo -c -o libkodakaio_la-kodakaio.lo 
`test -f 'kodakaio.c' || echo './'`kodakaio.c
kodakaio.c: In function 'kodakaio_net_read':
kodakaio.c:646: warning: suggest parentheses around assignment used as truth 
value
kodakaio.c:666: warning: format '%d' expects type 'int', but argument 3 has 
type 'size_t'
kodakaio.c: In function 'sanei_kodakaio_net_open':
kodakaio.c:698: warning: implicit declaration of function 'setsockopt'
kodakaio.c:698: error: 'SOL_SOCKET' undeclared (first use in this function)
kodakaio.c:698: error: (Each undeclared identifier is reported only once
kodakaio.c:698: error: for each function it appears in.)
kodakaio.c:698: error: 'SO_RCVTIMEO' undeclared (first use in this function)
kodakaio.c: In function 'cmd_start_scan':
kodakaio.c:968: warning: format '%d' expects type 'int', but argument 3 has 
type 'size_t'
kodakaio.c: In function 'extract_from_id':
kodakaio.c:2091: warning: format '%d' expects type 'int', but argument 3 has 
type 'long int'
kodakaio.c:2091: warning: format '%d' expects type 'int', but argument 4 has 
type 'size_t'
gmake[2]: *** [libkodakaio_la-kodakaio.lo] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/graphics/sane-backends/work/sane-backends-1.0.23/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/pkgsrc/graphics/sane-backends/work/sane-backends-1.0.23/backend'
gmake: *** [all-recursive] Error 1
*** Error code 2


>How-To-Repeat:
DragonFly 3-3-DEVELOPMENT x86_64 as of master
commit 1e058a4369b9e46deb9a78083d554f9a37d4600e
Date:   Sat Dec 8 09:55:02 2012 +0100

pkgsrc current master as of
commit 239e9e1b5810b45db478da00247d1fe274ed8a9b
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Mon Dec 10 18:27:47 2012 -0800

# pkg_rolling-replace -uv
>Fix:



Home | Main Index | Thread Index | Old Index