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

does not create deb file but directory instead #12

Open
flip111 opened this issue Feb 11, 2017 · 5 comments
Open

does not create deb file but directory instead #12

flip111 opened this issue Feb 11, 2017 · 5 comments
Assignees

Comments

@flip111
Copy link

flip111 commented Feb 11, 2017

Hi, i wanted to create a package for mercury and name the deb file like mercury_14.01.1_amd64.deb instead i get a directory like mercury_14.01.1_amd64__dbp__ with what looks like could be the contents of the deb file.

@AntumDeluge
Copy link
Member

AntumDeluge commented Feb 15, 2017

What version of Debreate are you using? That is the stage directory where the files are stored temporarily for creating the .deb package. But, it looks like an error is occurring before that causing the package build to fail & leave the staged directory.

-- Edit --

If you run it from a terminal, is there any error message after trying to build?

@flip111
Copy link
Author

flip111 commented Feb 15, 2017

I use debreate 0.7.13. On my second attempt i ran out of disc space, so that made me look at the first folder it had created, which is unexpectedly very big. The files i want in the package are 5253 items, totalling 1,0 GB, while the created temporary directory is 445686 items, totalling 8,5 GB. I investigated where the size difference comes from and found the following:

in the source directory ~/programs/mercury/lib/mercury/ints/reg.gc/Mercury there is a symbolic link opts -> ..
Why? i don't know it's just the way it was installed by make install

debreate seems unaware that it is a symbolic link because it just created a normal directory instead and keeps copying all the files until some recursion limit (in the directory tree) or running out of disc space.

Can debreate not handle symbolic links??

@AntumDeluge
Copy link
Member

AntumDeluge commented Feb 15, 2017

No, it currently cannot handle symbolic links. But, I don't think it would be too hard fix. I will add it to my TODO list.

Thank you for pointing this out.

@AntumDeluge
Copy link
Member

Added to TODO list: 948667c

AntumDeluge added a commit that referenced this issue Aug 10, 2019
@AntumDeluge
Copy link
Member

Should be fixed with commit 68533a3. Although, it may not work for nested symbolic links. Will be releasing a new testing version soon.

@AntumDeluge AntumDeluge self-assigned this Aug 10, 2019
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