Skip Menu |

This queue is for tickets about the Guard CPAN distribution.

Report information
The Basics
Id: 105518
Status: rejected
Priority: 0/
Queue: Guard

People
Owner: Nobody in particular
Requestors: R.Wagler [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: https://rt.cpan.org/Public/Bug/Report.html?Queue=Guard - cpan Net::IMAP::Server fails in dlltool --def Guard.def --output-exp dll.exp > Fatal error: selected target format '' unknown dlltool: as exited with status 1
Date: Sat, 27 Jun 2015 02:57:04 +0200
To: <bug-Guard [...] rt.cpan.org>
From: "Robert Wagler" <R.Wagler [...] gmx.net>
cpan Net::IMAP::Server fails in dlltool --def Guard.def --output-exp dll.exp > Fatal error: selected target format '' unknown dlltool: as exited with status 1 Hello, I have to report a bug or compatibility issue. I got this email address from https://rt.cpan.org/Public/Bug/Report.html?Queue=Guard Maybe you can help to bring this issue to there finally target. Thanks :) --- I tried to install cpan Net::IMAP::Server which failed. - perl -V Summary of my perl5 (revision 5 version 18 subversion 4) configuration: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int ... I find out that cpan Guard failed with message E:\Programme\strawberry\c\bin>cpan Guard CPAN: CPAN::SQLite loaded ok (v0.204) Database was generated on Fri, 26 Jun 2015 19:23:59 GMT Running install for module 'Guard' CPAN: Digest::SHA loaded ok (v5.92) CPAN: Compress::Zlib loaded ok (v2.066) Checksum for E:\programme\strawberry\cpan\sources\authors\id\M\ML\MLEHMANN\Guard-1.023.tar.gz ok CPAN: Archive::Tar loaded ok (v2.04) CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.52) CPAN: Parse::CPAN::Meta loaded ok (v1.4414) CPAN: CPAN::Meta loaded ok (v2.142690) CPAN: Module::CoreList loaded ok (v5.20140920) Configuring M/ML/MLEHMANN/Guard-1.023.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Guard Writing MYMETA.yml and MYMETA.json MLEHMANN/Guard-1.023.tar.gz E:\programme\strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for M/ML/MLEHMANN/Guard-1.023.tar.gz cp Guard.pm blib\lib\Guard.pm Running Mkbootstrap for Guard () E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Guard.bs E:\programme\strawberry\perl\bin\perl.exe E:\programme\strawberry\perl\lib\ExtUtils\xsubpp -typemap E:\programme\strawberry\perl\lib\ExtUtils\typemap Guard.xs > Guard.xsc && E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- Guard.xsc Guard.c gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.023\" -DXS_VERSION=\"1.023\" "-IE:\programme\strawberry\perl\lib\CORE" Guard.c E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Guard\", 'DLBASE' => 'Guard', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Guard.def --output-exp dll.exp Assembler messages: Fatal error: selected target format '' unknown dlltool: as exited with status 1 Finally I had to change E:\Programme\strawberry\perl\lib\Config_heavy.pl -dlltool='dlltool' +dlltool='E:\Programme\strawberry\c\i686-w64-mingw32\bin\dlltool' Before this I found two files named dlltool.exe. - E:\Programme\strawberry\c\bin\dlltool.exe - E:\Programme\strawberry\c\i686-w64-mingw32\bin\dlltool.exe First looks like default (to PATH-Env-Variable). So I tried: E:\Programme\strawberry\c\bin>E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Guard\", 'DLBASE' => 'Guard', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" E:\Programme\strawberry\c\bin>dlltool --def Guard.def --output-exp dll.exp Assembler messages: Fatal error: selected target format '' unknown dlltool: as exited with status 1 E:\Programme\strawberry\c\bin>E:\Programme\strawberry\c\bin\dlltool.exe --def Guard.def --output-exp dll.exp Assembler messages: Fatal error: selected target format '' unknown E:\Programme\strawberry\c\bin\dlltool: E:\Programme\strawberry\c\bin\as exited with status 1 Second was a try, too: E:\Programme\strawberry\c\bin>cd E:\Programme\strawberry\c\i686-w64-mingw32\bin E:\Programme\strawberry\c\i686-w64-mingw32\bin>E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Guard\", 'DLBASE' => 'Guard', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" E:\Programme\strawberry\c\i686-w64-mingw32\bin>dlltool --def Guard.def --output-exp dll.exp Assembler messages: Fatal error: selected target format '' unknown dlltool: as exited with status 1 E:\Programme\strawberry\c\i686-w64-mingw32\bin>E:\Programme\strawberry\c\i686-w64-mingw32\bin\dlltool.exe --def Guard.def --output-exp dll.exp Last looks good, so I searched, found and changed E:\Programme\strawberry\perl\lib\Config_heavy.pl. I do not know what is right or wrong. Actually cpan Guard success, but cpan Net::IMAP::Server hangs. But this is maybe another problem. ... cp lib/Net/Server/Log/Sys/Syslog.pm blib\lib\Net\Server\Log\Sys\Syslog.pm cp lib/Net/Server/Log/Log/Log4perl.pm blib\lib\Net\Server\Log\Log\Log4perl.pm cp lib/Net/Server.pm blib\lib\Net\Server.pm cp lib/Net/Server/Single.pm blib\lib\Net\Server\Single.pm E:\programme\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/net-server blib\script\net-server pl2bat.bat blib\script\net-server RHANDOM/Net-Server-2.008.tar.gz E:\programme\strawberry\c\bin\dmake.exe -- OK Running make test E:\programme\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib' , 'blib\arch')" t/*.t t/Options.t ............... ok t/Port_Configuration.t .... # number of tests ran 35 did not match number of specified tests 51 t/Port_Configuration.t .... Failed 17/51 subtests t/Server_BASE.t ........... ok t/Server_Fork.t ........... ok t/Server_http.t ........... ok t/Server_INET.t ........... ok t/Server_Multiplex.t ...... ok t/Server_MultiType.t ...... ok t/Server_PreFork.t ........ 1/5 --- E:\Programme\imap_server\ex>perl -V Summary of my perl5 (revision 5 version 18 subversion 4) configuration: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int uname='Win32 strawberry-perl 5.18.4.1 #1 Thu Oct 2 12:10:29 2014 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-btfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.7.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"E:\programme\strawberry\perl\lib\CORE" -L"E:\programme\strawberry\c\lib"' libpth=E:\programme\strawberry\c\lib E:\programme\strawberry\c\i686-w64-mingw32\lib E:\programme\strawberry\c\lib\gcc\i686-w64-mingw32\4.7.3 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -linmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl518.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"E:\programme\strawberry\perl\lib\CORE" -L"E:\programme\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Oct 2 2014 12:19:54 @INC: E:/programme/strawberry/perl/site/lib E:/programme/strawberry/perl/vendor/lib E:/programme/strawberry/perl/lib . E:\Programme\imap_server\ex>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #105518] https://rt.cpan.org/Public/Bug/Report.html?Queue=Guard - cpan Net::IMAP::Server fails in dlltool --def Guard.def --output-exp dll.exp > Fatal error: selected target format '' unknown dlltool: as exited with status 1
Date: Sun, 28 Jun 2015 11:15:21 +0200
To: Robert Wagler via RT <bug-Guard [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Hi! Please send your bug report to the official contact/author address for the module in question (or send it to rt.cpan.org@schmorp.de, that's fine as well). What follows is the rationale for this request, you don't have to read it if you don't care. Why is this necessary? rt.cpan.org has many deficiencies which makes it tedious and hard to use, increasing the workload on the people who provide all the perl modules you probably appreciate (and that is really to be avoided - module authors should be able to invest all their time into improving their modules and not fighting with rt.cpan.org's bugs). Still, for some people, rt.cpan.org is useful to have, and some people even like it and really want to use it. That is fine, too. Unfortunately, the designers of rt.cpan.org didn't make their "service" optional - you can neither opt-in nor opt-out of rt.cpan.org as a module author. Just like a spammer, rt.cpan.org forces its "service" (whether wanted or unwanted) on everybody. Just like a spammer, they don't care for the people they actively hurt. Just like a spammer, they don't don't care to fix these issues and make their "service" ethically acceptable. You cannot even configure it to redirect tickets to somewhere else. Unfortunately, ignoring rt.cpan.org is not an option either: for people reporting possible bugs there is no indication that their report will be ignored, and for module authors it means they miss potentially vital bug reports such as yours (and of course it's a great impression if rt.cpan.org has lots of bug reports that are unanswered, making a module look unmaintained when in fact the opposite might be true). I am sorry that this wasted a bit of your time, but please understand that I am just as much a victim as you are - the problem is the unethical stance of the rt.cpan.org providers who force their "service" on everybody. Please redirect your bug report as stated in the beginning of this mail, and please consider petitioning the rt.cpan.org providers to stop their unethical behaviour and allow opt-in, opt-out, or some redirect option. One last issue: many people mail me that this can be "fixed" by including the bugtracker element in my module meta file. This is not true: 1. This field only affects search.cpan.org and maybe similar services. (Many people confuse rt.cpan.org with search.cpan.org for some reason). 2. It doesn't even work (there are still links to rt.cpan.org displayed). 3. Even if search.cpan.org does no longer display the link, it doesn't actually affect rt.cpan.org (and tests have shown that people go to rt.cpan.org regardless) Even *iff* rt.cpan.org would start listening on the bugtracker field, however, it's still wrong. I have a lot of modules, and each time a service like rt.cpan.org comes out, I would have to make dummy releases for all my modules. This not only creates a lot of extra work for me (I take releases very seriously) but also users, who would wonder why there is a new release. Thanks a lot, Marc Lehmann <rt.cpan.org@schmorp.de> Last updated: 2012-04-22