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

Bug#992133: firebird4.0 debian packaging



-=| Damyan Ivanov, 26.08.2021 09:34:04 +0300 |=-
> -=| Frank Doepper, 25.08.2021 16:58:15 +0200 |=-
> > Hi Damyan,
> > 
> > great that you are packaging firebird4.0 for Debian. Volker and I have tried
> > to build the source from
> > https://salsa.debian.org/firebird-team/firebird4.0/
> > with our mini-buildd on Debian Sid
> > at Tue, 17 Aug 2021 10:32:13 +0000
> > and it failed with a strange linker error:
> > 
> > /usr/bin/ld: g++  -g -O2
> > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> > -Werror=format-security -DUCHAR_TYPE=uint16_t -fno-lifetime-dse
> > -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now
> > -pthread    -Wl,--version-script,empty.vers
> > /<<PKGBUILDDIR>>/temp/Release/alice/alice.o
> > /<<PKGBUILDDIR>>/temp/Release/alice/alice_meta.o
> > /<<PKGBUILDDIR>>/temp/Release/alice/exe.o
> > /<<PKGBUILDDIR>>/temp/Release/alice/tdr.o
> > /<<PKGBUILDDIR>>/temp/Release/alice/main/aliceMain.o
> > /<<PKGBUILDDIR>>/temp/Release/common.a -o
> > /<<PKGBUILDDIR>>/gen/Release/firebird/bin/gfix
> > -L/<<PKGBUILDDIR>>/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt
> > -latomic -lm -ldl   -ldecFloat -lre2
> > /<<PKGBUILDDIR>>/temp/Release/common.a(SimilarToRegex.o): in function
> > `Firebird::SimilarToRegex::matches(char const*, unsigned int,
> > Firebird::Array<Firebird::SimilarToRegex::MatchPos,
> > Firebird::EmptyStorage<Firebird::SimilarToRegex::MatchPos> >*)':
> > ./gen/./src/common/SimilarToRegex.cpp:858: undefined reference to `re2::RE2::Arg::parse_stringpiece(char const*, unsigned long, void*)'
> 
> Thanks for the notice.
> 
> This is probably related to the new g++ in sid. Trying the build today 
> failed even earlier, perhaps due to the new autotools. So this needs 
> more work.

Simply letting debhelper do the autoreconf seems to work and the build 
completes, no linker errors. This is in an up to date sid sbuild 
chroot.

-- Damyan


Reply to: