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

Re: access to mips/mipsel/sparc machine



On Sun, Jul 01, 2007 at 07:29:02PM +0200, Joachim Reichel wrote:
> >> I would like to investigate whether my package cgal is vulnerable to bug
> >> #431230 on mips, mipsel and sparc.  I'm not a DD (so I can't use any
> >> official porter machines), but my key 153FF940 is signed by a DD. Is
> >> there someone willing to give me access to a machine?
> > 
> > since I'm a cgal user and have a mips and mipsel box I could test it.
> > But where can I find cgal 3.3-1?
> > ftp://ftp.debian.org/debian/pool/non-free/c/cgal contains only version
> > 3.2.1.
> 
> ftp.debian.org seems to be outdated, ftp.de.debian.org has 3.3-1.

Indeed.

> Meanwhile I know that it works on mips and sparc, but a test on mipsel
> would be appreciated.

It fails on mipsel but I doubt there are architecture specific issues.

I attached the package build output and install.log. A common error is

/usr/bin/ld: cannot find -lboost_program_options-mt

libboost-program-options1.33.1 is installed but provides only:

$ dpkg -L libboost-program-options1.33.1
/usr/lib/libboost_program_options-gcc-mt-1_33_1.so.1.33.1
/usr/lib/libboost_program_options-gcc-1_33_1.so.1.33.1
...

The Qt test fails with the same error as in #431230. I suggest you try
to build it in a pbuilder session. The test file it complains about is
after the build no longer available. Feel free to send it to me (or a
patched cgal package containing more debug handling) if you want me to
test it again.

Jens
jens@dm7025:~/test$ dpkg-buildpackage -rfakeroot -us -uc

jens@dm7025:~/test$ cd cgal-3.3/
jens@dm7025:~/test/cgal-3.3$ dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package is cgal
dpkg-buildpackage: source version is 3.3-1
dpkg-buildpackage: source changed by Joachim Reichel <joachim.reichel@gmx.de>
dpkg-buildpackage: host architecture mipsel
dpkg-buildpackage: source version without epoch 3.3-1
 fakeroot debian/rules clean
dpatch apply-all
applying patch build-library to ./ ... ok.
applying patch cgal-create-makefile to ./ ... ok.
applying patch boost-library-name to ./ ... ok.
touch patch-stamp
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
for DIR in src/*; do /usr/bin/make -C $DIR clean; done
make[1]: Entering directory `/home/jens/test/cgal-3.3/src/CGAL'
rm -f assertions Bbox_2_intersections Bbox_3_intersections cgal_logo Color File_header_extended_OFF File_header_OFF File_scanner_OFF File_writer_inventor File_writer_OFF File_writer_VRML_2 File_writer_wavefront Geomview_stream Interval_arithmetic io JAMA_numeric_solver KDS_Log kernel MP_Float numeric_solvers_support NefPolynomial Random Real_timer Timer Turkowski_numeric_solver
rm -f *.o
rm -f
rm -f
rm -f lib*
make[1]: Leaving directory `/home/jens/test/cgal-3.3/src/CGAL'
make: *** src/CGAL_71.sln: Ist kein Verzeichnis.  Schluss.
make: *** src/CGAL_80.sln: Ist kein Verzeichnis.  Schluss.
make[1]: Entering directory `/home/jens/test/cgal-3.3/src/CGALCore'
rm -f CoreAux extLong CoreDefs CoreIO BigFloat Real Expr GmpIO
rm -f *.o
rm -f
rm -f
rm -f lib*
make[1]: Leaving directory `/home/jens/test/cgal-3.3/src/CGALCore'
make[1]: Entering directory `/home/jens/test/cgal-3.3/src/CGALimageIO'
rm -f ImageIO analyze bmp bmpendian bmpread convert gif gis inr iris pnm recbuffer recline reech4x4
rm -f *.o
rm -f
rm -f
rm -f lib*
make[1]: Leaving directory `/home/jens/test/cgal-3.3/src/CGALimageIO'
make[1]: Entering directory `/home/jens/test/cgal-3.3/src/CGALPDB'
rm -f PDB_Atom PDB_Protein_pdb PDB_align PDB_Error_logger PDB_Quaternion PDB_distance PDB_Model PDB_Residue PDB_pdb_utils PDB_PDB PDB_Residue_data PDB_transforms PDB_Protein PDB_Transform
rm -f *.o
rm -f
rm -f
rm -f lib*
make[1]: Leaving directory `/home/jens/test/cgal-3.3/src/CGALPDB'
make[1]: Entering directory `/home/jens/test/cgal-3.3/src/CGALQt'
rm -f Qt_widget Qt_widget_layer Qt_widget_standard_toolbar Qt_help_window Qt_widget_history Qt_widget_xpm_icons Qt_widget_OpenGL Kinetic_pixmaps Kinetic_Qt_widget_2_core Kinetic_Qt_core Kinetic_Qt_timer Kinetic_Qt_window_2
rm -f *.o
rm -f *.moc
rm -f
rm -f
rm -f lib*
make[1]: Leaving directory `/home/jens/test/cgal-3.3/src/CGALQt'
rm -f compile.log install.log install.completed
rm -f config/support/tmp_test*
rm -f config/testfiles/a.out
for DIR in include/CGAL/config/*; do \
           if test x$DIR != xinclude/CGAL/config/msvc; then \
             rm -fr $DIR; \
           fi; \
         done
rm -f make/makefile_*
rm -fr lib/???????*
rm -fr config/install
if test -d examples.orig; then rm -r examples && mv examples.orig examples; fi
if test -d demo.orig; then rm -r demo && mv demo.orig demo; fi
dh_clean
dpatch deapply-all
reverting patch boost-library-name from ./ ... ok.
reverting patch cgal-create-makefile from ./ ... ok.
reverting patch build-library from ./ ... ok.
rm -fr patch-stamp debian/patched
 dpkg-source -b cgal-3.3
dpkg-source: building cgal using existing cgal_3.3.orig.tar.gz
dpkg-source: building cgal in cgal_3.3-1.diff.gz
dpkg-source: warning: executable mode 0755 of `debian/patches/boost-library-name.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of `debian/patches/build-library.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of `debian/patches/cgal-create-makefile.dpatch' will not be represented in diff
dpkg-source: building cgal in cgal_3.3-1.dsc
 debian/rules build
dpatch apply-all
applying patch build-library to ./ ... ok.
applying patch cgal-create-makefile to ./ ... ok.
applying patch boost-library-name to ./ ... ok.
touch patch-stamp
dh_testdir
dh_clean -k
QTDIR=/usr/share/qt3 ./install_cgal -ni --CXX g++ \
          --prefix /home/jens/test/cgal-3.3/debian/tmp/usr \
          --without-autofind --with-ZLIB --with-BOOST --with-BOOST_PROGRAM_OPTIONS \
          --with-GMP --with-GMPXX --with-MPFR \
          --with-X11 --with-OPENGL --with-QT3MT \
          --with-BLASGCCATLAS --with-LAPACK
Looking for POSIX utilities... done.
Loading support for 3rd party libraries...done.
  CGAL version is 3.3.

--------------------------------------------------------
  This is the install script for CGAL 3.3.
--------------------------------------------------------

running non interactive mode ...

--------------------------------------------------------
Locating Utilities:
--------------------------------------------------------
  Looking for GNU/make...
  make is /usr/bin/make.
  make found in $PATH is GNU Make.
  WARNING: Directory /home/jens/test/cgal-3.3/config/install does not exist, it will be created.
  use _let_expr() for evaluating arithmetic expressions.
  OS is mips_Linux-2.6.

--------------------------------------------------------
Settings from Command Line/Environment:
--------------------------------------------------------
  Set COMPILER to "g++".
  Set CGAL_INSTALL_DIR to "/home/jens/test/cgal-3.3/debian/tmp/usr".
  Enable ZLIB support.
  Enable BOOST support.
  Enable BOOST_PROGRAM_OPTIONS support.
  Enable GMP support.
  Enable GMPXX support.
  Enable MPFR support.
  Enable X11 support.
  Enable OPENGL support.
  Enable QT3MT support.
  Enable BLASGCCATLAS support.
  Enable LAPACK support.
  g++ is /usr/bin/g++.

--------------------------------------------------------
Configuring CGAL:
--------------------------------------------------------
  ****************************************************************
  **   The following lines show results of configuration tests. **
  **   Some of the tests might fail, since many compilers are   **
  **   still not completely ISO standard compliant.             **
  **   Since we worked around the arising problems,             **
  **                *** CGAL will work fine ***                 **
  **   regardless of the outcome of these tests.                **
  ****************************************************************
  Checking for standard header files
  All headers at once : ok.
  Testing for CCTYPE_MACRO_BUG ... ok.
  Testing for COMMA_BUG ... ok.
  Testing for CONVERSION_OPERATOR_BUG ... ok.
  Testing for DEDUCABLE_CONTEXT_BUG ... ok.
  Testing for DEEP_DEPENDENT_TEMPLATE_BUG ... ok.
  Testing for DENORMALS_COMPILE_BUG ... ok.
  Testing for IEEE_754_BUG ... ok.
  Testing for ISTREAM_INT_BUG ... ok.
  Testing for LONG_LONG_IO_BUG ... ok.
  Testing for LONGNAME_BUG ... ok.
  Testing for MATCHING_BUG_4 ... ok.
  Testing for MATCHING_BUG_5 ... ok.
  Testing for MATCHING_BUG_6 ... ok.
  Testing for MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG ... ok.
  Testing for NESTED_CLASS_FRIEND_DECLARATION_BUG ... ok.
  Testing for NET2003_MATCHING_BUG ... ok.
  Testing for LIMITS ... ok.
  Testing for LOCALE ... ok.
  Testing for LONG_DOUBLE_IO ... ok.
  Testing for LONG_LONG ... ok.
  Testing for NEXTAFTER ... ok.
  Testing for STDC_NAMESPACE ... ok.
  Testing for STL ... ok.
  Testing for TMPL_IN_TMPL_DEPENDING_FUNCTION_PARAM ... ok.
  Testing for TMPL_IN_TMPL_PARAM ... ok.
  Testing for NUMERIC_LIMITS_BUG ... ok.
  Testing for OUTOFLINE_MEMBER_DEFINITION_BUG ... ok.
  Testing for OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG_2 ... ok.
  Testing for OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG ... ok.
  Testing for SUNPRO_RWSTD ... ok.
  Testing for TYPENAME_BEFORE_DEFAULT_ARGUMENT_BUG ... ok.
  Testing for USING_BASE_MEMBER_BUG_2 ... ok.
  Testing for USING_BASE_MEMBER_BUG_3 ... ok.
  Testing for USING_BASE_MEMBER_BUG ... ok.
  Testing for BOOST ... ok.
  Testing for BOOST_PROGRAM_OPTIONS ... linking or execution failed.

Linker call:
--------------
g++ -o ./tmp_test ./tmp_test.o     -lboost_program_options-mt     -lm

Got the following error messages:
---------------------------------
/usr/bin/ld: cannot find -lboost_program_options-mt
collect2: ld returned 1 exit status
--------------------------------------------------------

  Testing for BOOST_PROGRAM_OPTIONS ... ok.
  Linking BOOST_PROGRAM_OPTIONS with /usr/lib ... linking or execution failed.

Linker call:
--------------
g++ -o ./tmp_test ./tmp_test.o   -L/usr/lib    -lboost_program_options-mt     -lm

Got the following error messages:
---------------------------------
/usr/bin/ld: cannot find -lboost_program_options-mt
collect2: ld returned 1 exit status
--------------------------------------------------------

  Linking BOOST_PROGRAM_OPTIONS with /usr/lib ... linking or execution failed.

Linker call:
--------------
g++ -o ./tmp_test ./tmp_test.o   -L/usr/lib    -lboost_program_options-mt     -lm

Got the following error messages:
---------------------------------
/usr/bin/ld: cannot find -lboost_program_options-mt
collect2: ld returned 1 exit status
--------------------------------------------------------

  Testing for X11 ... ok.
  Testing for GMP ... ok.
  Testing for GMPXX ... ok.
  Testing for MPFR ... ok.
  Testing for ZLIB (Unix) ... ok.
  Testing for ATLAS (ATLAS for gcc) ... ok.
  Testing for BLAS (ATLAS for gcc) ... ok.
  Testing for OPENGL (for Unix) ... ok.
  Testing for LAPACK (Unix default) ... ok.
  Testing for QT (Unix (multi-threaded)) ... compilation failed.

Compiler call:
--------------
g++ -Wall -frounding-math -I/home/jens/test/cgal-3.3/include/CGAL/config/mips_Linux-2.6_g++-4.1.2   -c './tmp_test.cpp'

Got the following error messages:
---------------------------------
./tmp_test.cpp:27:21: error: qglobal.h: Datei oder Verzeichnis nicht gefunden
./tmp_test.cpp:28:20: error: qarray.h: Datei oder Verzeichnis nicht gefunden
./tmp_test.cpp:30: error: expected constructor, destructor, or type conversion before ‘<’ token
./tmp_test.cpp: In function ‘int main()’:
./tmp_test.cpp:44: error: ‘QT_VERSION_STR’ was not declared in this scope
./tmp_test.cpp:46: error: ‘QArray’ was not declared in this scope
./tmp_test.cpp:46: error: expected primary-expression before ‘int’
./tmp_test.cpp:46: error: expected `;' before ‘int’
./tmp_test.cpp:48: error: ‘a’ was not declared in this scope
--------------------------------------------------------

  Testing for QT (Unix (multi-threaded)) with include /usr/include/qt3 ... ok.
  Linking QT3MT without extra libdir ... ok.

  Error: Setup tests failed.
    Please correct your setup.

  ****************************************************************
  **                          D O N E                           **
  ****************************************************************
make: *** [build-stamp] Fehler 1

Attachment: install.log.gz
Description: Binary data


Reply to: