OpenWrt Forum Archive

Topic: About "missing" packages in Barrier Breaker and trunk

The content of this topic has been archived between 26 Feb 2018 and 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I need to clarify something, so if I want to install a current (CC) trunk snapshot onto Archer C7v2, will the snapshot image come already pre-configured to use package from https://downloads.openwrt.org/snapshots … /packages/ or will I need to edit the opkg.conf file?

As far as I understand the whole snapshots folder is recompiled periodically from trunk -- does that mean that if I download and install the snapshot image onto my router let's say on November 27th, then sometime in 2015 the snapshot *packages* may be incompatible with my 'November' OpenWrt install?

Thks a lot for the new openwrt version.
fetchmail is missing, even from the oldpackages repo. Any tip about it? Could it be voluntary?

Any help appreciated!

stangri wrote:

I need to clarify something, so if I want to install a current (CC) trunk snapshot onto Archer C7v2, will the snapshot image come already pre-configured to use package from https://downloads.openwrt.org/snapshots … /packages/ or will I need to edit the opkg.conf file?

As far as I understand the whole snapshots folder is recompiled periodically from trunk -- does that mean that if I download and install the snapshot image onto my router let's say on November 27th, then sometime in 2015 the snapshot *packages* may be incompatible with my 'November' OpenWrt install?

Anyone?

/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41/modobj26/ipsec_proc.c:1031:9: error: dereferencing pointer to incomplete type
     item->write_proc = it->writething;
         ^
/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41/modobj26/ipsec_proc.c:1032:9: error: dereferencing pointer to incomplete type
     item->data       = it->data;
         ^
cc1: some warnings being treated as errors
make[7]: *** [/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41/modobj26/ipsec_proc.o] Error 1
make[6]: *** [_module_/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41/modobj26] Error 2
make[6]: Leaving directory `/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49'
make[5]: *** [module26] Error 2
make[5]: Leaving directory `/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41'
make[4]: *** [module] Error 2
make[4]: Leaving directory `/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41'
make[3]: *** [/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/openswan-2.6.41/.built] Error 2
make[3]: Leaving directory `/home/vip/openwrt/barrier_breaker/feeds/oldpackages/net/openswan'
make[2]: *** [package/feeds/oldpackages/openswan/compile] Error 2
make[2]: Leaving directory `/home/vip/openwrt/barrier_breaker'
make[1]: *** [/home/vip/openwrt/barrier_breaker/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/vip/openwrt/barrier_breaker'
make: *** [world] Error 2

since openswan is buggy, I  suggest using libreswan or strongwan.

I'm missing chrony and gkrellmd in latest trunk (CC). Is there anybody who is able to add them?

So many packages are missing: ser2net, madplay, mksquashfs,...
These are useful packages and should not have been removed :-(

(Last edited by probono on 10 Jan 2015, 18:47)

Apparently not useful enough for anybody to do the required work of maintaining them.

Sorry, but I am not a programmer, I am a user (with wishes). If I would be able to program, if I would understand enough, I would help and maintain something. But unfortunately I am not. So I wouldn't be a helping hand for the project as another one has to answer all my questions...

jow wrote:

Apparently not useful enough for anybody to do the required work of maintaining them.

The "unmaintained" versions used to work well for me even though they might not have been the latest ones, but now they are entirely gone which is a pity.

I tried to retrieve the old feeds for the mentioned packages and convert them over, but I am really missing step-by-step instructions for (what I assume) should be the following workflow:

1. Get the latest version of the feed from the OpenWrt git repo (how?)
2. Clone the entire OpenWrt feeds repo on GitHub (correct?)
3. Copy the files from step 1 into the cloned GitHub repo from step 2 (I know how to do that)
4. Update the version to the latest upstream's version (I know how to do that)
5. Sign with my real name (I do not want to do this)
6. Check that the package builds on all architectures (how on earth am I supposed to do this without a build farm?)
7. Submit a pull request

If anyone can enlighten me on the precise steps, I am willing to help.

(Last edited by probono on 10 Jan 2015, 23:33)

AFAIK  building a package goes like this:
1. downloading vanila source of package from upstream, untar it.
2. downloading OpenWRT specifik patches, untar, apply them (if they are needed)
3. compiling the package and making .ipk
4. add package to local feed index
All this needs working building enviroment.
Somwhere in that build enviroment there have to be instructions for this steps. Unfortunatly i'm unable to locate them

Guys,

Who are the package maintainers?

I would like apsupsd to be included in daily build. Developers from the project said that package maintainers of openwrt should include their source code as it is free to download.

"..We can't "push" our source code on anyone. It is freely available for download. You need to ask the OpenWRT guys to please update to the latest version of the source..."

Could you please help?

Could someone compile this package for me?

lalamper wrote:

Who are the package maintainers?

I would like apsupsd to be included in daily build. Developers from the project said that package maintainers of openwrt should include their source code as it is free to download.

"..We can't "push" our source code on anyone. It is freely available for download. You need to ask the OpenWRT guys to please update to the latest version of the source..."

Packages are maintained by volunteers...

Packages like apsupsd are located in Openwrt's Github packages repo:
https://github.com/openwrt/packages

The package need an maintainer. Are you volunteering?

Feel free to create a pull request at github, but read this first: https://github.com/openwrt/packages/blo … IBUTING.md

hnyman wrote:

Packages are maintained by volunteers...

Packages like apsupsd are located in Openwrt's Github packages repo:
https://github.com/openwrt/packages

The package need an maintainer. Are you volunteering?

Feel free to create a pull request at github, but read this first: https://github.com/openwrt/packages/blo … IBUTING.md

I would do this, yes, but I do not have enough knowledge of this whole thing. I do not know how it works.

I'd like to perform a quite essential task on my router: print out the IPv6 routing table.

ip -6 route

No such command.

opkg install iproute2

No such package.

The 'netstat' and 'route' commands are provided as built-ins by BusyBox, and don't support IPv6.

Could you please tell me, how am I supposed to query my routing table on my router?

The 'netstat' and 'route' commands are provided as built-ins by BusyBox, and don't support IPv6.

on CHAOS CALMER (Bleeding Edge, r43427) outputs

netstat -a
...
udp        0      0 :::dhcpv6-client        :::*                                
...

and

route -h
route: invalid option -- h
BusyBox v1.22.1 (2014-11-29 12:19:17 CET) multi-call binary.

Usage: route [{add|del|delete}]

Edit kernel routing tables

        -n      Don't resolve names
        -e      Display other/more information
        -A inet{6}      Select address family

route -A inet6
...
::/0                                        ::                                      U     1024   0        6 6in4-henet
...

There is an iproute2 package available - in 2 versions - it's called "ip" see

opkg info ip
opkg info ip-full

What about sane & hplip?

Hi,

I would like to know the difference between this tow commandline:

  make -C feeds/my_projet/new_package/compile

make package/new_package

read the make man page regarding the "-C" option

Why "-C" ? it is not documented to be used with openwrt buildroot. (where did you see that?)

for example with package "nano" all of the following stuff will work

make package/nano/clean
make package/nano/compile
make package/feeds/packages/nano/clean
make package/feeds/packages/nano/compile
make package/feeds/packages/nano/{clean,compile}

you have the "shortcut" with package/<packagename> and the more pathlike with the feedname

I need the "bridge" package (for ar71xx/generic - I have several Archer C7v2's), was I just discovered was in oldpackages.

I installed one about a week ago, which works fine. I need to install another copy, but can't find one, and the one I installed before didn't seem to stick around (at least the ipk file.)

Could someone email me a recent copy or tell where to get one? Alternatively, could I use the ipk from BB (14.07) release?

Thank.

I can't find  mjpg-streamer ipk.  Where is located?

of couse for  brcm2708 platform an barrier breaker 14.07.

Any any troubles or what is no in packages??? Try to compile myself ?
I can't switch to other platform !

Hello, for me it was too difficult to install OpenWRT, so bought a router having it preinstalled  (WDR7500 v3) with Barrier Breaker.

Now I connected via SSH to try to allow HTTPS connection for the web interface. Tried to

opkg install uhttpd-mod-tls
Unknown package 'uhttpd-mod-tls'.
Collected errors:
* opkg_install_cmd: Cannot install package uhttpd-mod-tls.

tried opkg install luci-ssl that seems useful for my aim, but got the same error

Tried
opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … ckages.gz, wget returned 1.

I understand that something changed in package maintenance, but I do not understand what is the problem and particularly if the router that I bought is broken.

Anybody has an idea what should I do?

francus wrote:

Hello, for me it was too difficult to install OpenWRT, so bought a router having it preinstalled  (WDR7500 v3) with Barrier Breaker...
Tried
opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … ckages.gz, wget returned 1.
...
Anybody has an idea what should I do?

your router has "Barrier Breaker", which is not the "trunk" any more. And your version is not even the released Barrier Breaker, as opkg still points to trunk snapshot downloads.

Easiest would be to either update to current trunk or update to released BB14.07.

(Last edited by hnyman on 14 Apr 2015, 15:19)

hnyman wrote:

your router has "Barrier Breaker", which is not the "trunk" any more. And your version is not even the released Barrier Breaker, as opkg still points to trunk snapshot downloads.

Easiest would be to either update to current trunk or update to released BB14.07.

Many thanks hnyman for your very prompt reply. Is there somewhere a tutorial for the two above steps, particularly the first one that seems simplier?