Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lintian info on Debian package #22

Open
yuzibo opened this issue Apr 15, 2024 · 1 comment
Open

lintian info on Debian package #22

yuzibo opened this issue Apr 15, 2024 · 1 comment

Comments

@yuzibo
Copy link

yuzibo commented Apr 15, 2024

Hi,

I am packaging this package to Debian. But now I get one lintian info as follows:

I: liblinenoise-ocaml-dev: unstripped-static-library (lNoise.o) [usr/lib/ocaml/linenoise/linenoise.a]

This is not a real issue from my review. But on Debian, there is one tool called debhelper(dh_strip) to strip these static libraries like libstatic-library.a name scheme:

# Is it a static library, and not a debug library?
	if ($fn =~ m/\/lib[^\/]*\.a$/ && $fn !~ m/.*_g\.a$/) {
		# Is it a binary file, or something else (maybe a linker
		# script on Hurd, for example? I don't use file, because
		# file returns a variety of things on static libraries.
		if (-B $fn) {
			push @static_libs, $fn;
			return;
		}
	}

I can use lintian-override to override the info on the package. But before do this, I should forward this upstream and could I ask if we can convert linenoise.a to liblinenoise.a?

TIA.

@c-cube
Copy link
Member

c-cube commented Sep 26, 2024

Sorry, I forgot about this. Changing linenoise.a to liblinenoise.a seems fine to me, I think — it wouldn't be visible from the outside anyway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants