Giter Club home page Giter Club logo

minimalpkg's Issues

missing line in minimalPkg.c

the line
ret = sysinfo(&info);
is missing in minimalPkg.c
why "EXEC= minimalPkg_2 in Makefile ???
should not be EXEC= minimalPkg ???

Unable to build minimalPkg

Hi,

I am trying to build this example package by documentation located at https://developer.synology.com/developer-guide/index.html.

I prepared my environment as is there described:

mkdir -p /toolkit
cd /toolkit
git clone https://github.com/SynologyOpenSource/pkgscripts-ng.git
cd /toolkit/pkgscripts-ng/
./EnvDeploy -v 6.0 -p bromolow

mkdir -p /toolkit/build_env/ds.bromolow-6.0/root/.gnupg/
cp ~/.gnupg/* /toolkit/build_env/ds.bromolow-6.0/root/.gnupg/

Then downloaded minimalPkg:

cd /toolkit
git clone https://github.com/SynologyOpenSource/minimalPkg.git

A builded with:

pkgscripts-ng/PkgCreate.py -p bromolow -c minimalPkg

Unfortunately this results with error:

============================================================
                   Parse argument result                    
------------------------------------------------------------
package      : minimalPkg
env_section  : default
branch       : master
only_install : False
collect      : True
update       : True
build_opt    : 
suffix       : 
sdk_ver      : 6.0
install_opt  : 
dep_level    : 1
install      : True
build        : True
link         : True
env_version  : None
sign         : True
print_log    : False

Traceback (most recent call last):
  File "pkgscripts-ng/PkgCreate.py", line 722, in <module>
    main(sys.argv[1:])
  File "pkgscripts-ng/PkgCreate.py", line 690, in main
    worker_factory = WorkerFactory(args)
  File "pkgscripts-ng/PkgCreate.py", line 136, in __init__
    args.branch, args.suffix)
  File "pkgscripts-ng/PkgCreate.py", line 573, in __init__
    self.dict_env = getBaseEnvironment(package, env_section, version)
  File "pkgscripts-ng/PkgCreate.py", line 682, in getBaseEnvironment
    depends = config_parser.DependsParser(BuildEnv.Project(proj).depends_script)
  File "/toolkit/pkgscripts-ng/include/python/config_parser.py", line 20, in __init__
    raise ConfigNotFoundError(config)
config_parser.ConfigNotFoundError  

Any idea what I am doing wrong?

Unable to Sign package with GPG key

I'm following the guide to create the minimalPkg. I've verified that the gpg key has been created by running gpg -K. I even ran this command by chroot into the build environment.

However, when I run the command to create the package pkgscripts-ng/PkgCreate.py -p x64 -c minimalPkg, I get the following error:

"SignPackageError:
[x64] Gpg key not exist. You can add -S to skip package code sign or import gpg key first."

Any ideas? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.