[packman] y2pmbuild problems

Peter Czanik pczanik at fang.fa.gau.hu
Wed Mar 29 21:06:09 CEST 2006


Hello,

Henne Vogelsang wrote:
>> Henne Vogelsang wrote:
>>     
>>> Hm thats sad. Missing BuildRequires are packaging bugs and should be
>>> fixed.
>>>       
>>  
>> I can't find the exact arguments any more, but it was something like 
>> that: package names change from SUSE version to SUSE version, and the 
>> easy way is to avoid this confusion is not using it. Some custom hacks 
>> were also mentioned. And that y2pmsh is dumb anyway :-) I'll try y2pmsh 
>> again for 10.1 next week.
>>     
>
> Good!
>   
I just started it and ran into some troubles. I use source rpms from the
packman/10.1/SRPMS directory. Here are just a few problems to get
started: See attached some diffs ( somediffs.txt ), with some additional
BuildRequires to satisfy y2pmbuild. 'libjs' for 10.1 seems to miss the 
PPC specific patch working with 10.0. These were the easy ones. Here
comes a bit more difficult one: mjpegtools. It compiles fine, when I
don't use y2pmbuild, just plain old rpmbuild. When I use y2pmbuild,
compilation stops at configure:

...
+ export 'CXXFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing'
+ CXXFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing'
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
configure.ac:104: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
error: Bad exit status from /var/tmp/rpm-tmp.53268 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.53268 (%build)


When I use rpmbuild, the same part looks like this:
...
+ export 'CFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fPIC
-fno-strict-aliasing'
+ CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fPIC
-fno-strict-aliasing'
+ export 'CXXFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing'
+ CXXFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing'
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
/usr/share/aclocal/lib3ds.m4:4: warning: underquoted definition of
AM_PATH_LIB3DS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
/usr/share/aclocal/lib3ds.m4:4: warning: underquoted definition of
AM_PATH_LIB3DS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
+ ./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --disable-simd-accel --disable-cmov-extension
--with-quicktime=/usr/include/quicktime --with-dv=/usr
--disable-warnings_as_errors
...

Any idea what could be missing here? Bye,
CzP
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: somediffs.txt
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20060329/8d76a120/attachment.txt>


More information about the Packman mailing list