Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-12-03 Thread Chris Hofstaedtler
Hello Jonas,

* Scott Talbert  [231203 14:06]:
> haskell-pandoc has been accepted into unstable, so I think you should be
> able to update src:pandoc to now build from the pandoc-cli hackage package.
[..]

Sorry for nudging here, but pandoc is used as a build dependency on
quite a few libraries needing intrusive packaging patches for
UsrMerge. The earlier we can have them fixed in (at least)
experimental, the better.
But for that they need their build-deps, obviously :-)

Thanks to everyone here for their work!

Best,
Chris



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-30 Thread Scott Talbert

On Sun, 26 Nov 2023, Scott Talbert wrote:


On Sat, 25 Nov 2023, Jonas Smedegaard wrote:


Quoting Scott Talbert (2023-11-25 19:09:39)

On Thu, 23 Nov 2023, Jonas Smedegaard wrote:


Quoting Ilias Tsitsimpis (2023-11-23 21:10:36)

On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:

On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:

Quoting John MacFarlane (2023-11-16 19:25:17)
Removing lua support would be most unfortunate!  If you need help 
from upstream in getting things to work, let me know.


I agree: Pandoc with its core scripting language disabled is a 
severely

crippled Pandoc.


Understood, but I am not really sure how to move forward, since 
Pandoc

doesn't fully support the latest Stackage LTS. I can help with
packaging/upgrade libraries if you can provide the right set of
libraries we need.


I uploaded the following packages:

* haskell-hslua-cli_v1.3.0-1,
* haskell-hslua-module-doclayout_v1.1.0-1
* haskell-hslua-module-zip_v1.1.0-1

I believe the next step is to update pandoc to 3.0.1, so we can then
package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.

Jonas, how can I help move this forward? Pandoc is the last blocker 
to

finish the Haskell transition.


I think this will be the best way forward:

Haskell team introduces new source package haskell-pandoc.

When available, I can build package pandoc depending on it.

I really don't like breaking upstream project pandoc into two Debian
source packages like that, but I don't have the energy at the moment 
to
try fix dh-haskell (which I suspect will be similar work as I am 
doing

to dh-cargo currently).


I'm working on this (packaging haskell-pandoc).


And it's been uploaded, headed to NEW.


Jonas,

haskell-pandoc has been accepted into unstable, so I think you should be 
able to update src:pandoc to now build from the pandoc-cli hackage 
package.


This brings up an interesting question, though.  The pandoc-cli package 
versioning does not follow that of the pandoc package, so it's unclear how 
to best handle that with the existing numbering of src:pandoc and pandoc 
binary package.


Regards,
Scott



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-26 Thread Scott Talbert

On Sat, 25 Nov 2023, Jonas Smedegaard wrote:


Quoting Scott Talbert (2023-11-25 19:09:39)

On Thu, 23 Nov 2023, Jonas Smedegaard wrote:


Quoting Ilias Tsitsimpis (2023-11-23 21:10:36)

On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:

On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:

Quoting John MacFarlane (2023-11-16 19:25:17)

Removing lua support would be most unfortunate!  If you need help from upstream 
in getting things to work, let me know.


I agree: Pandoc with its core scripting language disabled is a severely
crippled Pandoc.


Understood, but I am not really sure how to move forward, since Pandoc
doesn't fully support the latest Stackage LTS. I can help with
packaging/upgrade libraries if you can provide the right set of
libraries we need.


I uploaded the following packages:

* haskell-hslua-cli_v1.3.0-1,
* haskell-hslua-module-doclayout_v1.1.0-1
* haskell-hslua-module-zip_v1.1.0-1

I believe the next step is to update pandoc to 3.0.1, so we can then
package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.

Jonas, how can I help move this forward? Pandoc is the last blocker to
finish the Haskell transition.


I think this will be the best way forward:

Haskell team introduces new source package haskell-pandoc.

When available, I can build package pandoc depending on it.

I really don't like breaking upstream project pandoc into two Debian
source packages like that, but I don't have the energy at the moment to
try fix dh-haskell (which I suspect will be similar work as I am doing
to dh-cargo currently).


I'm working on this (packaging haskell-pandoc).


And it's been uploaded, headed to NEW.

Regards,
Scott



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-25 Thread Jonas Smedegaard
Quoting Scott Talbert (2023-11-25 19:09:39)
> On Thu, 23 Nov 2023, Jonas Smedegaard wrote:
> 
> > Quoting Ilias Tsitsimpis (2023-11-23 21:10:36)
> >> On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:
> >>> On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:
>  Quoting John MacFarlane (2023-11-16 19:25:17)
> > Removing lua support would be most unfortunate!  If you need help from 
> > upstream in getting things to work, let me know.
> 
>  I agree: Pandoc with its core scripting language disabled is a severely
>  crippled Pandoc.
> >>>
> >>> Understood, but I am not really sure how to move forward, since Pandoc
> >>> doesn't fully support the latest Stackage LTS. I can help with
> >>> packaging/upgrade libraries if you can provide the right set of
> >>> libraries we need.
> >>
> >> I uploaded the following packages:
> >>
> >> * haskell-hslua-cli_v1.3.0-1,
> >> * haskell-hslua-module-doclayout_v1.1.0-1
> >> * haskell-hslua-module-zip_v1.1.0-1
> >>
> >> I believe the next step is to update pandoc to 3.0.1, so we can then
> >> package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.
> >>
> >> Jonas, how can I help move this forward? Pandoc is the last blocker to
> >> finish the Haskell transition.
> >
> > I think this will be the best way forward:
> >
> > Haskell team introduces new source package haskell-pandoc.
> >
> > When available, I can build package pandoc depending on it.
> >
> > I really don't like breaking upstream project pandoc into two Debian
> > source packages like that, but I don't have the energy at the moment to
> > try fix dh-haskell (which I suspect will be similar work as I am doing
> > to dh-cargo currently).
> 
> I'm working on this (packaging haskell-pandoc).

Thanks!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-25 Thread Scott Talbert

On Thu, 23 Nov 2023, Jonas Smedegaard wrote:


Quoting Ilias Tsitsimpis (2023-11-23 21:10:36)

On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:

On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:

Quoting John MacFarlane (2023-11-16 19:25:17)

Removing lua support would be most unfortunate!  If you need help from upstream 
in getting things to work, let me know.


I agree: Pandoc with its core scripting language disabled is a severely
crippled Pandoc.


Understood, but I am not really sure how to move forward, since Pandoc
doesn't fully support the latest Stackage LTS. I can help with
packaging/upgrade libraries if you can provide the right set of
libraries we need.


I uploaded the following packages:

* haskell-hslua-cli_v1.3.0-1,
* haskell-hslua-module-doclayout_v1.1.0-1
* haskell-hslua-module-zip_v1.1.0-1

I believe the next step is to update pandoc to 3.0.1, so we can then
package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.

Jonas, how can I help move this forward? Pandoc is the last blocker to
finish the Haskell transition.


I think this will be the best way forward:

Haskell team introduces new source package haskell-pandoc.

When available, I can build package pandoc depending on it.

I really don't like breaking upstream project pandoc into two Debian
source packages like that, but I don't have the energy at the moment to
try fix dh-haskell (which I suspect will be similar work as I am doing
to dh-cargo currently).


I'm working on this (packaging haskell-pandoc).

Regards,
Scott



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-23 Thread Jonas Smedegaard
Quoting Ilias Tsitsimpis (2023-11-23 21:10:36)
> On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:
> > On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:
> > > Quoting John MacFarlane (2023-11-16 19:25:17)
> > > > Removing lua support would be most unfortunate!  If you need help from 
> > > > upstream in getting things to work, let me know.
> > > 
> > > I agree: Pandoc with its core scripting language disabled is a severely
> > > crippled Pandoc.
> > 
> > Understood, but I am not really sure how to move forward, since Pandoc
> > doesn't fully support the latest Stackage LTS. I can help with
> > packaging/upgrade libraries if you can provide the right set of
> > libraries we need.
> 
> I uploaded the following packages:
> 
> * haskell-hslua-cli_v1.3.0-1,
> * haskell-hslua-module-doclayout_v1.1.0-1
> * haskell-hslua-module-zip_v1.1.0-1
> 
> I believe the next step is to update pandoc to 3.0.1, so we can then
> package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.
> 
> Jonas, how can I help move this forward? Pandoc is the last blocker to
> finish the Haskell transition.

I think this will be the best way forward:

Haskell team introduces new source package haskell-pandoc.

When available, I can build package pandoc depending on it.

I really don't like breaking upstream project pandoc into two Debian
source packages like that, but I don't have the energy at the moment to
try fix dh-haskell (which I suspect will be similar work as I am doing
to dh-cargo currently).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-23 Thread Ilias Tsitsimpis
On Fri, Nov 17, 2023 at 09:28AM, Ilias Tsitsimpis wrote:
> On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:
> > Quoting John MacFarlane (2023-11-16 19:25:17)
> > > Removing lua support would be most unfortunate!  If you need help from 
> > > upstream in getting things to work, let me know.
> > 
> > I agree: Pandoc with its core scripting language disabled is a severely
> > crippled Pandoc.
> 
> Understood, but I am not really sure how to move forward, since Pandoc
> doesn't fully support the latest Stackage LTS. I can help with
> packaging/upgrade libraries if you can provide the right set of
> libraries we need.

I uploaded the following packages:

* haskell-hslua-cli_v1.3.0-1,
* haskell-hslua-module-doclayout_v1.1.0-1
* haskell-hslua-module-zip_v1.1.0-1

I believe the next step is to update pandoc to 3.0.1, so we can then
package pandoc-lua-engine, pandoc-server and eventually pandoc-cli.

Jonas, how can I help move this forward? Pandoc is the last blocker to
finish the Haskell transition.

-- 
Ilias



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Ilias Tsitsimpis
On Thu, Nov 16, 2023 at 10:16PM, Jonas Smedegaard wrote:
> Quoting John MacFarlane (2023-11-16 19:25:17)
> > Removing lua support would be most unfortunate!  If you need help from 
> > upstream in getting things to work, let me know.
> 
> I agree: Pandoc with its core scripting language disabled is a severely
> crippled Pandoc.

Understood, but I am not really sure how to move forward, since Pandoc
doesn't fully support the latest Stackage LTS. I can help with
packaging/upgrade libraries if you can provide the right set of
libraries we need.

-- 
Ilias



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Jonas Smedegaard
Quoting John MacFarlane (2023-11-16 19:25:17)
> Removing lua support would be most unfortunate!  If you need help from 
> upstream in getting things to work, let me know.

I agree: Pandoc with its core scripting language disabled is a severely
crippled Pandoc.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Ilias Tsitsimpis
Hi John,

On Thu, Nov 16, 2023 at 10:25AM, John MacFarlane wrote:
> Removing lua support would be most unfortunate!  If you need help from 
> upstream in getting things to work, let me know.

We are currently tracking the latest Stackage LTS, and Lua support is
not enabled for Pandoc there (see also [1]).

It would help if you can give us a list of packages/versions we need to
use in order to compile pandoc-cli with Lua support using the latest
Stackage LTS.

[1] 
https://github.com/commercialhaskell/stack/issues/6260#issuecomment-1751302985

Thanks,

-- 
Ilias



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread John MacFarlane
Removing lua support would be most unfortunate!  If you need help from upstream 
in getting things to work, let me know.



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Ilias Tsitsimpis
Hi Jonas,

On Thu, Nov 16, 2023 at 01:28PM, Jonas Smedegaard wrote:
> Upstream project has restructured to now be organized as multiple
> projects to be built as dependencies of each other.
> 
> I had hoped to be able to orchestrate such chain-of-builds internally in
> the single source package, but the Haskell build helper tools seem to be
> in too bad shape for that: Apparently all Haskell packages use CDBS
> which is quite cumbersome to use for "looping" subtasks, and both of the
> two available non-CDBS debhelper tools existing in Debian are broken.

I would suggest packaging these libraries as distinct packages in
Debian, not only because our tooling doesn't support the other way, but
also because these are distinct packages in Hackage, with different
versions/releases. Essentially treat Hackage as the source of truth, and
not the git (mono-) repo.

> I therefore give up on that approach, and see no other way forward than
> to introduce the libraries of Pandoc as a new source package, and then
> have the existing src:pandoc package depend on that to build the binary.
> 
> I will now file an RFP for that new dependent package, in the hope that
> the Haskell team can adopt maintenance of that.

Please let me know of any missing libraries, and I will package them
ASAP. I thought we had everything in Debian until now. See also my
message here [1], where I point to the new pandoc-cli package, and the
fact that Lua support is currently broken, and maybe it's best to
disable it for now.

Let me know how I can help.

[1] https://lists.debian.org/debian-haskell/2023/11/msg4.html

Best,

-- 
Ilias



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Jonas Smedegaard
Quoting Paul Gevers (2023-11-16 11:22:45)
> On Thu, 12 Oct 2023 06:36:05 +0200 Jonas Smedegaard  wrote:
> > Quoting Scott Talbert (2023-10-12 02:33:45)
> > > It looks like pandoc can be updated to v3.0.1 and be compatible with the 
> > > dependencies that are in unstable currently (LTS 21).  Can you please let 
> > > us know if there are any dependencies still missing?
> 
> > I will look at it soon - probably this upcoming weekend.
> 
> Is there any progress with fixing this bug? It seems that this issue is 
> one of the last blocking issues in the haskell transition. src:pandoc is 
> a key package, we can't easily remove it from testing to "fix" the blockage.

Thanks for pinging/nudging, Paul.

Upstream project has restructured to now be organized as multiple
projects to be built as dependencies of each other.

I had hoped to be able to orchestrate such chain-of-builds internally in
the single source package, but the Haskell build helper tools seem to be
in too bad shape for that: Apparently all Haskell packages use CDBS
which is quite cumbersome to use for "looping" subtasks, and both of the
two available non-CDBS debhelper tools existing in Debian are broken.

I therefore give up on that approach, and see no other way forward than
to introduce the libraries of Pandoc as a new source package, and then
have the existing src:pandoc package depend on that to build the binary.

I will now file an RFP for that new dependent package, in the hope that
the Haskell team can adopt maintenance of that.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-11-16 Thread Paul Gevers

Hi,

On Thu, 12 Oct 2023 06:36:05 +0200 Jonas Smedegaard  wrote:

Quoting Scott Talbert (2023-10-12 02:33:45)
> It looks like pandoc can be updated to v3.0.1 and be compatible with the 
> dependencies that are in unstable currently (LTS 21).  Can you please let 
> us know if there are any dependencies still missing?



I will look at it soon - probably this upcoming weekend.


Is there any progress with fixing this bug? It seems that this issue is 
one of the last blocking issues in the haskell transition. src:pandoc is 
a key package, we can't easily remove it from testing to "fix" the blockage.


Paul


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-10-11 Thread Jonas Smedegaard
Quoting Scott Talbert (2023-10-12 02:33:45)
> It looks like pandoc can be updated to v3.0.1 and be compatible with the 
> dependencies that are in unstable currently (LTS 21).  Can you please let 
> us know if there are any dependencies still missing?

Exciting!

I will look at it soon - probably this upcoming weekend.

Thanks,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-10-11 Thread Scott Talbert

On Sun, 8 Oct 2023, Adrian Bunk wrote:


Source: pandoc
Version: 2.17.1.1-3
Severity: serious
Tags: ftbfs

builddeps:pandoc : Depends: libghc-aeson-dev (< 2.1) but 2.1.2.1-4 is to be 
installed
   Depends: libghc-doclayout-dev (< 0.4) but 0.4.0.1-1 is to be 
installed
   Depends: libghc-haddock-library-dev (< 1.11) but 1.11.0-1 is 
to be installed
   Depends: libghc-hslua-aeson-dev (< 2.2) but 2.3.0.1-1 is to 
be installed
   Depends: libghc-hslua-marshalling-dev (< 2.2) but 2.3.0-1 is 
to be installed
   Depends: libghc-jira-wiki-markup-dev (< 1.5) but 1.5.1-1 is 
to be installed
   Depends: libghc-pandoc-types-dev (< 1.23) but 1.23.1-1 is to 
be installed


Hi Jonas,

It looks like pandoc can be updated to v3.0.1 and be compatible with the 
dependencies that are in unstable currently (LTS 21).  Can you please let 
us know if there are any dependencies still missing?


Scott



Bug#1053686: pandoc: cannot fulfill the build dependencies

2023-10-08 Thread Adrian Bunk
Source: pandoc
Version: 2.17.1.1-3
Severity: serious
Tags: ftbfs

 builddeps:pandoc : Depends: libghc-aeson-dev (< 2.1) but 2.1.2.1-4 is to be 
installed
Depends: libghc-doclayout-dev (< 0.4) but 0.4.0.1-1 is to 
be installed
Depends: libghc-haddock-library-dev (< 1.11) but 1.11.0-1 
is to be installed
Depends: libghc-hslua-aeson-dev (< 2.2) but 2.3.0.1-1 is to 
be installed
Depends: libghc-hslua-marshalling-dev (< 2.2) but 2.3.0-1 
is to be installed
Depends: libghc-jira-wiki-markup-dev (< 1.5) but 1.5.1-1 is 
to be installed
Depends: libghc-pandoc-types-dev (< 1.23) but 1.23.1-1 is 
to be installed