#80 closed defect (fixed)
*.deb not found
Reported by: | dk_giuse <ciusss@…> | Owned by: | stappers |
---|---|---|---|
Priority: | major | Milestone: | milestone: |
Component: | debian/packages | Version: | 2.0 |
Severity: | Keywords: | ||
Cc: |
Description (last modified by stappers)
I run "make menuconfig", and i select my architecture (ar71xx../ routerstation pro), i run: "make openwrt/menuconfig" for add kernel modules.
I run compiling with "make"
./bin/genwepkey.sh ./var/ ./var/run/ ./var/run/sshd/ touch debian/rootfs/files-install mkdir -p /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/bin/ar71xx-angel-2.0-1-default/debian cp -rav /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl/*.deb /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/bin/ar71xx-angel-2.0-1-default/debian cp: cannot stat `/home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl/*.deb': No such file or directory make: *** [debian/package/libnl/deliver] Error 1 giuse@EE-pc:~/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt$
Attachments (2)
Change History (22)
comment:1 Changed 11 years ago by stappers
- Component changed from debian to packages
- Description modified (diff)
- Owner changed from amain to stappers
- Status changed from new to accepted
comment:2 follow-up: ↓ 3 Changed 11 years ago by dk_giuse <ciusss@…>
Hi,
I have the same error compiling it on my laptop.
I use debian testing on my desktop pc, and debian unstable on my laptop. All distributions are upgrade at today.
giuse@EE-pc:~/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt$ ls -l debian/package/libnl/ totale 12 -rw-r--r-- 1 giuse giuse 0 9 feb 12.18 build -rw-r--r-- 1 giuse giuse 1879 9 feb 10.54 build.mk drwxr-xr-x 4 giuse giuse 4096 9 feb 10.54 debian -rwxr-xr-x 1 giuse giuse 1205 9 feb 10.54 libnl.sh -rw-r--r-- 1 giuse giuse 0 9 feb 12.18 prepare
Missing [ deliver ]
Running "make debian/package/libnl"
giuse@EE-pc:~/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt$ make debian/package/libnl rm -rf /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl mkdir -p /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl cp -ar /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/debian/package/libnl/debian /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl cp -ar /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/debian/package/libnl/libnl.sh /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl touch debian/package/libnl/prepare #exit 1 sudo chroot /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze su - giuse bash -c "cd /usr/src/libnl; export ARCH=mips; ./libnl.sh" + PACKAGE=libnl + VERSION=1.1 + RELEASE=1 + PACKAGE_SOURCE=libnl-1.1.tar.gz + DOWNLOAD_URL=http://www.infradead.org/~tgr/libnl/files/libnl-1.1.tar.gz + DEP= + BASE_DIR=/usr/src + BUILD_BASE_DIR=/usr/src/libnl + BUILD_DIR=/usr/src/libnl/libnl-1.1 + DOWNLOAD_DIR=/usr/src/dl + mkdir -p /usr/src/dl + rm -rf /usr/src/libnl/libnl-1.1 + mkdir -p /usr/src/libnl/libnl-1.1 + '[' '!' -s /usr/src/dl/libnl-1.1.tar.gz ']' + tar xzf /usr/src/dl/libnl-1.1.tar.gz -C /usr/src/libnl/libnl-1.1 --strip 1 + cp -rav debian /usr/src/libnl/libnl-1.1 `debian' -> `/usr/src/libnl/libnl-1.1/debian' `debian/docs' -> `/usr/src/libnl/libnl-1.1/debian/docs' `debian/libnl.dirs' -> `/usr/src/libnl/libnl-1.1/debian/libnl.dirs' `debian/libnl-dev.dirs' -> `/usr/src/libnl/libnl-1.1/debian/libnl-dev.dirs' `debian/libnl.postrm.debhelper' -> `/usr/src/libnl/libnl-1.1/debian/libnl.postrm.debhelper' `debian/libnl1.dirs' -> `/usr/src/libnl/libnl-1.1/debian/libnl1.dirs' `debian/files' -> `/usr/src/libnl/libnl-1.1/debian/files' `debian/rules' -> `/usr/src/libnl/libnl-1.1/debian/rules' `debian/.svn' -> `/usr/src/libnl/libnl-1.1/debian/.svn' `debian/.svn/all-wcprops' -> `/usr/src/libnl/libnl-1.1/debian/.svn/all-wcprops' `debian/.svn/entries' -> `/usr/src/libnl/libnl-1.1/debian/.svn/entries' `debian/.svn/tmp' -> `/usr/src/libnl/libnl-1.1/debian/.svn/tmp' `debian/.svn/tmp/prop-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/tmp/prop-base' `debian/.svn/tmp/text-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/tmp/text-base' `debian/.svn/tmp/props' -> `/usr/src/libnl/libnl-1.1/debian/.svn/tmp/props' `debian/.svn/prop-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/prop-base' `debian/.svn/prop-base/rules.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/prop-base/rules.svn-base' `debian/.svn/text-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base' `debian/.svn/text-base/libnl.install.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl.install.svn-base' `debian/.svn/text-base/libnl-dev.install.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl-dev.install.svn-base' `debian/.svn/text-base/copyright.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/copyright.svn-base' `debian/.svn/text-base/libnl1.dirs.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl1.dirs.svn-base' `debian/.svn/text-base/libnl.substvars.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl.substvars.svn-base' `debian/.svn/text-base/dirs.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/dirs.svn-base' `debian/.svn/text-base/changelog.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/changelog.svn-base' `debian/.svn/text-base/control.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/control.svn-base' `debian/.svn/text-base/files.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/files.svn-base' `debian/.svn/text-base/libnl.dirs.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl.dirs.svn-base' `debian/.svn/text-base/libnl-dev.dirs.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl-dev.dirs.svn-base' `debian/.svn/text-base/compat.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/compat.svn-base' `debian/.svn/text-base/libnl.postrm.debhelper.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl.postrm.debhelper.svn-base' `debian/.svn/text-base/libnl1.install.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl1.install.svn-base' `debian/.svn/text-base/libnl.postinst.debhelper.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/libnl.postinst.debhelper.svn-base' `debian/.svn/text-base/rules.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/rules.svn-base' `debian/.svn/text-base/docs.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/.svn/text-base/docs.svn-base' `debian/.svn/props' -> `/usr/src/libnl/libnl-1.1/debian/.svn/props' `debian/libnl-dev.install' -> `/usr/src/libnl/libnl-1.1/debian/libnl-dev.install' `debian/control' -> `/usr/src/libnl/libnl-1.1/debian/control' `debian/compat' -> `/usr/src/libnl/libnl-1.1/debian/compat' `debian/copyright' -> `/usr/src/libnl/libnl-1.1/debian/copyright' `debian/libnl.install' -> `/usr/src/libnl/libnl-1.1/debian/libnl.install' `debian/libnl.postinst.debhelper' -> `/usr/src/libnl/libnl-1.1/debian/libnl.postinst.debhelper' `debian/dirs' -> `/usr/src/libnl/libnl-1.1/debian/dirs' `debian/libnl.substvars' -> `/usr/src/libnl/libnl-1.1/debian/libnl.substvars' `debian/libnl1.install' -> `/usr/src/libnl/libnl-1.1/debian/libnl1.install' `debian/patches' -> `/usr/src/libnl/libnl-1.1/debian/patches' `debian/patches/.svn' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn' `debian/patches/.svn/all-wcprops' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/all-wcprops' `debian/patches/.svn/entries' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/entries' `debian/patches/.svn/tmp' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/tmp' `debian/patches/.svn/tmp/prop-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/tmp/prop-base' `debian/patches/.svn/tmp/text-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/tmp/text-base' `debian/patches/.svn/tmp/props' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/tmp/props' `debian/patches/.svn/prop-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/prop-base' `debian/patches/.svn/prop-base/120-add_if_vlan.h.patch.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/prop-base/120-add_if_vlan.h.patch.svn-base' `debian/patches/.svn/text-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/text-base' `debian/patches/.svn/text-base/120-add_if_vlan.h.patch.svn-base' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/text-base/120-add_if_vlan.h.patch.svn-base' `debian/patches/.svn/props' -> `/usr/src/libnl/libnl-1.1/debian/patches/.svn/props' `debian/patches/120-add_if_vlan.h.patch' -> `/usr/src/libnl/libnl-1.1/debian/patches/120-add_if_vlan.h.patch' `debian/changelog' -> `/usr/src/libnl/libnl-1.1/debian/changelog' + cd /usr/src/libnl/libnl-1.1 + dpkg-buildpackage -amips -rfakeroot dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package libnl dpkg-buildpackage: source version 1.1-1 dpkg-buildpackage: source changed by Amain (DebWrt.net) <amain@debwrt.net> dpkg-architecture: warning: Specified GNU system type mips-linux-gnu does not match gcc system type x86_64-linux-gnu. dpkg-buildpackage: host architecture mips dpkg-source --before-build libnl-1.1 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp #dpatch deapply-all patch -f -R -p1 <debian/patches/120-add_if_vlan.h.patch The next patch, when reversed, would delete the file include/linux/if_vlan.h, which does not exist! Applying it anyway. patching file include/linux/if_vlan.h Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file include/linux/if_vlan.h.rej make: [clean] Error 1 (ignored) # Add here commands to clean up after the build process. [ -f Makefile ] && /usr/bin/make distclean make[1]: Entering directory `/usr/src/libnl/libnl-1.1' *** *** No configuration found, please run ./configure *** make[1]: *** [Makefile.opts] Error 1 make[1]: Leaving directory `/usr/src/libnl/libnl-1.1' make: [clean] Error 2 (ignored) rm -f config.sub config.guess dh_clean rm -f debian/libnl-dev.substvars rm -f debian/libnl-dev.*.debhelper rm -f debian/libnl-dev.debhelper.log rm -rf debian/libnl-dev/ rm -f debian/libnl.substvars rm -f debian/libnl.*.debhelper rm -f debian/libnl.debhelper.log rm -rf debian/libnl/ rm -f debian/files find . \( \( -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) rm -f *-stamp dpkg-source -b libnl-1.1 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building libnl in libnl_1.1-1.tar.gz dpkg-source: info: building libnl in libnl_1.1-1.dsc debian/rules build dh_testdir #dpatch apply-all patch -f -p1 <debian/patches/120-add_if_vlan.h.patch patching file include/linux/if_vlan.h touch configure-stamp dh_testdir # Add here commands to configure the package. cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess # ./configure --build x86_64-linux-gnu --host mips-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2 -I/usr/src/linux" LDFLAGS="-Wl,-z,defs" # debwrt: some weirness: add gcc to host/build args, otherwist build will fail pwd /usr/src/libnl/libnl-1.1 ./configure --host=mips-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2 -I/usr/src/linux" LDFLAGS="-Wl,-z,defs" checking for mips-linux-gnu-gcc... mips-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mips-linux-gnu-gcc accepts -g... yes checking for mips-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for inline... inline checking for pow in -lm... yes configure: creating ./config.status config.status: creating Makefile.opts config.status: WARNING: Makefile.opts.in seems to ignore the --datarootdir setting config.status: creating libnl-1.pc config.status: creating doc/Doxyfile config.status: creating lib/defs.h config.status: lib/defs.h is unchanged ---------------------------------------------------------------------- SUMMARY: Included in Compilation: libnl: Yes -lm Dependencies: libm Yes (required) dh_testdir # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory `/usr/src/libnl/libnl-1.1' Entering lib DEP netfilter/nfnl.c DEP netfilter/log_obj.c DEP netfilter/log.c DEP netfilter/ct_obj.c DEP netfilter/ct.c DEP fib_lookup/request.c DEP fib_lookup/lookup.c DEP genl/mngt.c DEP genl/genl.c DEP genl/family.c DEP genl/ctrl.c DEP route/link/vlan.c DEP route/link/api.c DEP route/cls/u32.c DEP route/cls/police.c DEP route/cls/fw.c DEP route/sch/tbf.c DEP route/sch/sfq.c DEP route/sch/red.c DEP route/sch/prio.c DEP route/sch/netem.c DEP route/sch/htb.c DEP route/sch/fifo.c DEP route/sch/dsmark.c DEP route/sch/cbq.c DEP route/sch/blackhole.c DEP route/tc.c DEP route/rule.c DEP route/rtnl.c DEP route/route_utils.c DEP route/route_obj.c DEP route/route.c DEP route/qdisc_obj.c DEP route/qdisc_api.c DEP route/qdisc.c DEP route/nexthop.c DEP route/neightbl.c DEP route/neigh.c DEP route/link.c DEP route/cls_obj.c DEP route/cls_api.c DEP route/classifier.c DEP route/class_obj.c DEP route/class_api.c DEP route/class.c DEP route/addr.c DEP utils.c DEP socket.c DEP object.c DEP nl.c DEP msg.c DEP handlers.c DEP family.c DEP doc.c DEP data.c DEP cache_mngt.c DEP cache_mngr.c DEP cache.c DEP attr.c DEP addr.c MAKE libnl.so.1.1 CC addr.c In file included from addr.c:28: ../include/netlink-local.h: In function '__str2type': ../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function) ../include/netlink-local.h:218: error: (Each undeclared identifier is reported only once ../include/netlink-local.h:218: error: for each function it appears in.) ../include/netlink-local.h: In function '__list_str2type': ../include/netlink-local.h:239: error: 'ULONG_MAX' undeclared (first use in this function) make[3]: *** [addr.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/libnl/libnl-1.1' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 + cd /usr/src/libnl + find /usr/src/libnl -maxdepth 1 -name '*.deb' + xargs -r -t sudo dpkg-cross -a mips -b + grep -v _all.deb + find /usr/src/libnl -maxdepth 1 -name '*.deb' + xargs -r -t sudo dpkg -i + grep _all.deb touch debian/package/libnl/build mkdir -p /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/bin/ar71xx-angel-2.0-1-default/debian cp -rav /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl/*.deb /home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/bin/ar71xx-angel-2.0-1-default/debian cp: cannot stat `/home/giuse/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/libnl/*.deb': No such file or directory make: *** [debian/package/libnl/deliver] Error 1 giuse@EE-pc:~/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt$
comment:3 in reply to: ↑ 2 Changed 11 years ago by stappers
Replying to dk_giuse <ciusss@…>:
. . . # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory `/usr/src/libnl/libnl-1.1' Entering lib DEP netfilter/nfnl.c DEP netfilter/log_obj.c . . DEP attr.c DEP addr.c MAKE libnl.so.1.1 CC addr.c In file included from addr.c:28: ../include/netlink-local.h: In function '__str2type': ../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function) ../include/netlink-local.h:218: error: (Each undeclared identifier is reported only once ../include/netlink-local.h:218: error: for each function it appears in.) ../include/netlink-local.h: In function '__list_str2type': ../include/netlink-local.h:239: error: 'ULONG_MAX' undeclared (first use in this function) make[3]: *** [addr.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/libnl/libnl-1.1' make: *** [build-stamp] Error 2
At http://bugs.gentoo.org/show_bug.cgi?id=225393 is the same issue reported
and marked as fixed ...
comment:4 Changed 11 years ago by dk_giuse <ciusss@…>
An issue was fixed about 2 years ago..What do I do now???
I don't now what happened.
I compilated it without errors (but my first image was wrong customized ), after deleting all old dir, i re-downloaded new svn for to make a new image.
I have used make menuconfig only for selected ar71xx and rs-pro. I have add ONLY kernel modules in to make openwrt/menucofig.
comment:5 Changed 11 years ago by stappers
Where I had before a clean compile, I have still a clean compile with
--- debian/package/libnl/debian/rules (revision 160) +++ debian/package/libnl/debian/rules (working copy) @@ -53,6 +53,7 @@ dh_testdir #dpatch apply-all -patch -f -p1 <debian/patches/120-add_if_vlan.h.patch + -patch -f -p1 < debian/patches/ulong_max.patch touch configure-stamp build: build-stamp
and new file debian/package/libnl/debian/patches/ulong_max.patch which contains
This patch fixes DebWrt ticket #80 Credits to http://bugs.gentoo.org/show_bug.cgi?id=225393 --- a/include/netlink-local.h 2008-06-08 19:09:20 +++ b/include/netlink-local.h 2008-06-08 19:09:33 @@ -26,6 +26,7 @@ #include <sys/socket.h> #include <inttypes.h> #include <assert.h> +#include <limits.h> #include <arpa/inet.h> #include <netdb.h>
I hope it helps the reporter of ticket #80.
P.S.
Patch and file will be attached to ticket.
comment:6 Changed 11 years ago by anonymous
I have downloaded 80.txt in /home/../debian/package/libnl/debian$, and renamed it in ulong_max.patch.
Where be add "#include <limits.h>"??
I try tomorrow to compile.
comment:7 Changed 11 years ago by stappers
Please no rename tricks ...
ulong_max.patch is the new file. 80.txt is a patch that has to be applied against Debwrt SVN.
During the next make debian/packages/libnl will,
actually should, debian/package/libnl/debian/patches/ulong_max.patch be
applied automatic against the libnl build directory by the debwrt build system.
It adds the
#include <limits.h>
line in include/netlink-local.h.
Looking forward the see the results of the next attempt.
comment:8 Changed 11 years ago by dk_giuse <ciusss@…>
I didn't understand, sorry man, i am noob.
You have make two files,
80.txt
--- debian/package/libnl/debian/rules (revision 160) +++ debian/package/libnl/debian/rules (working copy) @@ -53,6 +53,7 @@ dh_testdir #dpatch apply-all -patch -f -p1 <debian/patches/120-add_if_vlan.h.patch + -patch -f -p1 < debian/patches/ulong_max.patch touch configure-stamp build: build-stamp
and
ulong_max.patch
This patch fixes DebWrt ticket #80 Credits to http://bugs.gentoo.org/show_bug.cgi?id=225393 --- a/include/netlink-local.h 2008-06-08 19:09:20 +++ b/include/netlink-local.h 2008-06-08 19:09:33 @@ -26,6 +26,7 @@ #include <sys/socket.h> #include <inttypes.h> #include <assert.h> +#include <limits.h> #include <arpa/inet.h> #include <netdb.h>
Problem ( i think ) is missing of #include <limits.h> in netlink-local.h. I am confused, you can tell me what do i do because i don't know what do.
How i must apply yours patch? which commands i perform?? This is first time for me...
I am sorry for my unknowledge
comment:9 Changed 11 years ago by stappers
You have make two files
Nope, only 1 file, debian/package/libnl/debian/patches/ulong_max.patch
Attachment 80.txt contains information, which file to modify, with what.
The destinated tool is patch, but in this case one might be better off
with a text editor.
comment:10 Changed 11 years ago by dk_giuse <ciusss@…>
Its correct path of ulong_max.patch ??
giuse@EE-pc:~/.../debwrt$ ls -lsh debian/package/libnl/debia/patches/ totale 8,0K 4,0K -rwxr-xr-x 1 giuse giuse 1,8K 13 feb 16.19 120-add_if_vlan.h.patch 4,0K -rwxr-xr-x 1 giuse giuse 352 13 feb 21.07 ulong_max.patch giuse@EE-pc:~/.../debwrt$ cat debian/package/libnl/debian/patches/ulong_max.patch This patch fixes DebWrt ticket #80 Credits to http://bugs.gentoo.org/show_bug.cgi?id=225393 --- a/include/netlink-local.h 2008-06-08 19:09:20 +++ b/include/netlink-local.h 2008-06-08 19:09:33 @@ -26,6 +26,7 @@ #include <sys/socket.h> #include <inttypes.h> #include <assert.h> +#include <limits.h> #include <arpa/inet.h> #include <netdb.h> giuse@EE-pc:~/Scrivania/WiFi/DebWrt_BUILD_DIR/debwrt$
comment:11 Changed 11 years ago by stappers
Its correct path of ulong_max.patch ??
Yes, it is correct.
What is done with 80.txt ?
comment:12 follow-up: ↓ 13 Changed 11 years ago by anonymous
hi,
The code showed in my last post is a cat /.../debwrt/debian/package/libnl/debian/patches/ulong_max.patch miss cut before path.
With ulong_max.patch I should fix error??
But after run make clean, make libnl not compile,
comment:13 in reply to: ↑ 12 Changed 11 years ago by stappers
File debian/package/libnl/debian/patches/ulong_max.patch is good. No need to change it.
About 80.txt:
After the work with a text editor, the output of the command
svn diff debian/package/libnl
should look like 80.txt.
The only trick is that white space at the beginning of the inserted line,
is a TAB, and no spaces.
For the record, I do have seen:
hi,
The code showed in my last post is a cat /.../debwrt/debian/package/libnl/debian/patches/ulong_max.patch miss cut before path.
With ulong_max.patch I should fix error??
But after run make clean, make libnl not compile,
and did recieve it as "I still don't understand. Help me."
comment:14 follow-up: ↓ 15 Changed 11 years ago by dk_giuse <ciusss@…>
Hi,
I have add line
-patch -f -p1 < debian/patches/ulong_max.patch }}} in to file {{{ debian/package/libnl/debian/rules }}} {{{ giuse@EE-pc:~/../debwrt$ svn diff debian/package/libnl/ Index: debian/package/libnl/debian/rules =================================================================== --- debian/package/libnl/debian/rules (revisione 156) +++ debian/package/libnl/debian/rules (copia locale) @@ -53,6 +53,7 @@ dh_testdir #dpatch apply-all -patch -f -p1 <debian/patches/120-add_if_vlan.h.patch + -patch -f -p1 < debian/patches/ulong_max.patch touch configure-stamp build: build-stamp giuse@EE-pc:~/.../debwrt$ }}} Should be correct now? Its true?
comment:15 in reply to: ↑ 14 Changed 11 years ago by stappers
Replying to dk_giuse <ciusss@…>:
Should be correct now? Its true?
It does look good. How good it really is, will tell another build attempt ...
comment:16 Changed 11 years ago by stappers
Ticket #86 is also about libnl not compiling.
It even provides the same patches as this ticket does ...
comment:17 Changed 11 years ago by stappers
Patches applied to staging SVN.
comment:18 Changed 11 years ago by amain
- Resolution set to fixed
- Status changed from accepted to closed
Patch accepted and committed to main SVN.
Thanks!
comment:19 Changed 9 years ago by Hench
It is reported that, <a href="http://gagawatch.client.jp"><b>ガガミラノ 価格com</b></a>
GAGA sit with <a href="http://gagawatch.gejigeji.jp"><b>ガガミラノ 価格com</b></a>
15 December, with the all together complete hundred sites on-line starting at the yet <a href="http://gagawatch.client.jp"><b>時計 gaga</b></a>
while, as the terra's <a href="http://gagawatch.ganriki.net"><b>ガガミラノ</b></a>
onset internet be watchful for highlights of the cardinal <a href="http://gagawatch.ganriki.net"><b>ガガミラノ 価格com</b></a>
prompt products, GAGA series includes a complete of ten models, <a href="http://gagawatch.amigasa.jp"><b>ガガ 腕時計</b></a>
wholesale coverage of jet-black, pink, yellow, white, sterling, rose gold six important mainstream color. <a href="http://gagawatch.gejigeji.jp"><b>腕時計 gaga</b></a>
On the shake, in row with the "leather strap" and "clot grid discharge stridently" two kinds of politesse refinement, fully embodies the color and change of Heterogeneity with, so the fad elements supervised control. Meanwhile, Gaga mind <a href="http://gagawatch.amigasa.jp"><b>ミラノ 腕時計</b></a>
also built nowadays mainstream America was scholar Japanese Dweller 2035 quartz flare, and strengthening crystal mirror reflector of the <a href="http://gagawatch.bufsiz.jp"><b>ガガ 腕時計</b></a>
occurrence facts, fully pledge the consequence's durability properties. <a href="http://gagawatch.gejigeji.jp"><b>時計 ミラノ</b></a>
Nonetheless on the concern of <a href="http://gagawatch.bufsiz.jp"><b>gagaミラノ</b></a>
unified hundred on-line, with the "duplicate egg" theme,gagawatch.ashigaru.jp held a "Distinguished Toe-hold, on-line carnival, double-barrelled egg courteous" beefy matter <a href="http://gagawatch.ganriki.net"><b>ガガミラノ</b></a>
promotional activities during the consequence, <a href="http://gagawatch.gejigeji.jp"><b>腕時計 ガガ</b></a>
including the 180 series, including a scramble of ancestry GAGA has abundant discount. Sanctioned Links: gagawatch.amigasa.jp
libnl is one of our packages.
I don't understand why it wasn't build for giuse
I'm able to build the libnl*.deb