-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
addpkg(main/cdrkit): 1.1.11-5 #26979
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
base: master
Are you sure you want to change the base?
Conversation
2d50c59 to
3961f1e
Compare
3961f1e to
51c06bc
Compare
adfc28b to
e1a02c3
Compare
|
To point out the obvious, the versioning and source availability for this package is more messy than for a typical package. |
|
It compiles successfully on my local machine, but when using GitHub CI, various problems mysteriously occur. |
|
The CI is most likely running into cross compilation issues since it is building the package on a x86_64 host. |
|
OK, I have found the cause; it's libandroid-glob and libandroid-utimes, they do not link automatically. |
e1a02c3 to
3f27139
Compare
|
Here ld.lld: error: undefined symbol: glob
>>> referenced by scsihack.c
>>> scsihack.c.o:(usalo_maxdma) in archive libusal/libusal.a
>>> referenced by scsihack.c
>>> scsihack.c.o:(usalo_maxdma) in archive libusal/libusal.a
ld.lld: error: undefined symbol: globfree
>>> referenced by scsihack.c
>>> scsihack.c.o:(usalo_maxdma) in archive libusal/libusal.a
clang: error: linker command failed with exit code 1 (use -v to see invocation) |
|
Yep that'd make sense. |
3f27139 to
499670e
Compare
|
Oh, I hate the shell script. |
|
I still think you might wanna consider packaging the |
499670e to
802b7ba
Compare
|
However, it seems that cdrtools has a particularly large number of set*uid calls, making it difficult to modify. |
|
cdrkit is still relatively less common |
|
I'm not certain either version of the utilities would even work without root privileges. |
|
set*uid is not supported on Android and will trigger EOSYSCALL |
Sure, my device doesn't have root access, but it can normally package an ISO. |
|
Okay that's good. |
I'm trying. I hope it can successful build. |
802b7ba to
f91adbc
Compare
|
I have tried every possible method, but CMake just refuses to link these two libraries. |
236e618 to
b13691e
Compare
|
IT WORKED! |
I might want to revise this package, but it might take me some time, wait a while |
|
I have already annotated these parts in my patch. These parts are designed for security purposes, intended to discard temporary root privileges and run with reduced permissions, which are not needed on Android at all. At the same time, some functions of this package actually require root privileges, but I guess currently no one can use an Android phone to read a real CD. |
Not only can Android-x86 run on devices which can theoretically have internal CD drives, but also I have a USB CD drive which can plug into a phone USB port and I don't know if it actually would do anything if I did that but I could test it. |
|
Sure, you can give it a try. If it works, I will move this package to the root-packages directory. |
|
Well actually, in my opinion only packages which do nothing useful at all without root should be in the root-packages folder, and packages which have some commands working without root and some commands which require root should be in the main packages folder, so since you already used this without root, it should not be in the root-packages folder. |
|
Okay |
I am waiting for your good news. |
|
Is the testing progressing smoothly? |
|
Yes but right now I am working on this other PR first and when I finish I will work on this one |
|
OKay |
b13691e to
c5b73d7
Compare
|
I found that this report description was referring to Debian, so I made some modifications. |
f02e047 to
4c50821
Compare
|
@robertkirkman Do you think I should replace the 'report' description in the help information of all commands in cdrkit with my own email or with information directing users to submit issues to the termux-package repository? |
Or keep it as it is |
Here |
Please replace it with this kind of message: "Report problems to https://github.com/termux/termux-packages/issues" I don't think it is necessary to insert [email protected], because issues should be publicly visible and not in private email. |
|
OKay |
4c50821 to
bcc83f6
Compare
|
I modified it |
|
Ok nice, I am finished with the PR I mentioned before, and now I'm working on part of this other issue, and then after I finish that I will review this PR more. |
|
Okay, I was just looking to see if there was anything else that could be optimized. |
|
Okay, at least for now I don't think there's much left to optimize. |

@robertkirkman I think that I did it.



cdrkit is a command-line toolkit for creating and burning CD/DVD image files.