Your message dated Sun, 13 Sep 2009 09:21:35 +0000
with message-id <[email protected]>
and subject line Bug#522031: fixed in libxmlada 3.0-6
has caused the Debian Bug report #522031,
regarding How to use xmlada.gpr
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
522031: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522031
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxmlada-dev
Version: 3.0-5
Severity: minor
Tags: patch
> Hello,
>
> I've been trying to "with" the xmlada.gpr file that is included in your
> package of libxmlada (I'm on kubuntu jaunty, so the package version is
> 3.0-5ubuntu1).
>
> If I just do a 'with "xmlada"' I get lots and lots of undefined
> references, like these:
> xxxx-xmlreaders.o:(.rodata+0x218): undefined reference to
> `sax__readers__start_dtd'
> xxxx-xmlreaders.o:(.rodata+0x21c): undefined reference to
> `sax__readers__end_dtd'
> (and so on)
>
> I'm not at all well versed in the gpr syntax, and the gpr file of the
> project that I'm trying to compile is rather complex, but I figured out
> a way of getting it to compile:
> I changed it to look very much like the gpr file included with
> libtemplates_parser:
>
> -------
> project XmlAda is
> for Source_Dirs use ("/usr/share/ada/adainclude/xmlada");
> for Library_Name use "xmlada";
> for Library_ALI_Dir use "/usr/lib/ada/adalib/xmlada";
> for Library_Dir use "/usr/lib";
> for Library_Kind use "dynamic";
> for Externally_Built use "true";
> end XmlAda;
>
> When I do this it all compiles nicely with just the usual 'with
> "xmlada"'
>
> How is the xmlada gpr file meant to be used? And why is it different
> from the templates_parser gpr file (I believe that package is also
> maintained by you)?
templates_parser.gpr is a "library project file" and it causes gnatmake
to
link the program with libtemplates_parser.so implicitly. When you changed
xmlada.gpr, you achieved the same effect. The Debian Policy for Ada
mandates that all libraries come with a library project file.
Unfortunately, in the case of libxmlada, the library project file caused
trouble when building PolyORB; so, we reverted its library project file
to a regular project file (without the Library_* attributes) in 3.0-3.
The bug is that we forgot to revert the documentation as well.
xmlada.gpr
now being a regular project file, you need to link your program with
libxmlada.so explicitly from your project file, like so:
with "xmlada";
project My_Program is
...
package Linker is
for Default_Switches (Ada) use XMLAda.Ada_Switches;
end Linker;
end My_Program;
If you need additional linker switches, use something like
package Linker is
for Default_Switches (Ada) use XMLAda.Ada_Switches & ("-lmy_lib");
end Linker;
I'm opening a bug to the Debian bug tracking system with this mail. The
next version of libxmlada-dev will have a library project file whether
PolyORB likes it or not :)
--
Ludovic Brenta.
--- End Message ---
--- Begin Message ---
Source: libxmlada
Source-Version: 3.0-6
We believe that the bug you reported is fixed in the latest version of
libxmlada, which is due to be installed in the Debian FTP archive:
libxmlada-dev_3.0-6_amd64.deb
to pool/main/libx/libxmlada/libxmlada-dev_3.0-6_amd64.deb
libxmlada3-dbg_3.0-6_amd64.deb
to pool/main/libx/libxmlada/libxmlada3-dbg_3.0-6_amd64.deb
libxmlada3_3.0-6_amd64.deb
to pool/main/libx/libxmlada/libxmlada3_3.0-6_amd64.deb
libxmlada_3.0-6.diff.gz
to pool/main/libx/libxmlada/libxmlada_3.0-6.diff.gz
libxmlada_3.0-6.dsc
to pool/main/libx/libxmlada/libxmlada_3.0-6.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovic Brenta <[email protected]> (supplier of updated libxmlada package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 12 Sep 2009 12:54:47 +0200
Source: libxmlada
Binary: libxmlada-dev libxmlada3 libxmlada3-dbg
Architecture: source amd64
Version: 3.0-6
Distribution: unstable
Urgency: low
Maintainer: Ludovic Brenta <[email protected]>
Changed-By: Ludovic Brenta <[email protected]>
Description:
libxmlada-dev - XML/Ada, a full XML suite for Ada programmers
libxmlada3 - XML/Ada, a full XML suite for Ada programmers (runtime)
libxmlada3-dbg - XML/Ada, a full XML suite for Ada programmers (debugging
symbols)
Closes: 485098 522031 542416
Changes:
libxmlada (3.0-6) unstable; urgency=low
.
* debian/control (Architecture): add kfreebsd-amd64. Closes: #542416.
(Standards-Version): bump to 3.8.3.
(Depends): s/source:Version/binary:Version/g.
* debian/rules, debian/control (libxmlada3-dbg): introduce a new
package containing the detached debugging symbols.
* build_xmlada.gpr: always build with -g.
* patches: move to debian/patches. Make the patches compliant with
"quilt refresh -p ab". Closes: #485098.
* debian/rules: become compliant with source format 3.0 (quilt).
(clean): s/dh_clean -k/dh_prep/.
(libxmlada.so.3): gatmake knows about -fPIC when Library_Kind is
"dynamic", so do not pass it explicitly.
* debian/compat: bump to 7.
* debian/xmlada.gpr: turn into a proper library project file.
Closes: #522031.
Checksums-Sha1:
88ed499898f9b9be94662adb8d4a55d02250c57d 1179 libxmlada_3.0-6.dsc
a286ca8dcc68ee5f7789af561c0552ed59fa9b5f 7732 libxmlada_3.0-6.diff.gz
83863d1d7c5ab1b3809231bca623a4fd116b7f53 2943668 libxmlada-dev_3.0-6_amd64.deb
e0d3cf807ef152a28ec6ef9930a74c5e2ed90cc5 786106 libxmlada3_3.0-6_amd64.deb
dda74d92fe4086c06dabfc34407b18ad516c2c7f 1019634 libxmlada3-dbg_3.0-6_amd64.deb
Checksums-Sha256:
bd8112f9274114f7b547032c76043a2a4aaabe64565ab65172f9759ff6c98de4 1179
libxmlada_3.0-6.dsc
1c52213c8a7713a5c7ed6a7edf1e4da09ad831280f7ddc0571b9589e1e3e1e14 7732
libxmlada_3.0-6.diff.gz
e782c9b529a6a59abe74a543108c3e3d6f4a93c22315f4b17036819f74b225d6 2943668
libxmlada-dev_3.0-6_amd64.deb
e309facb333adb9ee83ab0d078406c6085e4efbc8c50c60c2eadbcb5da8f18f6 786106
libxmlada3_3.0-6_amd64.deb
07312ce586fdfa72a3ef2651e3e8445f4e960700733d3a922689dfd02dff56c1 1019634
libxmlada3-dbg_3.0-6_amd64.deb
Files:
97d95790a7a4e5ed6f44ea7c70a6a5bf 1179 libdevel optional libxmlada_3.0-6.dsc
ad76f29fdc1b89bd5bc6041a2d9dbb9a 7732 libdevel optional libxmlada_3.0-6.diff.gz
e2700801f0ecd3e04c7860c76eb44356 2943668 libdevel optional
libxmlada-dev_3.0-6_amd64.deb
4ca54091854df1f0e25006f43f4978e3 786106 libs optional
libxmlada3_3.0-6_amd64.deb
a39ccd96970e569015f9603b559d76eb 1019634 debug extra
libxmlada3-dbg_3.0-6_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKq4QXx9kwJZ3/qtQRApcbAKCHlCzoOCy5lVC4OuzKV3lP0RQmRACfQIwG
ymCvOVpFF6+t+r7hYrY/LKo=
=8Npe
-----END PGP SIGNATURE-----
--- End Message ---