I can't build ghemical on current amd64 dapper.
jeroen@gnubuntu:~/work/ghemical-deps$ LANGUAGE=en_GB.UTF-8 sudo apt-get -b source ghemical
Reading package lists... Done
Building dependency tree... Done
Need to get 1440kB of source archives.
Get:1 http://archive.ubuntu.com dapper/universe ghemical 1.91-2 (dsc) [792B]
Get:2 http://archive.ubuntu.com dapper/universe ghemical 1.91-2 (tar) [1389kB]
Get:3 http://archive.ubuntu.com dapper/universe ghemical 1.91-2 (diff) [50,5kB]
Fetched 1440kB in 6s (236kB/s)
dpkg-source: extracting ghemical in ghemical-1.91
dpkg-source: unpacking ghemical_1.91.orig.tar.gz
dpkg-source: applying ./ghemical_1.91-2.diff.gz
dpkg-buildpackage: source package is ghemical
dpkg-buildpackage: source version is 1.91-2
dpkg-buildpackage: source changed by Michael Banck <email address hidden>
dpkg-buildpackage: host architecture amd64
debian/rules clean
dpatch deapply-all
91_aclocal_configure not applied to ./ .
90_config_guess_sub not applied to ./ .
11_glut_init not applied to ./ .
09_Makefile_prefix not applied to ./ .
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make distclean
make[1]: Entering directory `/home/jeroen/work/ghemical-deps/ghemical-1.91'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/home/jeroen/work/ghemical-deps/ghemical-1.91'
make: [clean] Error 2 (ignored)
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
debian/rules build
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 09_Makefile_prefix to ./ ... ok.
applying patch 11_glut_init to ./ ... ok.
applying patch 90_config_guess_sub to ./ ... ok.
applying patch 91_aclocal_configure to ./ ... ok.
dpatch cat-all >>patch-stampT
mv -f patch-stampT patch-stamp
dh_testdir
PKG_CONFIG=/usr/bin/pkg-config ./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --host=x86_64-linux-gnu --enable-threads
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-linux-gnu-g++... x86_64-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-linux-gnu-g++ accepts -g... yes
checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E
checking how to run the C++ preprocessor... x86_64-linux-gnu-g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for sh... /bin/sh
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for acos in -lm... yes
checking pkg-config is at least version 0.9.0... yes
checking for GTHREAD... yes
checking for GTK... yes
checking for GTKGLEXT... yes
checking for LIBGLADE... yes
checking for LIBGHEMICAL... yes
checking for glMatrixMode in -lGL... yes
checking for main in -lGLU... yes
checking for glutInit in -lglut... yes
checking for main in -lX11... yes
checking for main in -lXmu... yes
checking for main in -lXext... yes
checking for main in -lXi... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/glade/Makefile
config.status: creating src/Makefile
config.status: creating src/ghemicalconfig.h
config.status: executing src/ghemicalconfig2.h commands
build options:
^^^^^^^^^^^^^^
enable threads : yes
enable bonobo : no
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/home/jeroen/work/ghemical-deps/ghemical-1.91'
make[2]: Entering directory `/home/jeroen/work/ghemical-deps/ghemical-1.91/src/glade'
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./geomopt_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./geomopt_dialog.cpp:15:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./geomopt_dialog.cpp: In static member function ‘static void geomopt_dialog::handler_Destroy(GtkWidget*, void*)’:
./geomopt_dialog.cpp:64: warning: unused variable ‘ref’
./geomopt_dialog.cpp: In static member function ‘static void geomopt_dialog::handler_ButtonCancel(GtkWidget*, void*)’:
./geomopt_dialog.cpp:108: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./moldyn_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./moldyn_dialog.cpp:15:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./moldyn_dialog.cpp: In static member function ‘static void moldyn_dialog::handler_Destroy(GtkWidget*, void*)’:
./moldyn_dialog.cpp:87: warning: unused variable ‘ref’
./moldyn_dialog.cpp: In static member function ‘static void moldyn_dialog::handler_ButtonCancel(GtkWidget*, void*)’:
./moldyn_dialog.cpp:132: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./trajview_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./trajview_dialog.cpp:13:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./trajview_dialog.cpp: In static member function ‘static void trajview_dialog::handler_Destroy(GtkWidget*, void*)’:
./trajview_dialog.cpp:47: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./file_import_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./file_import_dialog.cpp:17:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./file_import_dialog.cpp: In static member function ‘static void file_import_dialog::handler_Destroy(GtkWidget*, void*)’:
./file_import_dialog.cpp:73: warning: unused variable ‘ref’
./file_import_dialog.cpp: In static member function ‘static void file_import_dialog::handler_ButtonCancel(GtkWidget*, void*)’:
./file_import_dialog.cpp:107: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./file_export_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./file_export_dialog.cpp:17:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./file_export_dialog.cpp: In static member function ‘static void file_export_dialog::handler_Destroy(GtkWidget*, void*)’:
./file_export_dialog.cpp:73: warning: unused variable ‘ref’
./file_export_dialog.cpp: In static member function ‘static void file_export_dialog::handler_ButtonCancel(GtkWidget*, void*)’:
./file_export_dialog.cpp:105: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./setup_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./setup_dialog.cpp:21:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./setup_dialog.cpp: In static member function ‘static void setup_dialog::handler_Destroy(GtkWidget*, void*)’:
./setup_dialog.cpp:211: warning: unused variable ‘ref’
./setup_dialog.cpp: In static member function ‘static void setup_dialog::handler_ButtonCancel(GtkWidget*, void*)’:
./setup_dialog.cpp:330: warning: unused variable ‘ref’
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./progress_dialog.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./progress_dialog.cpp:15:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./progress_dialog.cpp: In static member function ‘static void progress_dialog::handler_Destroy(GtkWidget*, void*)’:
./progress_dialog.cpp:89: warning: unused variable ‘ref’
/usr/bin/ar rcv libdialogs.a geomopt_dialog.o moldyn_dialog.o trajview_dialog.o file_import_dialog.o file_export_dialog.o setup_dialog.o progress_dialog.o
a - geomopt_dialog.o
a - moldyn_dialog.o
a - trajview_dialog.o
a - file_import_dialog.o
a - file_export_dialog.o
a - setup_dialog.o
a - progress_dialog.o
ranlib libdialogs.a
make[2]: Leaving directory `/home/jeroen/work/ghemical-deps/ghemical-1.91/src/glade'
make[2]: Entering directory `/home/jeroen/work/ghemical-deps/ghemical-1.91/src'
x86_64-linux-gnu-g++ -c -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ghemical -I/usr/include/sc -I/usr/include/openbabel -Wall -fno-exceptions -I../src/glade -I/home/jeroen/work/ghemical-deps/ghemical-1.91/src ./main.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/strstream:51,
from ./main.cpp:38:
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
./main.cpp: In function ‘int main(int, char**)’:
./main.cpp:770: error: ‘glutInit’ was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/jeroen/work/ghemical-deps/ghemical-1.91/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jeroen/work/ghemical-deps/ghemical-1.91'
make: *** [build-stamp] Error 2
Build command ‘cd ghemical-1.91 && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
jeroen@gnubuntu:~/work/ghemical-deps$
Fixed in Dapper as of version 1.91-2ubuntu2