Opened 2 years ago

Last modified 9 months ago

#64409 new defect

cdrtools installs manpages for system functions

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.99
Keywords: Cc:
Port: cdrtools

Description

The cdrtools port installs manpages which describe system functions. For example:

$ port provides /opt/local/share/man/man3/strlen.3.gz
/opt/local/share/man/man3/strlen.3.gz is provided by: cdrtools

If I look up the manpage for strlen by using man strlen, this manpage from cdrtools is displayed, hiding the system strlen manpage which I actually wanted to see.

Change History (2)

comment:1 Changed 20 months ago by msbit (Tom Sullivan)

I just noticed this also, when looking for sprintf, and found the issue described here:

https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-8-1-cdrtools-overwrites-system-man-pages-4175622249/

and that Homebrew does the following to remove the manpages from the output:

https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/cdrtools.rb#L40-L45

comment:2 Changed 9 months ago by jleroy (Jonathan Leroy)

I can't upgrade smake because of this issue:

$ sudo port upgrade outdated
--->  Computing dependencies for cdrtools
The following dependencies will be installed:  smake
Continue? [Y/n]: Y
--->  Activating smake @1.7-2023-04-19_0
Error: Failed to activate smake: Image error: /opt/local/share/man/man5/makefiles.5.gz is being used by the active cdrtools port.  Please deactivate this port first, or use 'port -f activate smake' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Note: See TracTickets for help on using tickets.