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

cracklib-update missing from tarball. #52

Closed
ht990332 opened this issue Mar 4, 2023 · 11 comments
Closed

cracklib-update missing from tarball. #52

ht990332 opened this issue Mar 4, 2023 · 11 comments

Comments

@ht990332
Copy link

ht990332 commented Mar 4, 2023

Hello. This might be my bad eyesight :) but I believe cracklib-update script is missing from the release tarball but is actually called from the Makefile.

https://github.com/cracklib/cracklib/releases/download/v2.9.9/cracklib-2.9.9.tar.bz2

@p-linnane
Copy link

Also seen in Homebrew/homebrew-core#124807

@atsampson
Copy link

The man pages in the doc directory are also missing from the tarball.

It would be a good idea to test that building from the tarball works as part of the release process.

@srcshelton
Copy link

#53 doesn't actually fix this issue - with that patch applied:

Making all in util
make[2]: Entering directory '/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9-abi_x86_64.amd64/util'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util -I..  -I. -I.. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/lib '-DDEFAULT_CRACKLIB_DICT="/usr/lib/cracklib_dict"' '-DLOCALEDIR="/usr/share/locale"' -Wall   -O2 -march=skylake -mabm -pipe -c -o packer.o /var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util/packer.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util -I..  -I. -I.. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/lib '-DDEFAULT_CRACKLIB_DICT="/usr/lib/cracklib_dict"' '-DLOCALEDIR="/usr/share/locale"' -Wall   -O2 -march=skylake -mabm -pipe -c -o unpacker.o /var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util/unpacker.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util -I..  -I. -I.. -I/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/lib '-DDEFAULT_CRACKLIB_DICT="/usr/lib/cracklib_dict"' '-DLOCALEDIR="/usr/share/locale"' -Wall   -O2 -march=skylake -mabm -pipe -c -o check.o /var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9/util/check.c
make[2]: *** No rule to make target 'cracklib-update', needed by 'all-am'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9-abi_x86_64.amd64/util'
make[1]: *** [Makefile:442: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-libs/cracklib-2.9.9/work/cracklib-2.9.9-abi_x86_64.amd64'
make: *** [Makefile:372: all] Error 2

@TimB87
Copy link

TimB87 commented Mar 15, 2023

@nneul I have the same problem packaging the update for CRUX.

@nneul nneul closed this as completed in f795a7d Mar 15, 2023
nneul added a commit that referenced this issue Mar 15, 2023
Add missing files to dist package (fixes #52)
@nneul
Copy link
Contributor

nneul commented Mar 15, 2023

Thank you.

@p-linnane
Copy link

The patch that was merged does not result in a successful build for cracklib. I am seeing the same errors as @srcshelton posted above.

@nneul
Copy link
Contributor

nneul commented Mar 15, 2023

I'm actually not seeing any issues building with current head of main? Can you elaborate?

@nneul nneul reopened this Mar 15, 2023
@heirecka
Copy link

Well, applying the patch will only fix generating a new tarball, it'll do nothing for 2.9.9 when applied to that.

@nneul
Copy link
Contributor

nneul commented Mar 15, 2023

If I can get a few people to sign off on tarballs built from current head, I'll get 2.9.10 packaged and uploaded.

@heirecka
Copy link

Just built a tarball generated with make dist sucessfully.

@p-linnane
Copy link

Confirming that I was able to build HEAD with Hombrew.

@nneul nneul closed this as completed Mar 16, 2023
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

7 participants