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

Re: doc-base errors, documentation installation



I see the file
```
libnetcdf-dev.doc-base
```
in the debian/ folder [1]. I suppose renaming that to
```
netcdf-doc.doc-base
```
will do the trick. Is that your intention, too?

–Nico

[1] http://anonscm.debian.org/cgit/pkg-grass/netcdf.git/tree/debian?h=split-c-f-cxx

On Thu, Jan 8, 2015 at 4:00 PM, Nico Schlömer <nico.schloemer@gmail.com> wrote:
>> moving the doc-base file to libnetcdf-doc should be the right
>> way forward.
>
> Alright, I'll see to that.
>
>> I wanted to reproduce your problem, but was unable because the source
>> package in git is different from the source you're working with.
>
> I'm working in [1], but replace the sources daily (locally) to make
> sure the next version of netCDF will build correctly, too. Once we
> have a netCDF release (in about two weeks, if the devs' projection is
> alright), I'll push it to alioth too.
>
> –Nico
>
>
> [1] http://anonscm.debian.org/cgit/pkg-grass/netcdf.git/log/?h=split-c-f-cxx
>
>
>
> On Thu, Jan 8, 2015 at 1:28 PM, Sebastiaan Couwenberg
> <sebastic@xs4all.nl> wrote:
>> Hi Nico,
>>
>> First of all thanks for your work on NetCDF!
>>
>>> The package I'm looking at is netCDF [1] which – apart from the
>>> library and headers – installs the file
>>> ```
>>> $ cat /usr/share/doc-base/netCDF
>>
>> Interestingly there is no doc-base file in the souce package. Do you have
>> local changes not yet available in the git repository?
>>
>> http://anonscm.debian.org/cgit/pkg-grass/netcdf.git
>>
>>> Document: netCDF
>>> Title: NetCDF Manual
>>> Author: Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed
>>> Hartnett, Dennis Heimbigner, Ward Fisher
>>> Abstract: This manual describes what netCDF is, and how it can be used.
>>> Section: File Management
>>>
>>> Format: HTML
>>> Index: /usr/share/doc/netCDF/index.html
>>> Files: /usr/share/doc/netCDF/*.html
>>> ```
>>> and of course a bunch of files in
>>> ```
>>> $ ls /usr/share/doc/netCDF/*
>>> [...]
>>> ```
>>> Up until now, I've always put all files of `/usr/share/doc/netCDF/*`
>>> into libnetcdf-doc, and the file `/usr/share/doc-base/netCDF` into the
>>> libnetcdf-dev package. With this, however, I'm getting
>>
>> The doc-base file should be in the same package as the documention it
>> references, moving the doc-base file to libnetcdf-doc should be the right
>> way forward.
>>
>>> ```
>>> $ install-docs --verbose --check /usr/share/doc-base/netCDF
>>> Warning in `/usr/share/doc-base/netCDF', line 1: invalid value of
>>> `Document' field.
>>> Warning in `/usr/share/doc-base/netCDF', line 9: file
>>> `/usr/share/doc/netCDF/index.html' does not exist.
>>> Error in `/usr/share/doc-base/netCDF', line 9: all `Format' sections
>>> are invalid.
>>> ```
>>> The second warning I understand, but I'm not sure how to best fix it.
>>> Move `/usr/share/doc-base/netCDF` into the doc package?
>>> The first warning and the error I don't understand.
>>>
>>> Ideas, anyone?
>>
>> I wanted to reproduce your problem, but was unable because the source
>> package in git is different from the source you're working with.
>>
>> Kind Regards,
>>
>> Bas
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: [🔎] dc1865af115c87de23ff214a21d330eb.squirrel@webmail.xs4all.nl">https://lists.debian.org/[🔎] dc1865af115c87de23ff214a21d330eb.squirrel@webmail.xs4all.nl
>>


Reply to: