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

validator breaks with leading spaces in BDep versioning #246

Open
nieder opened this issue Jan 16, 2023 · 0 comments
Open

validator breaks with leading spaces in BDep versioning #246

nieder opened this issue Jan 16, 2023 · 0 comments

Comments

@nieder
Copy link
Member

nieder commented Jan 16, 2023

$ fink validate x11/libxaw3dxft.info 
Validating package file x11/libxaw3dxft.info...
Use of uninitialized value $1 in string eq at /sw/lib/perl5/Fink/Services.pm line 1291.
Use of uninitialized value $1 in string eq at /sw/lib/perl5/Fink/Services.pm line 1291.
Error: use of PatchFileN requires declaring a BuildDepends, Depends, or (rarely) Pre-Depends on:
	fink (>= 0.30.0)

libxaw3dxft.info does in fact use PatchFile2, but it does list fink ( >= 0.30.0 ) in BDep.

BuildDepends: <<
	x11-dev, 
	fink-package-precedence (>=0.31-1), 
	fontconfig2-dev, 
	freetype219, 
	xft2-dev, 
	pkgconfig,
	fink ( >= 0.30.0 ),
	automake1.15,
	autoconf2.6 (>= 2.69-5),
	libtool2,
	util-macros,
	system-xfree86-dev (>= 3:2.7.112-3)
<<

The space between the opening ( and the >= breaks the validator. If I remove that, then the validator is happy. It doesn't care about the trailing space.

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

1 participant