Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Turris Build Turris Build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 71
    • Issues 71
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Turris OS
  • Turris BuildTurris Build
  • Merge requests
  • !62

Closed
Created Nov 24, 2019 by Josef Schlehofer@jschlehoferMaintainer
  • Report abuse
Report abuse

Wget: don't compile non-ssl variant and use gnu-wget instead of uclient-fetch

  • Overview 9
  • Commits 3
  • Changes 4

Our users notified us that Subordinates tab is no longer present in Foris in HBT branch and above. I've tested it on Turris 1.1 running the latest HBK build and I am able to reproduce it.

root@turris:~# opkg install foris-subordinates-plugin
Installing foris-subordinates-plugin (0.4-3.6-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/turrispackages/foris-subordinates-plugin_0.4-3.6-1_powerpc_8540.ipk
Installing dtc (1.4.6-2.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/packages/dtc_1.4.6-2_powerpc_8540.ipk
Installing uboot-mkimage (2018.03-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/core/uboot-mkimage_2018.03-1_powerpc_8540.ipk
Installing wget-nossl (1.19.5-3.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/packages/wget-nossl_1.19.5-3_powerpc_8540.ipk
Installing turris-netboot-tools (0.6.0-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/turrispackages/turris-netboot-tools_0.6.0-1_powerpc_8540.ipk
Configuring uboot-mkimage.
Configuring wget-nossl.
Configuring dtc.
Collected errors:
 * opkg_download: Failed to download https://repo.turris.cz/hbk/turris1x/packages/turrispackages/turris-netboot-tools_0.6.0-1_powerpc_8540.ipk, wget returned 1.
 * opkg_install_pkg: Failed to download turris-netboot-tools. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package foris-subordinates-plugin.
root@turris:~# opkg update
Downloading https://repo.turris.cz/hbk/turris1x/packages/core/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbk/turris1x/packages/core/Packages.gz

It seems that the proposed solution from PR https://gitlab.labs.nic.cz/turris/turris-build/merge_requests/52 is not sufficient. When I installed gnu-wget it was better. It chose wget with SSL. I'm in favor to use gnu-wget instead of uclient-fetch which provides wget. See: https://github.com/openwrt/packages/issues/9456#issuecomment-510729460

Anyway, the sizes of wget and wget-nossl

  • wget-nossl: 176K
  • wget: 194K

The difference is 18K, so let's don't compile wget-nossl and it will save us a lot of troubles.

Edited Nov 24, 2019 by Josef Schlehofer
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wget-nossl