openwrt / openwrt/packages

perl: Your Makefile has been rebuilt for several perl packages

Open
#30,064 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

perl

Maintainer

Marcel Denia naoir@gmx.net, @pprindeville

OpenWrt Version

SNAPSHOT

OpenWrt Target/Subtarget

x86/64

Steps to Reproduce
  1. Enable perl in make menuconfig
  2. Compile OpenWrt with make -j9 V=s
  3. Notice it will failed at several perl packages
Actual Behaviour

several perl packages will failed to compile with the following error :

Generating a Unix-style Makefile
Writing Makefile for Device::SerialPort
Writing MYMETA.yml and MYMETA.json

You're ready to run 'make' now...
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make[4]: *** [Makefile:1017: Makefile] Error 1
make[4]: Leaving directory '/home/nameless/works/openwrt/build_dir/target-x86_64_glibc_nameless/perl/Device-SerialPort-1.04'
make[3]: *** [Makefile:70: /home/nameless/works/openwrt/build_dir/target-x86_64_glibc_nameless/perl/Device-SerialPort-1.04/.built] Error 2

What a weird thing is if I am compiling manually the failed perl package it will succeed, for example with command :

make package/perl-device-serialport/{clean,compile} -j9 V=s

@jw2013 , would you please take a look at this report.

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package/perl-device-serialport and reproduce the failure using make menuconfig followed by make -j9 V=s. Compare the full OpenWrt build with make package/perl-device-serialport/{clean,compile} -j9 V=s, focusing on the generated Makefile and the reported Device::SerialPort output. Done means the affected Perl packages compile successfully in the full build.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.