! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Building issue with xfconf 4.13.0 within perl module
Status:
RESOLVED: FIXED

Comments

Description Ali Akcaagac 2017-06-03 08:32:51 CEST
Trying to build xfconf 4.13.0 on Fedora and a customized SPEC file. This is the output that I was receiving. Somehow the Perl modules inside xfconf failed building and caused he build to abort.

;---

top_builddir=".." /bin/perl Makefile.PL PREFIX="/usr" INSTALLDIRS=vendor
Loaded 3 xs files from xs_files
WARNING: Setting ABSTRACT via file 'Xfconf.pm' failed
 at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 775.
Unrecognized argument in LIBS ignored: '-pthread'
Generating a Unix-style Makefile.perl
Writing Makefile.perl for Xfce4::Xfconf
make -f Makefile.perl
make[4]: Entering directory '/root/rpmbuild/BUILD/xfconf-4.13.0/xfconf-perl'
Running Mkbootstrap for Xfconf ()
chmod 644 "Xfconf.bs"
[ XS xs/Xfconf.xs ]
cp /root/rpmbuild/BUILD/xfconf-4.13.0/xfconf-perl/build/xfconfperl.typemap blib/arch/Xfce4/Xfconf/Install/xfconfperl.typemap
cp xfconfperl.h blib/arch/Xfce4/Xfconf/Install/xfconfperl.h
cp build/xfconfperl-autogen.h blib/arch/Xfce4/Xfconf/Install/xfconfperl-autogen.h
cp build/IFiles.pm blib/arch/Xfce4/Xfconf/Install/Files.pm
cp Xfconf.pm blib/lib/Xfce4/Xfconf.pm
[ XS xs/XfconfBinding.xs ]
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Xfconf.xs, line 41
mv xs/Xfconf.xsc xs/Xfconf.c
[ XS xs/XfconfChannel.xs ]
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in XfconfChannel.xs, line 87
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in XfconfChannel.xs, line 220
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in XfconfBinding.xs, line 47
mv xs/XfconfChannel.xsc xs/XfconfChannel.c
mv xs/XfconfBinding.xsc xs/XfconfBinding.c
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Xfconf.bs blib/arch/auto/Xfce4/Xfconf/Xfconf.bs 644
[ CC xs/Xfconf.c ]
[ CC xs/XfconfBinding.c ]
In file included from /usr/lib64/perl5/vendor_perl/Glib/Install/gperl.h:27:0,
                 from ./xfconfperl.h:24,
                 from xs/XfconfBinding.xs:18:
xs/XfconfBinding.c: In function 'XS_Xfce4__Xfconf__Binding_bind':
/usr/lib64/perl5/CORE/XSUB.h:194:28: warning: unused variable 'targ' [-Wunused-variable]
 #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \
                            ^
xs/XfconfBinding.c:193:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
xs/XfconfBinding.c:192:9: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable]
  gulong RETVAL;
         ^~~~~~
[ CC xs/XfconfChannel.c ]
rm -f blib/arch/auto/Xfce4/Xfconf/Xfconf.so
[ LD blib/arch/auto/Xfce4/Xfconf/Xfconf.so ]
/bin/ld: cannot find -lxfconf-0
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile.perl:503: blib/arch/auto/Xfce4/Xfconf/Xfconf.so] Error 1
make[4]: Leaving directory '/root/rpmbuild/BUILD/xfconf-4.13.0/xfconf-perl'
make[3]: *** [Makefile:715: all-local] Error 2
make[3]: Leaving directory '/root/rpmbuild/BUILD/xfconf-4.13.0/xfconf-perl'
make[2]: *** [Makefile:434: all-recursive] Error 1
make[2]: Leaving directory '/root/rpmbuild/BUILD/xfconf-4.13.0/xfconf-perl'
make[1]: *** [Makefile:483: all-recursive] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/xfconf-4.13.0'
make: *** [Makefile:415: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fR06gm (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.fR06gm (%build)
Comment 1 Ali Akcaagac 2017-06-03 10:43:08 CEST
Created attachment 7153 
Fix for library version bump!
Comment 2 Ali Akcaagac 2017-06-29 13:23:51 CEST
Fixed in repo
Comment 3 Ali Akcaagac 2017-06-29 13:24:38 CEST
Fixed in repo
Comment 4 Ali Akcaagac 2017-06-29 13:25:27 CEST
It's not possible to close the bugreport! Even when pressing "resolved fixed" and entering a 0815 comment.

Bug #13619

Reported by:
Ali Akcaagac
Reported on: 2017-06-03
Last modified on: 2017-06-29

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
4.13.0

Attachments

Fix for library version bump! (550 bytes, patch)
2017-06-03 10:43 CEST , Ali Akcaagac
no flags

Additional information