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

Bug#1068188: pthread_cond_init.3.gz: conflict with manpages-dev 6.7-1



Control: severity -1 normal

On 2024-04-03 11:29 +0200, Alejandro Colomar wrote:

> Hi,
>
> On Tue, Apr 02, 2024 at 08:58:32PM +0200, Aurelien Jarno wrote:
>> Thanks, that sounds great that we can finally get rid out of those in
>> the debian package.
>>
>> > 	$ git diff --stat b06cd070f..128a3ae35
>> > 	 man3/pthread_cond_init.3            | 264 ++++++++++++++++++++
>> > 	 man3/pthread_condattr_init.3        |  48 ++++
>> > 	 man3/pthread_key_create.3           | 178 +++++++++++++
>> > 	 man3/pthread_mutex_init.3           | 241 ++++++++++++++++++
>> > 	 man3/pthread_mutexattr_setkind_np.3 |  52 ++++
>> > 	 man3/pthread_once.3                 |  44 ++++
>> > 	 6 files changed, 827 insertions(+)
>
> I now see that `apt-file show glibc-doc` shows several more pages.  I'll
> have a look at them and maybe I also import them into the Linux
> man-pages project.

AFAICS all of them have already been added there, right?

>> > Debian's manpages-dev_6.7-1_all.deb has been the first package since
>> > that happened, and I've noticed that dpkg(1) (via apt-get(8)) refuses to
>> > upgrade manpages-dev due to a conflict with glibc-doc.
>> >
>> > 	$ sudo apt-get upgrade -V;
>> > 	[...]
>> > 	Do you want to continue? [Y/n] y
>> > 	Reading changelogs... Done
>> > 	(Reading database ... 404853 files and directories currently installed.)
>> > 	Preparing to unpack .../manpages-dev_6.7-1_all.deb ...
>> > 	Unpacking manpages-dev (6.7-1) over (6.05.01-1) ...
>> > 	dpkg: error processing archive /var/cache/apt/archives/manpages-dev_6.7-1_all.deb (--unpack):
>> > 	 trying to overwrite '/usr/share/man/man3/pthread_cond_init.3.gz', which is also in package glibc-doc 2.38-6
>> > 	Errors were encountered while processing:
>> > 	 /var/cache/apt/archives/manpages-dev_6.7-1_all.deb
>> > 	needrestart is being skipped since dpkg has failed
>> > 	E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> I think this is actually not specific to the experimental version, those
>> manpages are also in the unstable version.
>
> Right.  I only installed the experimental one to see if the bug had
> been fixed (as reportbug(1) suggested trying it).
>
>> > Please, remove from glibc-doc those manual pages that conflict with
>> > manpages-dev.
>>
>> Noted. However following the time_t transition, the glibc package does
>> not build anymore on 32-bit architectures (i have just opened #1059937
>> to make people aware of that), so uploading a new glibc now is probably
>> not the best idea.
>
> Hmm, maybe you can drop the manual pages, but not upload yet, and wait
> for that bug to be fixed to do an upload without the pages.

Note that manpages-dev 6.7-2 has dropped the clashing files for the time
being.  I do not think there is any need to hurry, so I am downgrading
the severity of this bug.  Whenever the glibc-doc package in unstable
drops the manpages, we should file a bug against manpages-dev to include
them again.

Cheers,
       Sven


Reply to: