uswsusp: FTBFS: Can't locate Switch.pm in @INC

Bug #1282222 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uswsusp (Debian)
Fix Released
Unknown
uswsusp (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/739535:

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/gcrypt.h:1417) [-Wdeprecated-declarations]
   ret = gcry_ac_data_new(&rsa_data_set);
   ^
load.c:476:3: warning: 'gcry_ac_data_set' is deprecated (declared at /usr/include/gcrypt.h:1443) [-Wdeprecated-declarations]
   ret = gcry_ac_data_set(rsa_data_set, GCRY_AC_FLAG_COPY,
   ^
load.c:485:3: warning: 'gcry_ac_key_init' is deprecated (declared at /usr/include/gcrypt.h:1501) [-Wdeprecated-declarations]
   ret = gcry_ac_key_init(&rsa_priv, rsa_hd,
   ^
load.c:490:2: warning: 'gcry_ac_data_new' is deprecated (declared at /usr/include/gcrypt.h:1417) [-Wdeprecated-declarations]
  ret = gcry_ac_data_new(&key_set);
  ^
load.c:496:2: warning: 'gcry_ac_data_set' is deprecated (declared at /usr/include/gcrypt.h:1443) [-Wdeprecated-declarations]
  ret = gcry_ac_data_set(key_set, GCRY_AC_FLAG_COPY, "a", mpi);
  ^
load.c:501:2: warning: 'gcry_ac_data_decrypt' is deprecated (declared at /usr/include/gcrypt.h:1579) [-Wdeprecated-declarations]
  ret = gcry_ac_data_decrypt(rsa_hd, 0, rsa_priv, &mpi, key_set);
  ^
load.c:518:2: warning: 'gcry_ac_data_destroy' is deprecated (declared at /usr/include/gcrypt.h:1421) [-Wdeprecated-declarations]
  gcry_ac_data_destroy(key_set);
  ^
load.c:521:2: warning: 'gcry_ac_key_destroy' is deprecated (declared at /usr/include/gcrypt.h:1541) [-Wdeprecated-declarations]
  gcry_ac_key_destroy(rsa_priv);
  ^
load.c:524:2: warning: 'gcry_ac_data_destroy' is deprecated (declared at /usr/include/gcrypt.h:1421) [-Wdeprecated-declarations]
  gcry_ac_data_destroy(rsa_data_set);
  ^
load.c:535:2: warning: 'gcry_ac_close' is deprecated (declared at /usr/include/gcrypt.h:1497) [-Wdeprecated-declarations]
  gcry_ac_close(rsa_hd);
  ^
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -DS2RAM -D_LARGEFILE64_SOURCE -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 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/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at wlcsv2c.pl line 5.
BEGIN failed--compilation aborted at wlcsv2c.pl line 5.
make[3]: *** [whitelist.c] Error 2
make[3]: Leaving directory `/«BUILDDIR»/uswsusp-1.0+20120915'
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»/uswsusp-1.0+20120915'
make[1]: Leaving directory `/«BUILDDIR»/uswsusp-1.0+20120915'
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://www.warperbbs.de/stuff/buildlogs/uswsusp_1.0+20120915-4_amd64.build

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

Tags: ftbfs trusty

Related branches

Andreas Moog (ampelbein)
Changed in uswsusp (Ubuntu):
importance: Undecided → High
tags: added: ftbfs trusty
Changed in uswsusp (Debian):
importance: Undecided → Unknown
Revision history for this message
Rodolfo García Peñas (kix) (kix-i) wrote : Re: [Bug 1282222] [NEW] uswsusp: FTBFS: Can't locate Switch.pm in @INC
Download full text (8.3 KiB)

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:
>Public bug reported:
>
>Imported from Debian bug http://bugs.debian.org/739535:
>
>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/gcrypt.h:1417) [-Wdeprecated-declarations]
> ret = gcry_ac_data_new(&rsa_data_set);
> ^
>load.c:476:3: warning: 'gcry_ac_data_set' is deprecated (declared at
>/usr/include/gcrypt.h:1443) [-Wdeprecated-declarations]
> ret = gcry_ac_data_set(rsa_data_set, GCRY_AC_FLAG_COPY,
> ^
>load.c:485:3: warning: 'gcry_ac_key_init' is deprecated (declared at
>/usr/include/gcrypt.h:1501) [-Wdeprecated-declarations]
> ret = gcry_ac_key_init(&rsa_priv, rsa_hd,
> ^
>load.c:490:2: warning: 'gcry_ac_data_new' is deprecated (declared at
>/usr/include/gcrypt.h:1417) [-Wdeprecated-declarations]
> ret = gcry_ac_data_new(&key_set);
> ^
>load.c:496:2: warning: 'gcry_ac_data_set' is deprecated (declared at
>/usr/include/gcrypt.h:1443) [-Wdeprecated-declarations]
> ret = gcry_ac_data_set(key_set, GCRY_AC_FLAG_COPY, "a", mpi);
> ^
>load.c:501:2: warning: 'gcry_ac_data_decrypt' is deprecated (declared
>at /usr/include/gcrypt.h:1579) [-Wdeprecated-declarations]
> ret = gcry_ac_data_decrypt(rsa_hd, 0, rsa_priv, &mpi, key_set);
> ^
>load.c:518:2: warning: 'gcry_ac_data_destroy' is deprecated (declared
>at /usr/include/gcrypt.h:1421) [-Wdeprecated-declarations]
> gcry_ac_data_destroy(key_set);
> ^
>load.c:521:2: warning: 'gcry_ac_key_destroy' is deprecated (declared at
>/usr/include/gcrypt.h:1541) [-Wdeprecated-declarations]
> gcry_ac_key_destroy(rsa_priv);
> ^
>load.c:524:2: warning: 'gcry_ac_data_destroy' is deprecated (declared
>at /usr/include/gcrypt.h:1421) [-Wdeprecated-declarations]
> gcry_ac_data_destroy(rsa_data_set);
> ^
>load.c:535:2: warning: 'gcry_ac_close' is deprecated (declared at
>/usr/include/gcrypt.h:1497) [-Wdeprecated-declarations]
> gcry_ac_close(rsa_hd);
> ^
>gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -DS2RAM
>-D_LARGEFILE64_SOURCE -g -O2 -fstack-protector
>--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o
>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/lib/perl/5.18.2
>/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
>/usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at
>wlcsv2c.pl line 5.
>BEGIN failed--compilation aborted at wlcsv2c.pl line 5.
>make[3]: *** [whitelist.c] Error 2
>make[3]: Leaving directory `/«BUILDDIR»/uswsusp-1.0+20120915'
>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»/uswsusp-1.0+20120915'
>make[1]: Leaving directory `/«BUILDDIR»/uswsusp-1.0+2012...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uswsusp - 1.0+20120915-4ubuntu1

---------------
uswsusp (1.0+20120915-4ubuntu1) trusty; urgency=medium

  * Fix FTBFS: add libswitch-perl as Build-Depends (LP: #1282222)
 -- Leo Iannacone <email address hidden> Mon, 03 Mar 2014 15:31:40 +0100

Changed in uswsusp (Ubuntu):
status: New → Fix Released
Changed in uswsusp (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.