Opened 7 years ago

Closed 7 years ago

#55263 closed defect (wontfix)

Using a git repo port still looks for tarballs?

Reported by: gaming-hacker (G Alexander) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.2
Keywords: Cc:
Port:

Description

All,

I have cloned the entire macports portfile repo and make my own dev branch. In my sources.conf I have specified to use my local repo yet when I upgrade a custom portfile for flac, port still looks to download a tarball.

my portfile passed the port lint --nitpick

port -v lint --nitpick flac
--->  Verifying Portfile for flac
OK: Line 1 has emacs/vim Mode
OK: Found PortSystem 1.0
OK: Found PortGroup github-1.0
OK: Found PortGroup compiler_blacklist_versions-1.0
OK: Found required variable: name
OK: Found required variable: version
OK: Found required variable: description
OK: Found required variable: long_description
OK: Found required variable: categories
OK: Found required variable: maintainers
OK: Found required variable: platforms
OK: Found required variable: homepage
OK: master_sites not required for fetch.type git
OK: Found required variable: checksums
OK: Found required variable: license
OK: Found optional variable: epoch
OK: Found optional variable: revision
OK: Found platform: darwin
OK: Found primary category: audio
OK: Found variant xmms_plugin: Build xmms plugin
OK: Found variant universal: (pre-defined variant)
OK: Found dependency: git
OK: Found dependency: libiconv
OK: Found dependency: libogg
OK: Found dependency: libvorbis
OK: Found dependency: clang-5.0
OK: Portfile parent directory matches primary category
OK: Portfile directory matches port name
--->  0 errors and 0 warnings found.

I've removed all references to anything not html related.

-->  Fetching archive for flac
--->  Attempting to fetch flac-1.3.2_2.darwin_16.x86_64.tbz2 from https://packages.macports.org/flac
--->  Attempting to fetch flac-1.3.2_2.darwin_16.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/flac
--->  Attempting to fetch flac-1.3.2_2.darwin_16.x86_64.tbz2 from http://her.gr.packages.macports.org/flac
--->  Fetching distfiles for flac
--->  Verifying checksums for flac
--->  Extracting flac
--->  Configuring flac

The libs install without issue and have verified they work with ffmpeg.

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Keywords: git removed
Port: macports removed

Yes, MacPorts will try to download a precompiled binary of a port, even if your Portfile is modified. If you don't want precompiled binaries, configure MacPorts to always build from source. I don't think this is a bug.

comment:2 Changed 7 years ago by kencu (Ken)

to do that for all builds (tedious):

in /opt/local/etc/macports/macports.conf

put this line:

buildfromsource    		always

as a one-off (better idea probably)

sudo port -v -s install myport
Last edited 7 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.