1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00
Nick Liu b893cba9b6
CI: Fix acceptance test setup failure
Should fix this SaltStack error:

```
[ERROR   ] Command '/opt/saltstack/salt/salt-pip' failed with return code: 1
[ERROR   ] stdout: Collecting mysqlclient
  Downloading mysqlclient-2.2.0.tar.gz (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.5/89.5 kB 10.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
[ERROR   ] stderr:   error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      /bin/sh: 1: pkg-config: not found
      /bin/sh: 1: pkg-config: not found
      Trying pkg-config --exists mysqlclient
      Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.
      Trying pkg-config --exists mariadb
      Command 'pkg-config --exists mariadb' returned non-zero exit status 127.
      Traceback (most recent call last):
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 154, in <module>
        File "<string>", line 48, in get_config_posix
        File "<string>", line 27, in find_package_name
      Exception: Can not find valid pkg-config name.
      Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
[ERROR   ] retcode: 1
[ERROR   ] Failed to install packages: mysqlclient. Error: Collecting mysqlclient
  Downloading mysqlclient-2.2.0.tar.gz (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.5/89.5 kB 10.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'   error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      /bin/sh: 1: pkg-config: not found
      /bin/sh: 1: pkg-config: not found
      Trying pkg-config --exists mysqlclient
      Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.
      Trying pkg-config --exists mariadb
      Command 'pkg-config --exists mariadb' returned non-zero exit status 127.
      Traceback (most recent call last):
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-8d1ymhy3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 154, in <module>
        File "<string>", line 48, in get_config_posix
        File "<string>", line 27, in find_package_name
      Exception: Can not find valid pkg-config name.
      Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
[ERROR   ] State 'mysql_user.present' was not found in SLS 'e107-dev'
Reason: 'mysql_user' __virtual__ returned False: mysql module could not be loaded

[ERROR   ] State 'mysql_user.present' was not found in SLS 'e107-dev'
Reason: 'mysql_user' __virtual__ returned False: mysql module could not be loaded

[ERROR   ] State 'mysql_database.present' was not found in SLS 'e107-dev'
Reason: 'mysql_database' __virtual__ returned False: mysql module could not be loaded
```
2023-06-22 20:46:10 -05:00
2022-04-04 14:46:42 -07:00
2023-06-14 14:37:56 -05:00
2023-04-12 15:32:48 -07:00
2023-04-21 11:17:43 -07:00
2021-01-16 10:02:52 -08:00
2021-04-12 10:00:18 -07:00
2023-06-22 09:47:35 -07:00
2021-08-31 00:11:14 +02:00
2020-12-10 15:52:48 -08:00
2022-03-10 12:54:22 -08:00
2012-05-05 02:16:48 +00:00
2022-10-07 12:41:36 +02:00
2019-02-09 20:37:48 +01:00
2010-02-10 18:18:01 +00:00
2021-01-22 13:44:10 -08:00
2022-12-10 07:17:42 -08:00
2021-09-06 21:05:07 +02:00
2020-12-10 15:52:48 -08:00
2021-05-05 22:37:56 +02:00
2023-03-20 16:21:31 -07:00
2021-03-01 16:41:09 -08:00

e107 Content Management System

GitHub release GitHub Workflow "Unit Tests" Status Code coverage Join the chat at https://gitter.im/e107inc/e107 Download e107

e107 is a free and open-source content management system (CMS) which allows you to manage and publish your content online with ease. Developers can save time in building websites and powerful online applications. Users can avoid programming completely! Blogs, websites, intranets e107 does it all.

Table of Contents

Requirements

Minimum

  • A web server (Apache or Microsoft IIS) running PHP 5.6 or newer
  • MySQL 4.x or newer, or MariaDB
  • FTP access to your web server and an FTP client (such as FileZilla)
  • Username and password to your MySQL database
  • Apache 2.4 or newer on Linux
  • PHP 7.4 or newer
  • MySQL 5.6 or newer, or MariaDB 10.3 or newer
  • A registered domain name
  • Access to a server control panel (such as cPanel)

Installation

Standard Installation

  1. Download e107.
  2. Unzip/Extract the compressed file onto your desired web root. This is often a folder called public_html.
  3. Point your browser to the install.php script (e.g., https://example.com/subfolder/install.php)
  4. Follow the installation wizard in your browser.

Git Installation (developer version)

  1. Run the following commands, replacing '~' with your document root (the parent of public_html) and xxx:xxx is the intended owner of your e107 files.
    cd ~
    git clone https://github.com/e107inc/e107.git public_html	
    chown -R xxx:xxx public_html 
    
  2. Point your browser to the install.php script (e.g., https://example.com/subfolder/install.php)
  3. Follow the installation wizard in your browser.

Reporting Bugs

Be sure you are using the most recent version of e107 prior to reporting an issue. You may report any bugs and make feature requests e107's GitHub Issues page.

Contributing to Development

  • Please submit 1 pull request for each GitHub issue you work on.
  • Make sure that only the lines you have changed actually show up in a file-comparison (diff). Some text editors alter every line; this should be avoided.
  • It is recommended to configure git pull to rebase on the master branch by default to avoid unnecessary merge commits. You can set this up in your copy of the repo's .git/config file like so:
    [branch "master"]
      rebase = true
    
  • See the CONTRIBUTING document for a tutorial on getting started.

Donations

If you like e107 and wish to help it to improve, please consider making a small donation.

  • PayPal: donate (at) e107.org

Support

Having trouble getting e107 up and running? Something not working the way you think it should? Unfortunately we don't have time to maintain a full e107 support community ourselves, but there are a few ways to get help.

  • If you think you have found a bug, then please see the section below on Reporting Bugs.
  • If you need help with how to use e107 or a development question (such as how to create a theme or plugin) - please see our docs.
  • You can also seek assistance in the Github Discussions area where you can get friendly community support from other users.
  • For real-time technical chat, and community support, please visit us on Gitter.
  • For other comments, please use our official community presences on Facebook, and Twitter as well as unofficial community presences on Google+ and Reddit.

License

e107 is released under the terms and conditions of the GNU General Public License (http://www.gnu.org/licenses/gpl.txt)

Description
No description provided
Readme 128 MiB
Languages
PHP 82.8%
JavaScript 9%
CSS 7.7%
HTML 0.2%
BitBake 0.1%
Other 0.1%