[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: flex is no longer M-A:foreign



On Wed, Feb 10 2016, Helmut Grohne wrote:

> On Wed, Feb 10, 2016 at 06:43:35AM +0100, Helmut Grohne wrote:
>> Furthermore, dpkg, guile-2.0 and libsepol don't need to change their B-D
>> under either proposal. Some reverse dependencies of flex, like hurd,
>> might be hard to test on AWS though. So almost 1% checked. ;)
>
> And then I remembered that we have recent cross build logs for 3000
> source packages. Those were built with the M-A:foreign flex and thus
> missing libfl-dev. Of course they tend to fail for other reasons than
> missing libfl-dev, so we have a high rate of false negatives and a poor
> coverage here. What we get is this though:
>
> ./libidl_0.8.14-4_ppc64el.build:/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld:
> cannot find -lfl
> ./librsl_1.43-1_ppc64el.build:/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld:
> cannot find -lfl
> ./milter-greylist_4.5.11-1_ppc64el.build:/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld:
> cannot find -lfl
> ./strongswan_5.3.5-1_ppc64el.build:/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld:
> cannot find -lfl
> ./warzone2100_3.1.1-2_ppc64el.build:/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld:
> cannot find -lfl
>
> In other words, libidl, librsl, milter-greylist, strongswan and
> warzone2100 do need to change under proposal 1 (and we don't know under
> proposal 2).
>

> There are more build logs that mention -lfl, so if anyone wants to look:
>
> ./asymptote_2.35-3_ppc64el.build

 Other failure. See below for details.

> ./bandwidthd_2.0.1+cvs20090917-9_ppc64el.build

requires but can’t find libpng

> ./bc_1.06.95-9_ppc64el.build (successful)

   Configure is looking for things in -lfl, never really used.

> ./checkpolicy_2.4-2_ppc64el.build

Other error during linking (checkpolicy is not C++, last I looked)

> ./chemeq_2.12-1_ppc64el.build

Strange error during strip, not flex related

> ./conntrack-tools_1.4.3-3_ppc64el.build

Missing build dependency, not flex related

> ./cutils_1.6-3.1_ppc64el.build

Ancient debconf version, no target distclen, parse error in lex file (so
not due to missing -lfl

> ./filters_2.55-1_ppc64el.build

Strange error in strip:
powerpc64le-linux-gnu-strip: Unable to recognise the format of the input file `debian/filters/usr/games/cockney'


> ./flow-tools_0.68-12.3_ppc64el.build

configure failure linking with -lz


	So none of the above were due to flex. The following are not
 investigated yet:

> ./gsoap_2.8.22-1_ppc64el.build
> ./gv_3.7.4-1_ppc64el.build (successful)
> ./libsieve_2.2.6-1.2_ppc64el.build
> ./loki_2.4.7.4-6_ppc64el.build (successful)
> ./ltsp_5.5.5-1_ppc64el.build
> ./nas_1.9.4-4_ppc64el.build
> ./nmh_1.6-8_ppc64el.build
> ./oidentd_2.0.8-8_ppc64el.build (successful)
> ./splint_3.1.2.dfsg1-2_ppc64el.build
> ./torque_2.4.16+dfsg-1.5_ppc64el.build
> ./urjtag_0.10+r2007-1.2_ppc64el.build (successful)
> ./vtun_3.0.3-2.1_ppc64el.build
> ./wide-dhcpv6_20080615-16_ppc64el.build
> ./xmlindent_0.2.17-4_ppc64el.build
>
> You can find all logs at http://subdivi.de/~helmut/debomatic-logs/.
>
> Helmut

        Manoj

Error codes follow.

--8<---------------cut here---------------start------------->8---
asymptote_2.35-3_ppc64el.build
In file included from /usr/powerpc64le-linux-gnu/include/c++/5/unordered_map:35:0,
                 from conftest.cpp:21:
/usr/powerpc64le-linux-gnu/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---

> ./bandwidthd_2.0.1+cvs20090917-9_ppc64el.build
configure: error: Bandwidthd requires but cannot libpng
debian/rules:38: recipe for target 'configure-bwdstatic-stamp' failed
make[1]: *** [configure-bwdstatic-stamp] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/bandwidthd-2.0.1+cvs20090917'
debian/rules:87: recipe for target 'install' failed
make: *** [install] Error 2
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
 ./checkpolicy_2.4-2_ppc64el.build
usr/lib/powerpc64le-linux-gnu/libsepol.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'checkpolicy' failed
make[1]: *** [checkpolicy] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:14: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
> ./chemeq_2.12-1_ppc64el.build
   dh_strip -a
powerpc64le-linux-gnu-objcopy: Unable to recognise the format of the input file `debian/chemeq/usr/bin/chemeq'
dh_strip: powerpc64le-linux-gnu-objcopy --only-keep-debug --compress-debug-sections debian/chemeq/usr/bin/chemeq debian/.debhelper/chemeq/dbgsym-root/usr/lib/debug/.build-id/a5/feeca749f9910feb19f6cd73d39697091a6328.debug returned exit code 1
debian/rules:13: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
> ./conntrack-tools_1.4.3-3_ppc64el.build
checking for LIBNFNETLINK... no
configure: error: Package requirements (libnfnetlink >= 1.0.1) were not met:

No package 'libnfnetlink' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
debian/rules:10: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
> ./cutils_1.6-3.1_ppc64el.build
make distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: *** No rule to make target 'distclean'.  Stop.

checking lex output file root... /usr/bin/flex: 1: /usr/bin/flex: Syntax error: ")" unexpected
configure: error: cannot find output from flex; giving up
debian/rules:7: recipe for target 'build-stamp' failed
--8<---------------cut here---------------end--------------->8---


--8<---------------cut here---------------start------------->8---
> ./flow-tools_0.68-12.3_ppc64el.build
checking for main in -ly... no
checking for zlibVersion in -lz... no
configure: error: Link with "-lz" (zlib >= 1.0.2) failed!
debian/rules:46: recipe for target 'configure-stamp' failed
--8<---------------cut here---------------end--------------->8---

-- 
The likelihood of anything happening is in direct proportion to the
amount of trouble it will cause if it does happen.  -- Sam W. Warren
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: