[sane-devel] New build system: make dist fails

Louis Lagendijk louis at lagendijk.xs4all.nl
Sat Feb 28 16:55:44 UTC 2009


hi
Running a make dist on a freshly configured CVS tree bugs out with the
following:
bash-3.2$ make dist
{ test ! -d sane-backends-1.1.0-cvs || { find sane-backends-1.1.0-cvs
-type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr
sane-backends-1.1.0-cvs; }; }
test -d sane-backends-1.1.0-cvs || mkdir sane-backends-1.1.0-cvs
list='include lib sanei backend frontend tools doc po japi testsuite';
for subdir in $list; do \
	  if test "$subdir" = .; then :; else \
	    test -d "sane-backends-1.1.0-cvs/$subdir" \
	    || /bin/mkdir -p "sane-backends-1.1.0-cvs/$subdir" \
	    || exit 1; \
	    distdir=`CDPATH="${ZSH_VERSION+.}:" && cd sane-backends-1.1.0-cvs
&& pwd`; \
	    top_distdir=`CDPATH="${ZSH_VERSION+.}:" && cd
sane-backends-1.1.0-cvs && pwd`; \
	    (cd $subdir && \
	      make  \
	        top_distdir="$top_distdir" \
	        distdir="$distdir/$subdir" \
		am__remove_distdir=: \
		am__skip_length_check=: \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
make[1]: Entering directory
`/home/home1/louis/bjnp/sane-backends/include'
make[1]: Leaving directory
`/home/home1/louis/bjnp/sane-backends/include'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/lib'
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/lib'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/sanei'
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/sanei'
make[1]: Entering directory
`/home/home1/louis/bjnp/sane-backends/backend'
make[1]: Leaving directory
`/home/home1/louis/bjnp/sane-backends/backend'
make[1]: Entering directory
`/home/home1/louis/bjnp/sane-backends/frontend'
make[1]: Leaving directory
`/home/home1/louis/bjnp/sane-backends/frontend'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/tools'
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/tools'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/doc'
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/doc'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/po'
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/po'
make[1]: Entering directory `/home/home1/louis/bjnp/sane-backends/japi'
. javac -d .    SaneDevice.java SaneOption.java SaneRange.java Sane.java
SaneParameters.java ScanIt.java ImageCanvas.java ImageCanvasClient.java
Test.java Jscanimage.java
----------
1. WARNING in ImageCanvas.java (at line 57)
	public class ImageCanvas extends Canvas
	             ^^^^^^^^^^^
The serializable class ImageCanvas does not declare a static final
serialVersionUID field of type long
----------
----------
2. WARNING in Jscanimage.java (at line 50)
	import java.awt.image.ImageConsumer;
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.awt.image.ImageConsumer is never used
----------
3. WARNING in Jscanimage.java (at line 51)
	import java.awt.image.ColorModel;
	       ^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.awt.image.ColorModel is never used
----------
4. WARNING in Jscanimage.java (at line 63)
	public class Jscanimage extends Frame implements WindowListener,
	             ^^^^^^^^^^
The serializable class Jscanimage does not declare a static final
serialVersionUID field of type long
----------
5. WARNING in Jscanimage.java (at line 103)
	prog.show();
	^^^^^^^^^^^
The method show() from the type Window is deprecated
----------
6. WARNING in Jscanimage.java (at line 591)
	dlg.show();		// Wait for result.
	^^^^^^^^^^
The method show() from the type Dialog is deprecated
----------
7. WARNING in Jscanimage.java (at line 712)
	class SaneCheckBox extends JCheckBox implements ActionListener,
	      ^^^^^^^^^^^^
The serializable class SaneCheckBox does not declare a static final
serialVersionUID field of type long
----------
8. WARNING in Jscanimage.java (at line 759)
	class SaneSlider extends JPanel implements SaneComponent,
ChangeListener
	      ^^^^^^^^^^
The serializable class SaneSlider does not declare a static final
serialVersionUID field of type long
----------
9. WARNING in Jscanimage.java (at line 824)
	class FixedSaneSlider extends SaneSlider
	      ^^^^^^^^^^^^^^^
The serializable class FixedSaneSlider does not declare a static final
serialVersionUID field of type long
----------
10. WARNING in Jscanimage.java (at line 887)
	class SaneButton extends JButton implements ActionListener
	      ^^^^^^^^^^
The serializable class SaneButton does not declare a static final
serialVersionUID field of type long
----------
11. WARNING in Jscanimage.java (at line 919)
	abstract class SaneComboBox extends JComboBox 
	               ^^^^^^^^^^^^
The serializable class SaneComboBox does not declare a static final
serialVersionUID field of type long
----------
12. WARNING in Jscanimage.java (at line 959)
	class SaneStringBox extends SaneComboBox
	      ^^^^^^^^^^^^^
The serializable class SaneStringBox does not declare a static final
serialVersionUID field of type long
----------
13. WARNING in Jscanimage.java (at line 1007)
	class SaneIntBox extends SaneComboBox
	      ^^^^^^^^^^
The serializable class SaneIntBox does not declare a static final
serialVersionUID field of type long
----------
14. WARNING in Jscanimage.java (at line 1061)
	class SaneFixedBox extends SaneComboBox
	      ^^^^^^^^^^^^
The serializable class SaneFixedBox does not declare a static final
serialVersionUID field of type long
----------
15. WARNING in Jscanimage.java (at line 1117)
	class SaneTextField extends JTextField implements SaneComponent
	      ^^^^^^^^^^^^^
The serializable class SaneTextField does not declare a static final
serialVersionUID field of type long
----------
15 problems (15 warnings)echo timestamp > classdist_noinst.stamp
javah -jni -cp . Sane
make[1]: Leaving directory `/home/home1/louis/bjnp/sane-backends/japi'
make[1]: Entering directory
`/home/home1/louis/bjnp/sane-backends/testsuite'
make[1]: Leaving directory
`/home/home1/louis/bjnp/sane-backends/testsuite'
find sane-backends-1.1.0-cvs -type d ! -perm -777 -exec chmod a+rwx {}
\; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444
-exec /bin/sh /home/home1/louis/bjnp/sane-backends/install-sh -c -m a+r
{} {} \; \
	|| chmod -R a+r sane-backends-1.1.0-cvs
tardir=sane-backends-1.1.0-cvs
&& /bin/sh /home/home1/louis/bjnp/sane-backends/missing --run tar chof -
"$tardir" | GZIP=--best gzip -c >sane-backends-1.1.0-cvs.tar.gz
{ test ! -d sane-backends-1.1.0-cvs || { find sane-backends-1.1.0-cvs
-type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr
sane-backends-1.1.0-cvs; }; }
bash-3.2$ 


best regards, Louis




More information about the sane-devel mailing list