Comment 1 for bug 1282222

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

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+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
>
>** Affects: uswsusp (Ubuntu)
> Importance: High
> Status: New
>
>** Affects: uswsusp (Debian)
> Importance: Undecided
> Status: New
>
>
>** Tags: ftbfs trusty
>
>** Bug watch added: Debian Bug tracker #739535
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739535
>
>** Changed in: uswsusp (Debian)
> Remote watch: None => Debian Bug tracker #739535
>
>** Changed in: uswsusp (Ubuntu)
> Importance: Undecided => High
>
>** Tags added: ftbfs trusty
>
>--
>You received this bug notification because you are subscribed to
>uswsusp
>in Ubuntu.
>https://bugs.launchpad.net/bugs/1282222
>
>Title:
> uswsusp: FTBFS: Can't locate Switch.pm in @INC
>
>Status in “uswsusp” package in Ubuntu:
> New
>Status in “uswsusp” package in Debian:
> New
>
>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
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/uswsusp/+bug/1282222/+subscriptions

--
Enviado desde mi teléfono con K-9 Mail.