uswsusp: FTBFS: Can't locate Switch.pm in @INC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uswsusp (Debian) |
Fix Released
|
Unknown
|
|||
uswsusp (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: uswsusp
Version: 1.0+20120915-4
Severity: serious
Tags: patch
Hi there,
Your package uswsusp fails to build in current unstable on amd64.
(Hopefully) Relevant part of the log:
-------
^
load.c:459:3: warning: 'gcry_ac_data_new' is deprecated (declared at /usr/include/
ret = gcry_ac_
^
load.c:476:3: warning: 'gcry_ac_data_set' is deprecated (declared at /usr/include/
ret = gcry_ac_
^
load.c:485:3: warning: 'gcry_ac_key_init' is deprecated (declared at /usr/include/
ret = gcry_ac_
^
load.c:490:2: warning: 'gcry_ac_data_new' is deprecated (declared at /usr/include/
ret = gcry_ac_
^
load.c:496:2: warning: 'gcry_ac_data_set' is deprecated (declared at /usr/include/
ret = gcry_ac_
^
load.c:501:2: warning: 'gcry_ac_
ret = gcry_ac_
^
load.c:518:2: warning: 'gcry_ac_
gcry_
^
load.c:521:2: warning: 'gcry_ac_
gcry_
^
load.c:524:2: warning: 'gcry_ac_
gcry_
^
load.c:535:2: warning: 'gcry_ac_close' is deprecated (declared at /usr/include/
gcry_
^
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -DS2RAM -D_LARGEFILE64_
perl wlcsv2c.pl whitelist.csv whitelist.c
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /etc/perl /usr/local/
BEGIN failed--compilation aborted at wlcsv2c.pl line 5.
make[3]: *** [whitelist.c] Error 2
make[3]: Leaving directory `/«BUILDDIR»
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
make[2]: Leaving directory `/«BUILDDIR»
make[1]: Leaving directory `/«BUILDDIR»
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20140219-1954
Finished
────────
E: Build failure (dpkg-buildpackage died)
A full buildlog is available at http://
As the error suggests, adding libswitch-perl to the Build-Depends fixing this build failure.
Thanks for your time!
Regards,
Andreas
--
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
Related branches
- Martin Pitt: Approve
-
Diff: 30 lines (+9/-2)2 files modifieddebian/changelog (+6/-0)
debian/control (+3/-2)
Changed in uswsusp (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ftbfs trusty |
Changed in uswsusp (Debian): | |
importance: | Undecided → Unknown |
Changed in uswsusp (Debian): | |
status: | New → Fix Released |
Thanks Andreas,
I will check it ASAP.
Best regards,
Rodolfo
On 19 de febrero de 2014 20:04:40 CET, Andreas Moog <email address hidden> wrote: bugs.debian. org/739535: ------- ------- ------- ------- ---- gcrypt. h:1417) [-Wdeprecated- declarations] data_new( &rsa_data_ set); gcrypt. h:1443) [-Wdeprecated- declarations] data_set( rsa_data_ set, GCRY_AC_FLAG_COPY, gcrypt. h:1501) [-Wdeprecated- declarations] key_init( &rsa_priv, rsa_hd, gcrypt. h:1417) [-Wdeprecated- declarations] data_new( &key_set) ; gcrypt. h:1443) [-Wdeprecated- declarations] data_set( key_set, GCRY_AC_FLAG_COPY, "a", mpi); data_decrypt' is deprecated (declared gcrypt. h:1579) [-Wdeprecated- declarations] data_decrypt( rsa_hd, 0, rsa_priv, &mpi, key_set); data_destroy' is deprecated (declared gcrypt. h:1421) [-Wdeprecated- declarations] data_destroy( key_set) ; key_destroy' is deprecated (declared at gcrypt. h:1541) [-Wdeprecated- declarations] key_destroy( rsa_priv) ; data_destroy' is deprecated (declared gcrypt. h:1421) [-Wdeprecated- declarations] data_destroy( rsa_data_ set); gcrypt. h:1497) [-Wdeprecated- declarations] close(rsa_ hd); _SOURCE -g -O2 -fstack-protector ssp-buffer- size=4 -Wformat -Werror= format- security -c -o lib/perl/ 5.18.2 share/perl/ 5.18.2 /usr/lib/perl5 /usr/share/perl5 perl/5. 18 /usr/local/ lib/site_ perl .) at /uswsusp- 1.0+20120915' /uswsusp- 1.0+20120915' /uswsusp- 1.0+2012. ..
>Public bug reported:
>
>Imported from Debian bug http://
>
>Package: uswsusp
>Version: 1.0+20120915-4
>Severity: serious
>Tags: patch
>
>Hi there,
>
>Your package uswsusp fails to build in current unstable on amd64.
>
>(Hopefully) Relevant part of the log:
>------
>
> ^
>load.c:459:3: warning: 'gcry_ac_data_new' is deprecated (declared at
>/usr/include/
> ret = gcry_ac_
> ^
>load.c:476:3: warning: 'gcry_ac_data_set' is deprecated (declared at
>/usr/include/
> ret = gcry_ac_
> ^
>load.c:485:3: warning: 'gcry_ac_key_init' is deprecated (declared at
>/usr/include/
> ret = gcry_ac_
> ^
>load.c:490:2: warning: 'gcry_ac_data_new' is deprecated (declared at
>/usr/include/
> ret = gcry_ac_
> ^
>load.c:496:2: warning: 'gcry_ac_data_set' is deprecated (declared at
>/usr/include/
> ret = gcry_ac_
> ^
>load.c:501:2: warning: 'gcry_ac_
>at /usr/include/
> ret = gcry_ac_
> ^
>load.c:518:2: warning: 'gcry_ac_
>at /usr/include/
> gcry_ac_
> ^
>load.c:521:2: warning: 'gcry_ac_
>/usr/include/
> gcry_ac_
> ^
>load.c:524:2: warning: 'gcry_ac_
>at /usr/include/
> gcry_ac_
> ^
>load.c:535:2: warning: 'gcry_ac_close' is deprecated (declared at
>/usr/include/
> gcry_ac_
> ^
>gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -DS2RAM
>-D_LARGEFILE64
>--param=
>s2ram.o s2ram.c
>perl wlcsv2c.pl whitelist.csv whitelist.c
>Can't locate Switch.pm in @INC (you may need to install the Switch
>module) (@INC contains: /etc/perl /usr/local/
>/usr/local/
>/usr/lib/perl/5.18 /usr/share/
>wlcsv2c.pl line 5.
>BEGIN failed--compilation aborted at wlcsv2c.pl line 5.
>make[3]: *** [whitelist.c] Error 2
>make[3]: Leaving directory `/«BUILDDIR»
>make[2]: *** [all-recursive] Error 1
>make[1]: *** [all] Error 2
>dh_auto_build: make -j1 returned exit code 2
>make: *** [build] Error 2
>make[2]: Leaving directory `/«BUILDDIR»
>make[1]: Leaving directory `/«BUILDDIR»